- type ExtractorFunc
- type Func
- type Funcs
type ExtractorFunc ¶
An ExtractorFunc applies a transformation to a runtime.Object and creates a predicate function based on the result of the transformation. This can be used to apply complex lookup logic to determine which resources should be enqueued if another resource being watched changes, for example, enqueuing all Certificate resources that own a CertificateRequest that has been observed, or enqueuing all Certificate resources that specify `status.nextPrivateKeySecretName` as the name of the Secret being processed.
Func is a generic function used to filter various types of resources.
CertificateSecretName returns a predicate that used to filter Certificates to only those with the given 'status.nextPrivateKeySecretName'. It is not possible to select Certificates with a 'nil' secret name using this predicate function.
CertificateRequestRevision returns a predicate that used to filter CertificateRequest to only those with a given 'revision' number.
func CertificateSecretName ¶
CertificateSecretName returns a predicate that used to filter Certificates to only those with the given 'spec.secretName'.
func ResourceOwnedBy ¶
ResourceOwnedBy will filter returned results to only those with the given resource as an owner.