controller

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchAnySecretOfTypeFilter added in v0.4.0

func MatchAnySecretOfTypeFilter(secretType corev1.SecretType, parentFunc controllerlib.ParentFunc, namespaces ...string) controllerlib.Filter

func MatchAnySecretOfTypesFilter added in v0.33.0

func MatchAnySecretOfTypesFilter(secretTypes []corev1.SecretType, parentFunc controllerlib.ParentFunc, namespaces ...string) controllerlib.Filter

func MatchAnythingFilter added in v0.2.0

func MatchAnythingFilter(parentFunc controllerlib.ParentFunc) controllerlib.Filter

MatchAnythingFilter returns a controllerlib.Filter that allows all objects.

func MatchAnythingIgnoringUpdatesFilter added in v0.26.0

func MatchAnythingIgnoringUpdatesFilter(parentFunc controllerlib.ParentFunc) controllerlib.Filter

MatchAnythingIgnoringUpdatesFilter returns a controllerlib.Filter that allows all objects but ignores updates.

func NameAndNamespaceExactMatchFilterFactory

func NameAndNamespaceExactMatchFilterFactory(name, namespace string) controllerlib.Filter

func SecretIsControlledByParentFunc added in v0.4.0

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 added in v0.3.0

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 added in v0.3.0

func SingletonQueue() controllerlib.ParentFunc

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

func TruncateMostLongErr added in v0.30.0

func TruncateMostLongErr(err error) string

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.
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.
activedirectoryupstreamwatcher
Package activedirectoryupstreamwatcher implements a controller which watches ActiveDirectoryIdentityProviders.
Package activedirectoryupstreamwatcher implements a controller which watches ActiveDirectoryIdentityProviders.
generator
Package generator provides a supervisorSecretsController that can ensure existence of a generated secret.
Package generator provides a supervisorSecretsController that can ensure existence of a generated secret.
githubupstreamwatcher
Package githubupstreamwatcher implements a controller which watches GitHubIdentityProviders.
Package githubupstreamwatcher implements a controller which watches GitHubIdentityProviders.
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
y or Y : Canonical URL