Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "kcp-crdcleanup" DefaultIdentitySecretNamespace = "kcp-system" AgeThreshold time.Duration = time.Minute * 30 )
Variables ¶
This section is empty.
Functions ¶
func InstallIndexers ¶ added in v0.25.0
func InstallIndexers(apiBindingInformer apisv1alpha1informers.APIBindingClusterInformer)
InstallIndexers adds the additional indexers that this controller requires to the informers.
func NewController ¶
func NewController( crdInformer kcpapiextensionsv1informers.CustomResourceDefinitionClusterInformer, crdClusterClient kcpapiextensionsclientset.ClusterInterface, apiBindingInformer apisv1alpha1informers.APIBindingClusterInformer, ) (*controller, error)
NewController returns a new controller for CRD cleanup.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.