config

package
v3.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adder

type Adder struct {
	ControllerSwitch *watch.ControllerSwitch
	Tracker          *readiness.Tracker
	CacheManager     *cm.CacheManager
}

func (*Adder) Add

func (a *Adder) Add(mgr manager.Manager) error

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) InjectCacheManager added in v3.14.0

func (a *Adder) InjectCacheManager(cm *cm.CacheManager)

func (*Adder) InjectControllerSwitch

func (a *Adder) InjectControllerSwitch(cs *watch.ControllerSwitch)

func (*Adder) InjectTracker

func (a *Adder) InjectTracker(t *readiness.Tracker)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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