Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type DynamicCRDController ¶
type DynamicCRDController struct { Log logr.Logger Manager ctrl.Manager CacheSyncTimeout time.Duration Controller Controller RequiredCRDs []schema.GroupVersionResource // contains filtered or unexported fields }
DynamicCRDController ensures that RequiredCRDs are installed in the cluster and only then sets up its Controller that depends on them. In case the CRDs are not installed at start-up time, DynamicCRDController will set up a watch for CustomResourceDefinition and will dynamically set up its Controller once it detects that all RequiredCRDs are already in place.
func (*DynamicCRDController) SetLogger ¶ added in v2.12.0
func (r *DynamicCRDController) SetLogger(logger logr.Logger)
func (*DynamicCRDController) SetupWithManager ¶
func (r *DynamicCRDController) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.