Documentation
¶
Index ¶
- func Setup(mgr ctrl.Manager, o common.ControllerOptions) error
- func SetupCluster(mgr ctrl.Manager, o common.ControllerOptions) error
- func SetupClusterGated(mgr ctrl.Manager, o common.ControllerOptions) error
- func SetupGated(mgr ctrl.Manager, o common.ControllerOptions) error
- func SetupNamespaced(mgr ctrl.Manager, o common.ControllerOptions) error
- func SetupNamespacedGated(mgr ctrl.Manager, o common.ControllerOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup(mgr ctrl.Manager, o common.ControllerOptions) error
Setup creates all Gitlab API controllers with the supplied logger and adds them to the supplied manager.
func SetupCluster ¶
func SetupCluster(mgr ctrl.Manager, o common.ControllerOptions) error
SetupCluster adds a controller that reconciles ClusterProviderConfigs by accounting for their current usage.
func SetupClusterGated ¶
func SetupClusterGated(mgr ctrl.Manager, o common.ControllerOptions) error
func SetupGated ¶
func SetupGated(mgr ctrl.Manager, o common.ControllerOptions) error
SetupGated creates all Gitlab API controllers with the supplied logger and adds them to the supplied manager with CRD gate support for SafeStart.
func SetupNamespaced ¶
func SetupNamespaced(mgr ctrl.Manager, o common.ControllerOptions) error
Setup adds a controller that reconciles ProviderConfigs by accounting for their current usage. +cluster-scope:delete=11
The reconciler reads and writes the ProviderConfig in its storage version (pcstorage). Round-tripping it through the served-but-deprecated v1beta1 rewrites spec fields that v1beta2 does not have, so every finalizer update bumps metadata.generation, which retriggers the watch in a hot loop.
ProviderConfigUsage exists only in namespaced v1beta1: v1beta2 did not fork Usage or ClusterProviderConfig, so usage accounting stays on v1beta1. When v1beta1 is eventually removed, the Usage references must move to the then-current version, otherwise the gate never fires and this controller silently never starts.
func SetupNamespacedGated ¶
func SetupNamespacedGated(mgr ctrl.Manager, o common.ControllerOptions) error
Types ¶
This section is empty.