Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL