controller

package
v0.28.3 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Definitions for the Kubernetes Controllers

Definitions for the multicluster Kubernetes Controllers

Definitions for the Kubernetes Controllers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateSigningRequestDeletionReconciler

type CertificateSigningRequestDeletionReconciler interface {
	ReconcileCertificateSigningRequestDeletion(req reconcile.Request) error
}

Reconcile deletion events for the CertificateSigningRequest Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user

type CertificateSigningRequestEventHandler

type CertificateSigningRequestEventHandler interface {
	CreateCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
	UpdateCertificateSigningRequest(old, new *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
	DeleteCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
	GenericCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
}

Handle events for the CertificateSigningRequest Resource DEPRECATED: Prefer reconciler pattern.

type CertificateSigningRequestEventHandlerFuncs

type CertificateSigningRequestEventHandlerFuncs struct {
	OnCreate  func(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
	OnUpdate  func(old, new *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
	OnDelete  func(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
	OnGeneric func(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
}

func (*CertificateSigningRequestEventHandlerFuncs) CreateCertificateSigningRequest

func (*CertificateSigningRequestEventHandlerFuncs) DeleteCertificateSigningRequest

func (*CertificateSigningRequestEventHandlerFuncs) GenericCertificateSigningRequest

func (*CertificateSigningRequestEventHandlerFuncs) UpdateCertificateSigningRequest

type CertificateSigningRequestEventWatcher

type CertificateSigningRequestEventWatcher interface {
	AddEventHandler(ctx context.Context, h CertificateSigningRequestEventHandler, predicates ...predicate.Predicate) error
}

func NewCertificateSigningRequestEventWatcher

func NewCertificateSigningRequestEventWatcher(name string, mgr manager.Manager) CertificateSigningRequestEventWatcher

type CertificateSigningRequestFinalizer

type CertificateSigningRequestFinalizer interface {
	CertificateSigningRequestReconciler

	// name of the finalizer used by this handler.
	// finalizer names should be unique for a single task
	CertificateSigningRequestFinalizerName() string

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) error
}

Reconcile and finalize the CertificateSigningRequest Resource implemented by the user

type CertificateSigningRequestReconcileLoop

type CertificateSigningRequestReconcileLoop interface {
	RunCertificateSigningRequestReconciler(ctx context.Context, rec CertificateSigningRequestReconciler, predicates ...predicate.Predicate) error
}

func NewCertificateSigningRequestReconcileLoop

func NewCertificateSigningRequestReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) CertificateSigningRequestReconcileLoop

type CertificateSigningRequestReconciler

type CertificateSigningRequestReconciler interface {
	ReconcileCertificateSigningRequest(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
}

Reconcile Upsert events for the CertificateSigningRequest Resource. implemented by the user

type CertificateSigningRequestReconcilerFuncs

type CertificateSigningRequestReconcilerFuncs struct {
	OnReconcileCertificateSigningRequest         func(obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
	OnReconcileCertificateSigningRequestDeletion func(req reconcile.Request) error
}

func (*CertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequest

func (*CertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion

func (f *CertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion(req reconcile.Request) error

type MulticlusterCertificateSigningRequestDeletionReconciler

type MulticlusterCertificateSigningRequestDeletionReconciler interface {
	ReconcileCertificateSigningRequestDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the CertificateSigningRequest Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user

type MulticlusterCertificateSigningRequestReconcileLoop

type MulticlusterCertificateSigningRequestReconcileLoop interface {
	// AddMulticlusterCertificateSigningRequestReconciler adds a MulticlusterCertificateSigningRequestReconciler to the MulticlusterCertificateSigningRequestReconcileLoop.
	AddMulticlusterCertificateSigningRequestReconciler(ctx context.Context, rec MulticlusterCertificateSigningRequestReconciler, predicates ...predicate.Predicate)
}

type MulticlusterCertificateSigningRequestReconciler

type MulticlusterCertificateSigningRequestReconciler interface {
	ReconcileCertificateSigningRequest(clusterName string, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
}

Reconcile Upsert events for the CertificateSigningRequest Resource across clusters. implemented by the user

type MulticlusterCertificateSigningRequestReconcilerFuncs

type MulticlusterCertificateSigningRequestReconcilerFuncs struct {
	OnReconcileCertificateSigningRequest         func(clusterName string, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest) (reconcile.Result, error)
	OnReconcileCertificateSigningRequestDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequest

func (*MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion

func (f *MulticlusterCertificateSigningRequestReconcilerFuncs) ReconcileCertificateSigningRequestDeletion(clusterName string, req reconcile.Request) error

Directories

Path Synopsis
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.

Jump to

Keyboard shortcuts

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