Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crossplane/provider-template
/ functions
Functions
89 in github.com/crossplane/provider-template
⨍
Functions
89
◇
Types & classes
23
↓ 19 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:133
↓ 5 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/sample/v1alpha1/zz_generated.deepcopy.go:16
↓ 4 callers
Method
SetConditions
SetConditions of this ProviderConfig.
apis/v1alpha1/zz_generated.pc.go:42
↓ 1 callers
Function
AddToScheme
AddToScheme adds all Resources to the Scheme
apis/template.go:39
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyType.
apis/sample/v1alpha1/zz_generated.deepcopy.go:25
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyTypeList.
apis/sample/v1alpha1/zz_generated.deepcopy.go:57
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProviderConfig.
apis/v1alpha1/zz_generated.deepcopy.go:25
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProviderConfigList.
apis/v1alpha1/zz_generated.deepcopy.go:57
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProviderConfigUsage.
apis/v1alpha1/zz_generated.deepcopy.go:83
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProviderConfigUsageList.
apis/v1alpha1/zz_generated.deepcopy.go:115
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfig.
apis/v1alpha1/zz_generated.deepcopy.go:142
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigList.
apis/v1alpha1/zz_generated.deepcopy.go:174
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigUsage.
apis/v1alpha1/zz_generated.deepcopy.go:232
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigUsageList.
apis/v1alpha1/zz_generated.deepcopy.go:264
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/sample/v1alpha1/zz_generated.deepcopy.go:43
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/sample/v1alpha1/zz_generated.deepcopy.go:75
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/sample/v1alpha1/zz_generated.deepcopy.go:90
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/sample/v1alpha1/zz_generated.deepcopy.go:105
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/sample/v1alpha1/zz_generated.deepcopy.go:122
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:16
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:43
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:75
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:101
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:160
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:192
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:208
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:224
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:250
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/v1alpha1/zz_generated.deepcopy.go:282
↓ 1 callers
Method
GetCondition
GetCondition of this ProviderConfig.
apis/v1alpha1/zz_generated.pc.go:32
↓ 1 callers
Method
GetProviderConfigReference
GetProviderConfigReference of this MyType.
apis/sample/v1alpha1/zz_generated.managed.go:22
↓ 1 callers
Method
Observe
(ctx context.Context, cr *v1alpha1.MyType)
internal/controller/mytype/mytype.go:172
↓ 1 callers
Function
Setup
Setup adds a controller that reconciles MyType managed resources.
internal/controller/mytype/mytype.go:68
↓ 1 callers
Function
setupClusterProviderConfig
(mgr ctrl.Manager, o controller.Options)
internal/controller/config/config.go:60
↓ 1 callers
Function
setupNamespacedProviderConfig
(mgr ctrl.Manager, o controller.Options)
internal/controller/config/config.go:39
Method
Connect
Connect typically produces an ExternalClient by: 1. Tracking that the managed resource is using a ProviderConfig. 2. Getting the managed resource's Pr
internal/controller/mytype/mytype.go:125
Method
Create
(ctx context.Context, cr *v1alpha1.MyType)
internal/controller/mytype/mytype.go:220
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyTypeObservation.
apis/sample/v1alpha1/zz_generated.deepcopy.go:80
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyTypeParameters.
apis/sample/v1alpha1/zz_generated.deepcopy.go:95
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyTypeSpec.
apis/sample/v1alpha1/zz_generated.deepcopy.go:112
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyTypeStatus.
apis/sample/v1alpha1/zz_generated.deepcopy.go:129
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigSpec.
apis/v1alpha1/zz_generated.deepcopy.go:198
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigStatus.
apis/v1alpha1/zz_generated.deepcopy.go:214
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderCredentials.
apis/v1alpha1/zz_generated.deepcopy.go:288
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/sample/v1alpha1/zz_generated.deepcopy.go:35
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/sample/v1alpha1/zz_generated.deepcopy.go:67
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/v1alpha1/zz_generated.deepcopy.go:35
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/v1alpha1/zz_generated.deepcopy.go:67
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/v1alpha1/zz_generated.deepcopy.go:93
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/v1alpha1/zz_generated.deepcopy.go:125
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/v1alpha1/zz_generated.deepcopy.go:152
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/v1alpha1/zz_generated.deepcopy.go:184
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/v1alpha1/zz_generated.deepcopy.go:242
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
apis/v1alpha1/zz_generated.deepcopy.go:274
Method
Delete
(ctx context.Context, cr *v1alpha1.MyType)
internal/controller/mytype/mytype.go:249
Method
Disconnect
(ctx context.Context)
internal/controller/mytype/mytype.go:257
Method
GetCondition
GetCondition of this MyType.
apis/sample/v1alpha1/zz_generated.managed.go:12
Method
GetCondition
GetCondition of this ClusterProviderConfig.
apis/v1alpha1/zz_generated.pc.go:12
Method
GetItems
GetItems of this MyTypeList.
apis/sample/v1alpha1/zz_generated.managedlist.go:12
Method
GetItems
GetItems of this ClusterProviderConfigUsageList.
apis/v1alpha1/zz_generated.pculist.go:12
Method
GetItems
GetItems of this ProviderConfigUsageList.
apis/v1alpha1/zz_generated.pculist.go:21
Method
GetManagementPolicies
GetManagementPolicies of this MyType.
apis/sample/v1alpha1/zz_generated.managed.go:17
Method
GetProviderConfigReference
GetProviderConfigReference of this ClusterProviderConfigUsage.
apis/v1alpha1/zz_generated.pcu.go:12
Method
GetProviderConfigReference
GetProviderConfigReference of this ProviderConfigUsage.
apis/v1alpha1/zz_generated.pcu.go:32
Method
GetResourceReference
GetResourceReference of this ClusterProviderConfigUsage.
apis/v1alpha1/zz_generated.pcu.go:17
Method
GetResourceReference
GetResourceReference of this ProviderConfigUsage.
apis/v1alpha1/zz_generated.pcu.go:37
Method
GetUsers
GetUsers of this ClusterProviderConfig.
apis/v1alpha1/zz_generated.pc.go:17
Method
GetUsers
GetUsers of this ProviderConfig.
apis/v1alpha1/zz_generated.pc.go:37
Method
GetWriteConnectionSecretToReference
GetWriteConnectionSecretToReference of this MyType.
apis/sample/v1alpha1/zz_generated.managed.go:27
Method
SetConditions
SetConditions of this MyType.
apis/sample/v1alpha1/zz_generated.managed.go:32
Method
SetConditions
SetConditions of this ClusterProviderConfig.
apis/v1alpha1/zz_generated.pc.go:22
Method
SetManagementPolicies
SetManagementPolicies of this MyType.
apis/sample/v1alpha1/zz_generated.managed.go:37
Method
SetProviderConfigReference
SetProviderConfigReference of this MyType.
apis/sample/v1alpha1/zz_generated.managed.go:42
Method
SetProviderConfigReference
SetProviderConfigReference of this ClusterProviderConfigUsage.
apis/v1alpha1/zz_generated.pcu.go:22
Method
SetProviderConfigReference
SetProviderConfigReference of this ProviderConfigUsage.
apis/v1alpha1/zz_generated.pcu.go:42
Method
SetResourceReference
SetResourceReference of this ClusterProviderConfigUsage.
apis/v1alpha1/zz_generated.pcu.go:27
Method
SetResourceReference
SetResourceReference of this ProviderConfigUsage.
apis/v1alpha1/zz_generated.pcu.go:47
Method
SetUsers
SetUsers of this ClusterProviderConfig.
apis/v1alpha1/zz_generated.pc.go:27
Method
SetUsers
SetUsers of this ProviderConfig.
apis/v1alpha1/zz_generated.pc.go:47
Method
SetWriteConnectionSecretToReference
SetWriteConnectionSecretToReference of this MyType.
apis/sample/v1alpha1/zz_generated.managed.go:47
Function
Setup
Setup adds a controller that reconciles ProviderConfigs by accounting for their current usage.
internal/controller/config/config.go:32
Function
SetupGated
SetupGated creates all Template controllers with safe-start support and adds them to the supplied manager.
internal/controller/register.go:29
Function
SetupGated
SetupGated adds a controller that reconciles MyType managed resources with safe-start support.
internal/controller/mytype/mytype.go:58
Function
TestObserve
Unlike many Kubernetes projects Crossplane does not use third party testing libraries, per the common Go test review comments. Crossplane encourages t
internal/controller/mytype/mytype_test.go:39
Method
Update
(ctx context.Context, cr *v1alpha1.MyType)
internal/controller/mytype/mytype.go:236
Function
init
()
apis/template.go:27
Function
init
()
apis/sample/v1alpha1/mytype_types.go:86
Function
init
()
apis/v1alpha1/register.go:56
Function
main
()
cmd/provider/main.go:52