Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ControllerName is the name of the certificate readiness controller. ControllerName = "certificates-readiness" // ReadyReason is the 'Ready' reason of a Certificate. ReadyReason = "Ready" )
Variables ¶
This section is empty.
Functions ¶
func BuildReadyConditionFromChain ¶
func BuildReadyConditionFromChain(chain policies.Chain, input policies.Input) cmapi.CertificateCondition
BuildReadyConditionFromChain builds Certificate's Ready condition using the result of policy chain evaluation
func NewController ¶
func NewController( log logr.Logger, ctx *controllerpkg.Context, chain policies.Chain, renewalTimeCalculator pki.RenewalTimeFunc, policyEvaluator policyEvaluatorFunc, ) (*controller, workqueue.TypedRateLimitingInterface[types.NamespacedName], []cache.InformerSynced, error)
NewController returns a new certificate readiness controller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.