Skip to content

Commit

Permalink
fix: repo location
Browse files Browse the repository at this point in the history
  • Loading branch information
tenstad authored and mariatsji committed Nov 20, 2024
1 parent 031eb4c commit 35536aa
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/crossplane/provider-template
local-prefixes: github.com/statnett/provider-cloudian

gocyclo:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ====================================================================================
# Setup Project
PROJECT_NAME := provider-template
PROJECT_REPO := github.com/crossplane/$(PROJECT_NAME)
PROJECT_NAME := provider-cloudian
PROJECT_REPO := github.com/statnett/$(PROJECT_NAME)

PLATFORMS ?= linux_amd64 linux_arm64
-include build/makelib/common.mk
Expand Down
4 changes: 2 additions & 2 deletions apis/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ package apis
import (
"k8s.io/apimachinery/pkg/runtime"

samplev1alpha1 "github.com/crossplane/provider-template/apis/sample/v1alpha1"
templatev1alpha1 "github.com/crossplane/provider-template/apis/v1alpha1"
samplev1alpha1 "github.com/statnett/provider-cloudian/apis/sample/v1alpha1"
templatev1alpha1 "github.com/statnett/provider-cloudian/apis/v1alpha1"
)

func init() {
Expand Down
8 changes: 4 additions & 4 deletions cmd/provider/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/ratelimiter"
"github.com/crossplane/crossplane-runtime/pkg/resource"

"github.com/crossplane/provider-template/apis"
"github.com/crossplane/provider-template/apis/v1alpha1"
template "github.com/crossplane/provider-template/internal/controller"
"github.com/crossplane/provider-template/internal/features"
"github.com/statnett/provider-cloudian/apis"
"github.com/statnett/provider-cloudian/apis/v1alpha1"
template "github.com/statnett/provider-cloudian/internal/controller"
"github.com/statnett/provider-cloudian/internal/features"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/crossplane/provider-template
module github.com/statnett/provider-cloudian

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion internal/controller/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/resource"
ctrl "sigs.k8s.io/controller-runtime"

"github.com/crossplane/provider-template/apis/v1alpha1"
"github.com/statnett/provider-cloudian/apis/v1alpha1"
)

// Setup adds a controller that reconciles ProviderConfigs by accounting for
Expand Down
6 changes: 3 additions & 3 deletions internal/controller/mytype/mytype.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/reconciler/managed"
"github.com/crossplane/crossplane-runtime/pkg/resource"

"github.com/crossplane/provider-template/apis/sample/v1alpha1"
apisv1alpha1 "github.com/crossplane/provider-template/apis/v1alpha1"
"github.com/crossplane/provider-template/internal/features"
"github.com/statnett/provider-cloudian/apis/sample/v1alpha1"
apisv1alpha1 "github.com/statnett/provider-cloudian/apis/v1alpha1"
"github.com/statnett/provider-cloudian/internal/features"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions internal/controller/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"github.com/crossplane/crossplane-runtime/pkg/controller"
ctrl "sigs.k8s.io/controller-runtime"

"github.com/crossplane/provider-template/internal/controller/config"
"github.com/crossplane/provider-template/internal/controller/mytype"
"github.com/statnett/provider-cloudian/internal/controller/config"
"github.com/statnett/provider-cloudian/internal/controller/mytype"
)

// Setup creates all Template controllers with the supplied logger and adds them to
Expand Down
2 changes: 1 addition & 1 deletion package/crossplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: provider-template
annotations:
meta.crossplane.io/maintainer: Crossplane Maintainers <[email protected]>
meta.crossplane.io/source: github.com/crossplane/provider-template
meta.crossplane.io/source: github.com/statnett/provider-cloudian
meta.crossplane.io/license: Apache-2.0
meta.crossplane.io/description: |
A template that can be used to create Crossplane providers.

0 comments on commit 35536aa

Please sign in to comment.