controller

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionError                         = "Error"
	ConditionPostToCertAPIFailed           = "PostToCertAPIFailed"
	ConditionDownloadCertFromCertAPIFailed = "DownloadCertFromCertAPIFailed"
	ConditionGetCertDataFromCertAPIFailed  = "GetCertDataFromCertAPIFailed"
	ConditionUpdateStatusFailed            = "StatusUpdateFailed"
	ConditionDecodeCertFailed              = "DecodeCertFailed"
)
View Source
const (
	ConditionParseValidToFailed            = "ParseValidToFailed"
	ConditionParseValidFromFailed          = "ParseValidFromFailed"
	ConditionSetOwnerRefFailed             = "SetOwnerRefFailed"
	ConditionCreateOrUpdateTLSSecretFailed = "CreateOrUpdateTLSSecretFailed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateConfigReconciler

type CertificateConfigReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

CertificateConfigReconciler reconciles a CertificateConfig object

func (*CertificateConfigReconciler) Reconcile

Reconcile handles reconciliation of CertificateConfig objects.

func (*CertificateConfigReconciler) SetupWithManager

func (r *CertificateConfigReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type CertificateReconciler

type CertificateReconciler struct {
	client.Client
	Scheme            *runtime.Scheme
	Log               logr.Logger
	CertClientBuilder cert.ClientBuilder
}

CertificateReconciler reconciles a Certificate object

func (*CertificateReconciler) Reconcile

func (r *CertificateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile handles reconciliation of Certificate objects.

func (*CertificateReconciler) SetupWithManager

func (r *CertificateReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL