Documentation ¶
Index ¶
- func CurrentCertificateHasExpired(input Input) (string, string, bool)
- func CurrentCertificateRequestValidForSpec(input Input) (string, string, bool)
- func SecretDoesNotExist(input Input) (string, string, bool)
- func SecretHasData(input Input) (string, string, bool)
- func SecretHasUpToDateIssuerAnnotations(input Input) (string, string, bool)
- func SecretPrivateKeyMatchesSpec(input Input) (string, string, bool)
- func SecretPublicKeysMatch(input Input) (string, string, bool)
- type Chain
- type Func
- type Gatherer
- type Input
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentCertificateHasExpired ¶
CurrentCertificateHasExpired is used exclusively to check if the current issued certificate has actually expired rather than just nearing expiry.
Types ¶
type Chain ¶
type Chain []Func
A chain of PolicyFuncs to be evaluated in order.
func NewTriggerPolicyChain ¶
type Func ¶
A Func evaluates the given input data and decides whether a re-issuance is required, returning additional human readable information in the 'reason' and 'message' return parameters if so.
type Gatherer ¶
type Gatherer struct { CertificateRequestLister cmlisters.CertificateRequestLister SecretLister corelisters.SecretLister }
Gatherer is used to gather data about a Certificate in order to evaluate its current readiness/state by applying policy functions to it.
func (*Gatherer) DataForCertificate ¶
type Input ¶
type Input struct { Certificate *cmapi.Certificate CurrentRevisionRequest *cmapi.CertificateRequest Secret *corev1.Secret }
Click to show internal directories.
Click to hide internal directories.