Documentation ¶
Index ¶
- type Adder
- func (a *Adder) Add(mgr manager.Manager) error
- func (a *Adder) InjectControllerSwitch(cs *watch.ControllerSwitch)
- func (a *Adder) InjectMutationSystem(mutationSystem *mutation.System)
- func (a *Adder) InjectOpa(o *constraintclient.Client)
- func (a *Adder) InjectProcessExcluder(m *process.Excluder)
- func (a *Adder) InjectProviderCache(providerCache *externaldata.ProviderCache)
- func (a *Adder) InjectTracker(t *readiness.Tracker)
- func (a *Adder) InjectWatchManager(wm *watch.Manager)
- func (a *Adder) InjectWatchSet(watchSet *watch.Set)
- type ReconcileConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adder ¶
type Adder struct { Opa *constraintclient.Client WatchManager *watch.Manager ControllerSwitch *watch.ControllerSwitch Tracker *readiness.Tracker ProcessExcluder *process.Excluder WatchSet *watch.Set }
func (*Adder) Add ¶
Add creates a new ConfigController and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func (*Adder) InjectControllerSwitch ¶
func (a *Adder) InjectControllerSwitch(cs *watch.ControllerSwitch)
func (*Adder) InjectMutationSystem ¶
func (*Adder) InjectOpa ¶
func (a *Adder) InjectOpa(o *constraintclient.Client)
func (*Adder) InjectProcessExcluder ¶
func (*Adder) InjectProviderCache ¶
func (a *Adder) InjectProviderCache(providerCache *externaldata.ProviderCache)
func (*Adder) InjectTracker ¶
func (*Adder) InjectWatchManager ¶
func (*Adder) InjectWatchSet ¶
type ReconcileConfig ¶
type ReconcileConfig struct {
// contains filtered or unexported fields
}
ReconcileConfig reconciles a Config object.
func (*ReconcileConfig) Reconcile ¶
func (r *ReconcileConfig) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a Config object and makes changes based on the state read and what is in the Config.Spec Automatically generate RBAC rules to allow the Controller to read all things (for sync) update is needed for finalizers.
Click to show internal directories.
Click to hide internal directories.