Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager, params Params) error
- type Params
- type ReconcileCertificate
- func (r *ReconcileCertificate) Cleanup(certificate *awsv1beta1.Certificate, retention int) error
- func (r *ReconcileCertificate) Reconcile(request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileCertificate) Sync(certificate *awsv1beta1.Certificate) (awsv1beta1.CertificateStatus, error)
- func (r *ReconcileCertificate) SyncStatus(certificate *awsv1beta1.Certificate, status awsv1beta1.CertificateStatus) error
Constants ¶
View Source
const ( // ControllerName is used to identify this controller. ControllerName = "certificate-controller" // LabelCertificate for creating and querying certificates. LabelCertificate = "certificate" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcileCertificate ¶
ReconcileCertificate reconciles a Certificate object
func (*ReconcileCertificate) Cleanup ¶ added in v0.3.2
func (r *ReconcileCertificate) Cleanup(certificate *awsv1beta1.Certificate, retention int) error
Cleanup old Requests which are not issued.
func (*ReconcileCertificate) Reconcile ¶
Reconcile reads that state of the cluster for a Certificate object and makes changes based on the state read and what is in the Certificate.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=aws.skpr.io,resources=certificate,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=aws.skpr.io,resources=certificaterequests,verbs=get;list;watch;create;update;patch;delete
func (*ReconcileCertificate) Sync ¶ added in v0.3.2
func (r *ReconcileCertificate) Sync(certificate *awsv1beta1.Certificate) (awsv1beta1.CertificateStatus, error)
Sync will create and/or return an existing CertificateRequest.
func (*ReconcileCertificate) SyncStatus ¶ added in v0.3.2
func (r *ReconcileCertificate) SyncStatus(certificate *awsv1beta1.Certificate, status awsv1beta1.CertificateStatus) error
SyncStatus back to Certificate.
Click to show internal directories.
Click to hide internal directories.