controllers

package
v0.0.0-...-d04c3c9 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateRequestReconciler

type CertificateRequestReconciler struct {
	client.Client
	Scheme                   *runtime.Scheme
	SignerBuilder            signer.SignerBuilder
	ClusterResourceNamespace string

	Clock                  clock.Clock
	CheckApprovedCondition bool
}

CertificateRequestReconciler reconciles a CertificateRequest object

func (*CertificateRequestReconciler) Reconcile

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

func (*CertificateRequestReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ClusterIssuerReconciler

type ClusterIssuerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ClusterIssuerReconciler reconciles a ClusterIssuer object

func (*ClusterIssuerReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the ClusterIssuer object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile

func (*ClusterIssuerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SCEPIssuerReconciler

type SCEPIssuerReconciler struct {
	client.Client
	Kind                     string
	Scheme                   *runtime.Scheme
	ClusterResourceNamespace string
	HealthCheckerBuilder     signer.HealthCheckerBuilder
}

SCEPIssuerReconciler reconciles a Issuer object

func (*SCEPIssuerReconciler) Reconcile

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

func (*SCEPIssuerReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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