Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PuppetCAIssuerHasCondition ¶
func PuppetCAIssuerHasCondition(iss api.PuppetCAIssuer, c api.PuppetCAIssuerCondition) bool
PuppetCAIssuerHasCondition will return true if the given PuppetCAIssuer resource has a condition matching the provided PuppetCAIssuerCondition. Only the Type and Status field will be used in the comparison, meaning that this function will return 'true' even if the Reason, Message and LastTransitionTime fields do not match.
Types ¶
type CertificateReconciler ¶
CertificateReconciler reconciles a PuppetCAIssuer object.
func (*CertificateReconciler) Reconcile ¶
Reconcile will read and validate a Certificate resource and manage the finalizer to delete it on the Puppet CA
func (*CertificateReconciler) SetupWithManager ¶
func (r *CertificateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager initializes the Certificate controller into the controller runtime.
type CertificateRequestReconciler ¶
type CertificateRequestReconciler struct { client.Client Log logr.Logger Recorder record.EventRecorder }
CertificateRequestReconciler reconciles a PuppetCAIssuer object.
func (*CertificateRequestReconciler) Reconcile ¶
Reconcile will read and validate a PuppetCAIssuer resource associated to the CertificateRequest resource, and it will sign the CertificateRequest with the provisioner in the PuppetCAIssuer.
func (*CertificateRequestReconciler) SetupWithManager ¶
func (r *CertificateRequestReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager initializes the CertificateRequest controller into the controller runtime.
type PuppetCAIssuerReconciler ¶
type PuppetCAIssuerReconciler struct { client.Client Log logr.Logger Clock clock.Clock Recorder record.EventRecorder }
PuppetCAIssuerReconciler reconciles a PuppetCAIssuer object
func (*PuppetCAIssuerReconciler) SetupWithManager ¶
func (r *PuppetCAIssuerReconciler) SetupWithManager(mgr ctrl.Manager) error
type PuppetCAStatusReconciler ¶
type PuppetCAStatusReconciler struct { *PuppetCAIssuerReconciler // contains filtered or unexported fields }
func (*PuppetCAStatusReconciler) Update ¶
func (r *PuppetCAStatusReconciler) Update(ctx context.Context, status api.ConditionStatus, reason, message string, args ...interface{}) error
func (*PuppetCAStatusReconciler) UpdateNoError ¶
func (r *PuppetCAStatusReconciler) UpdateNoError(ctx context.Context, status api.ConditionStatus, reason, message string, args ...interface{})