File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 9191```
9292
9393[ Crossplane ] : https://crossplane.io
94- [ `resource.Managed` ] : https://godoc.org/github.com/crossplane/crossplane-runtime/pkg/resource#Managed
95- [ `ResourceSpec` ] : https://godoc.org/github.com/crossplane/crossplane-runtime/apis/common/v1#ResourceSpec
96- [ `ResourceStatus` ] : https://godoc.org/github.com/crossplane/crossplane-runtime/apis/common/v1#ResourceStatus
94+ [ `resource.Managed` ] : https://godoc.org/github.com/crossplane/crossplane-runtime/v2/ pkg/resource#Managed
95+ [ `ResourceSpec` ] : https://godoc.org/github.com/crossplane/crossplane-runtime/v2/ apis/common/v1#ResourceSpec
96+ [ `ResourceStatus` ] : https://godoc.org/github.com/crossplane/crossplane-runtime/v2/ apis/common/v1#ResourceStatus
9797[ Provider Development Guide ] : https://github.com/crossplane/crossplane/blob/master/contributing/guide-provider-development.md#defining-resource-kinds
Original file line number Diff line number Diff line change @@ -51,13 +51,13 @@ const (
5151 ClientImport = "sigs.k8s.io/controller-runtime/pkg/client"
5252
5353 RuntimeAlias = "xpv1"
54- RuntimeImport = "github.com/crossplane/crossplane-runtime/apis/common/v1"
54+ RuntimeImport = "github.com/crossplane/crossplane-runtime/v2/ apis/common/v1"
5555
5656 ResourceAlias = "resource"
57- ResourceImport = "github.com/crossplane/crossplane-runtime/pkg/resource"
57+ ResourceImport = "github.com/crossplane/crossplane-runtime/v2/ pkg/resource"
5858
5959 ReferenceAlias = "reference"
60- ReferenceImport = "github.com/crossplane/crossplane-runtime/pkg/reference"
60+ ReferenceImport = "github.com/crossplane/crossplane-runtime/v2/ pkg/reference"
6161)
6262
6363func main () {
Original file line number Diff line number Diff line change @@ -49,14 +49,14 @@ const (
4949 TypeSuffixSpec = NameSpec
5050 TypeSuffixSpecTemplate = NameSpecTemplate
5151 TypeSuffixStatus = NameStatus
52- TypeSuffixResourceSpec = "github.com/crossplane/crossplane-runtime/apis/common/v1.ResourceSpec"
53- TypeSuffixResourceStatus = "github.com/crossplane/crossplane-runtime/apis/common/v1.ResourceStatus"
54- TypeSuffixProviderConfigSpec = "github.com/crossplane/crossplane-runtime/apis/common/v1.ProviderConfigSpec"
55- TypeSuffixProviderConfigStatus = "github.com/crossplane/crossplane-runtime/apis/common/v1.ProviderConfigStatus"
56- TypeSuffixProviderConfigUsage = "github.com/crossplane/crossplane-runtime/apis/common/v1.ProviderConfigUsage"
57-
58- TypeSuffixProviderConfigUsageV2 = "github.com/crossplane/crossplane-runtime/apis/common/v2.TypedProviderConfigUsage"
59- TypeSuffixResourceV2Spec = "github.com/crossplane/crossplane-runtime/apis/common/v2.ManagedResourceSpec"
52+ TypeSuffixResourceSpec = "github.com/crossplane/crossplane-runtime/v2/ apis/common/v1.ResourceSpec"
53+ TypeSuffixResourceStatus = "github.com/crossplane/crossplane-runtime/v2/ apis/common/v1.ResourceStatus"
54+ TypeSuffixProviderConfigSpec = "github.com/crossplane/crossplane-runtime/v2/ apis/common/v1.ProviderConfigSpec"
55+ TypeSuffixProviderConfigStatus = "github.com/crossplane/crossplane-runtime/v2/ apis/common/v1.ProviderConfigStatus"
56+ TypeSuffixProviderConfigUsage = "github.com/crossplane/crossplane-runtime/v2/ apis/common/v1.ProviderConfigUsage"
57+
58+ TypeSuffixProviderConfigUsageV2 = "github.com/crossplane/crossplane-runtime/v2/ apis/common/v2.TypedProviderConfigUsage"
59+ TypeSuffixResourceV2Spec = "github.com/crossplane/crossplane-runtime/v2/ apis/common/v2.ManagedResourceSpec"
6060)
6161
6262func matches (s * types.Struct , m Matcher ) bool {
You can’t perform that action at this time.
0 commit comments