controller

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchAnySecretOfTypeFilter

func MatchAnySecretOfTypeFilter(secretType v1.SecretType, parentFunc controllerlib.ParentFunc) controllerlib.Filter

func MatchAnythingFilter

func MatchAnythingFilter(parentFunc controllerlib.ParentFunc) controllerlib.Filter

MatchAnythingFilter returns a controllerlib.Filter that allows all objects.

func NameAndNamespaceExactMatchFilterFactory

func NameAndNamespaceExactMatchFilterFactory(name, namespace string) controllerlib.Filter

func SecretIsControlledByParentFunc

func SecretIsControlledByParentFunc(matchFunc func(obj metav1.Object) bool) func(obj metav1.Object) controllerlib.Key

func SimpleFilter

func SimpleFilter(match func(metav1.Object) bool, parentFunc controllerlib.ParentFunc) controllerlib.Filter

SimpleFilter takes a single boolean match function on a metav1.Object and wraps it into a proper controllerlib.Filter.

func SimpleFilterWithSingletonQueue

func SimpleFilterWithSingletonQueue(match func(metav1.Object) bool) controllerlib.Filter

SimpleFilterWithSingletonQueue returns a Filter based on the given match function that treats all events as the same key.

func SingletonQueue

func SingletonQueue() controllerlib.ParentFunc

SingletonQueue returns a parent func that treats all events as the same key.

Types

type WithInformerOptionFunc

type WithInformerOptionFunc func(
	getter controllerlib.InformerGetter,
	filter controllerlib.Filter,
	opt controllerlib.InformerOption) controllerlib.Option

Same signature as controllerlib.WithInformer().

type WithInitialEventOptionFunc

type WithInitialEventOptionFunc func(key controllerlib.Key) controllerlib.Option

Same signature as controllerlib.WithInitialEvent().

Directories

Path Synopsis
Package apicerts contains controllers that work together to provide rotating API certs.
Package apicerts contains controllers that work together to provide rotating API certs.
Package authenticator contains helper code for dealing with *Authenticator CRDs.
Package authenticator contains helper code for dealing with *Authenticator CRDs.
Package issuerconfig contains helpers for updating CredentialIssuer status entries.
Package issuerconfig contains helpers for updating CredentialIssuer status entries.
Package kubecertagent provides controllers that ensure a pod (the kube-cert-agent), is co-located with the Kubernetes controller manager so that Pinniped can access its signing keys.
Package kubecertagent provides controllers that ensure a pod (the kube-cert-agent), is co-located with the Kubernetes controller manager so that Pinniped can access its signing keys.

Jump to

Keyboard shortcuts

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