controllers

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LabelSelectorPredicate added in v0.6.0

func LabelSelectorPredicate(selector labels.Selector) predicate.Funcs

func ToLabelSelector added in v0.6.0

func ToLabelSelector(s string) labels.Selector

func Watched added in v0.6.0

func Watched(object WatchedObject, selector labels.Selector) bool

Types

type AuthConfigReconciler added in v0.4.0

type AuthConfigReconciler struct {
	client.Client
	Logger        logr.Logger
	Scheme        *runtime.Scheme
	Cache         cache.Cache
	LabelSelector labels.Selector
	Namespace     string
}

AuthConfigReconciler reconciles an AuthConfig object

func (*AuthConfigReconciler) ClusterWide added in v0.8.0

func (r *AuthConfigReconciler) ClusterWide() bool

func (*AuthConfigReconciler) Reconcile added in v0.4.0

func (r *AuthConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AuthConfigReconciler) SetupWithManager added in v0.4.0

func (r *AuthConfigReconciler) SetupWithManager(mgr ctrl.Manager) error

type AuthConfigStatusUpdater added in v0.4.0

type AuthConfigStatusUpdater struct {
	client.Client
	Logger        logr.Logger
	Cache         cache.Cache
	LabelSelector labels.Selector
}

AuthConfigStatusUpdater updates the status of a newly reconciled auth config

func (*AuthConfigStatusUpdater) Reconcile added in v0.4.0

func (u *AuthConfigStatusUpdater) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AuthConfigStatusUpdater) SetupWithManager added in v0.4.0

func (u *AuthConfigStatusUpdater) SetupWithManager(mgr ctrl.Manager) error

type SecretReconciler

type SecretReconciler struct {
	client.Client
	Logger        logr.Logger
	Scheme        *runtime.Scheme
	Cache         cache.Cache
	LabelSelector labels.Selector
	Namespace     string
}

SecretReconciler reconciles k8s Secret objects

func (*SecretReconciler) ClusterWide added in v0.8.0

func (r *SecretReconciler) ClusterWide() bool

func (*SecretReconciler) Reconcile

func (r *SecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*SecretReconciler) SetupWithManager

func (r *SecretReconciler) SetupWithManager(mgr ctrl.Manager) error

type WatchedObject added in v0.6.0

type WatchedObject interface {
	GetLabels() map[string]string
}

Directories

Path Synopsis
mocks
Package mock_builder is a generated GoMock package.
Package mock_builder is a generated GoMock package.
Package mock_controllers is a generated GoMock package.
Package mock_controllers is a generated GoMock package.
controller-runtime/client
Package mock_client is a generated GoMock package.
Package mock_client is a generated GoMock package.

Jump to

Keyboard shortcuts

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