controller

package
Version: v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 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().

Source Files

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.
authncache
Package authncache implements a cache of active authenticators.
Package authncache implements a cache of active authenticators.
cachecleaner
Package cachecleaner implements a controller for garbage collecting authenticators from an authenticator cache.
Package cachecleaner implements a controller for garbage collecting authenticators from an authenticator cache.
jwtcachefiller
Package jwtcachefiller implements a controller for filling an authncache.Cache with each added/updated JWTAuthenticator.
Package jwtcachefiller implements a controller for filling an authncache.Cache with each added/updated JWTAuthenticator.
webhookcachefiller
Package webhookcachefiller implements a controller for filling an authncache.Cache with each added/updated WebhookAuthenticator.
Package webhookcachefiller implements a controller for filling an authncache.Cache with each added/updated WebhookAuthenticator.
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.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
generator
Package secretgenerator provides a supervisorSecretsController that can ensure existence of a generated secret.
Package secretgenerator provides a supervisorSecretsController that can ensure existence of a generated secret.
ldapupstreamwatcher
Package ldapupstreamwatcher implements a controller which watches LDAPIdentityProviders.
Package ldapupstreamwatcher implements a controller which watches LDAPIdentityProviders.
oidcupstreamwatcher
Package oidcupstreamwatcher implements a controller which watches OIDCIdentityProviders.
Package oidcupstreamwatcher implements a controller which watches OIDCIdentityProviders.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to