controller

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 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 CertificateRequestDeletionReconciler

type CertificateRequestDeletionReconciler interface {
	ReconcileCertificateRequestDeletion(req reconcile.Request) error
}

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

type CertificateRequestEventHandler

type CertificateRequestEventHandler interface {
	CreateCertificateRequest(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
	UpdateCertificateRequest(old, new *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
	DeleteCertificateRequest(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
	GenericCertificateRequest(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
}

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

type CertificateRequestEventHandlerFuncs

type CertificateRequestEventHandlerFuncs struct {
	OnCreate  func(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
	OnUpdate  func(old, new *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
	OnDelete  func(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
	OnGeneric func(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
}

func (*CertificateRequestEventHandlerFuncs) CreateCertificateRequest

func (*CertificateRequestEventHandlerFuncs) DeleteCertificateRequest

func (*CertificateRequestEventHandlerFuncs) GenericCertificateRequest

func (*CertificateRequestEventHandlerFuncs) UpdateCertificateRequest

type CertificateRequestEventWatcher

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

func NewCertificateRequestEventWatcher

func NewCertificateRequestEventWatcher(name string, mgr manager.Manager) CertificateRequestEventWatcher

type CertificateRequestFinalizer

type CertificateRequestFinalizer interface {
	CertificateRequestReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeCertificateRequest(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) error
}

Reconcile and finalize the CertificateRequest Resource implemented by the user

type CertificateRequestReconcileLoop

type CertificateRequestReconcileLoop interface {
	RunCertificateRequestReconciler(ctx context.Context, rec CertificateRequestReconciler, predicates ...predicate.Predicate) error
}

func NewCertificateRequestReconcileLoop

func NewCertificateRequestReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) CertificateRequestReconcileLoop

type CertificateRequestReconciler

type CertificateRequestReconciler interface {
	ReconcileCertificateRequest(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) (reconcile.Result, error)
}

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

type CertificateRequestReconcilerFuncs

type CertificateRequestReconcilerFuncs struct {
	OnReconcileCertificateRequest         func(obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) (reconcile.Result, error)
	OnReconcileCertificateRequestDeletion func(req reconcile.Request) error
}

func (*CertificateRequestReconcilerFuncs) ReconcileCertificateRequest

func (*CertificateRequestReconcilerFuncs) ReconcileCertificateRequestDeletion

func (f *CertificateRequestReconcilerFuncs) ReconcileCertificateRequestDeletion(req reconcile.Request) error

type IssuedCertificateDeletionReconciler

type IssuedCertificateDeletionReconciler interface {
	ReconcileIssuedCertificateDeletion(req reconcile.Request) error
}

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

type IssuedCertificateEventHandler

type IssuedCertificateEventHandler interface {
	CreateIssuedCertificate(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
	UpdateIssuedCertificate(old, new *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
	DeleteIssuedCertificate(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
	GenericIssuedCertificate(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
}

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

type IssuedCertificateEventHandlerFuncs

type IssuedCertificateEventHandlerFuncs struct {
	OnCreate  func(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
	OnUpdate  func(old, new *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
	OnDelete  func(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
	OnGeneric func(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
}

func (*IssuedCertificateEventHandlerFuncs) CreateIssuedCertificate

func (*IssuedCertificateEventHandlerFuncs) DeleteIssuedCertificate

func (*IssuedCertificateEventHandlerFuncs) GenericIssuedCertificate

func (*IssuedCertificateEventHandlerFuncs) UpdateIssuedCertificate

type IssuedCertificateEventWatcher

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

func NewIssuedCertificateEventWatcher

func NewIssuedCertificateEventWatcher(name string, mgr manager.Manager) IssuedCertificateEventWatcher

type IssuedCertificateFinalizer

type IssuedCertificateFinalizer interface {
	IssuedCertificateReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeIssuedCertificate(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) error
}

Reconcile and finalize the IssuedCertificate Resource implemented by the user

type IssuedCertificateReconcileLoop

type IssuedCertificateReconcileLoop interface {
	RunIssuedCertificateReconciler(ctx context.Context, rec IssuedCertificateReconciler, predicates ...predicate.Predicate) error
}

func NewIssuedCertificateReconcileLoop

func NewIssuedCertificateReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) IssuedCertificateReconcileLoop

type IssuedCertificateReconciler

type IssuedCertificateReconciler interface {
	ReconcileIssuedCertificate(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) (reconcile.Result, error)
}

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

type IssuedCertificateReconcilerFuncs

type IssuedCertificateReconcilerFuncs struct {
	OnReconcileIssuedCertificate         func(obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) (reconcile.Result, error)
	OnReconcileIssuedCertificateDeletion func(req reconcile.Request) error
}

func (*IssuedCertificateReconcilerFuncs) ReconcileIssuedCertificate

func (*IssuedCertificateReconcilerFuncs) ReconcileIssuedCertificateDeletion

func (f *IssuedCertificateReconcilerFuncs) ReconcileIssuedCertificateDeletion(req reconcile.Request) error

type MulticlusterCertificateRequestDeletionReconciler

type MulticlusterCertificateRequestDeletionReconciler interface {
	ReconcileCertificateRequestDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the CertificateRequest 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 MulticlusterCertificateRequestReconcileLoop

type MulticlusterCertificateRequestReconcileLoop interface {
	// AddMulticlusterCertificateRequestReconciler adds a MulticlusterCertificateRequestReconciler to the MulticlusterCertificateRequestReconcileLoop.
	AddMulticlusterCertificateRequestReconciler(ctx context.Context, rec MulticlusterCertificateRequestReconciler, predicates ...predicate.Predicate)
}

type MulticlusterCertificateRequestReconciler

type MulticlusterCertificateRequestReconciler interface {
	ReconcileCertificateRequest(clusterName string, obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) (reconcile.Result, error)
}

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

type MulticlusterCertificateRequestReconcilerFuncs

type MulticlusterCertificateRequestReconcilerFuncs struct {
	OnReconcileCertificateRequest         func(clusterName string, obj *certificates_mesh_gloo_solo_io_v1.CertificateRequest) (reconcile.Result, error)
	OnReconcileCertificateRequestDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterCertificateRequestReconcilerFuncs) ReconcileCertificateRequest

func (*MulticlusterCertificateRequestReconcilerFuncs) ReconcileCertificateRequestDeletion

func (f *MulticlusterCertificateRequestReconcilerFuncs) ReconcileCertificateRequestDeletion(clusterName string, req reconcile.Request) error

type MulticlusterIssuedCertificateDeletionReconciler

type MulticlusterIssuedCertificateDeletionReconciler interface {
	ReconcileIssuedCertificateDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the IssuedCertificate 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 MulticlusterIssuedCertificateReconcileLoop

type MulticlusterIssuedCertificateReconcileLoop interface {
	// AddMulticlusterIssuedCertificateReconciler adds a MulticlusterIssuedCertificateReconciler to the MulticlusterIssuedCertificateReconcileLoop.
	AddMulticlusterIssuedCertificateReconciler(ctx context.Context, rec MulticlusterIssuedCertificateReconciler, predicates ...predicate.Predicate)
}

type MulticlusterIssuedCertificateReconciler

type MulticlusterIssuedCertificateReconciler interface {
	ReconcileIssuedCertificate(clusterName string, obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) (reconcile.Result, error)
}

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

type MulticlusterIssuedCertificateReconcilerFuncs

type MulticlusterIssuedCertificateReconcilerFuncs struct {
	OnReconcileIssuedCertificate         func(clusterName string, obj *certificates_mesh_gloo_solo_io_v1.IssuedCertificate) (reconcile.Result, error)
	OnReconcileIssuedCertificateDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterIssuedCertificateReconcilerFuncs) ReconcileIssuedCertificate

func (*MulticlusterIssuedCertificateReconcilerFuncs) ReconcileIssuedCertificateDeletion

func (f *MulticlusterIssuedCertificateReconcilerFuncs) ReconcileIssuedCertificateDeletion(clusterName string, req reconcile.Request) error

type MulticlusterPodBounceDirectiveDeletionReconciler

type MulticlusterPodBounceDirectiveDeletionReconciler interface {
	ReconcilePodBounceDirectiveDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the PodBounceDirective 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 MulticlusterPodBounceDirectiveReconcileLoop

type MulticlusterPodBounceDirectiveReconcileLoop interface {
	// AddMulticlusterPodBounceDirectiveReconciler adds a MulticlusterPodBounceDirectiveReconciler to the MulticlusterPodBounceDirectiveReconcileLoop.
	AddMulticlusterPodBounceDirectiveReconciler(ctx context.Context, rec MulticlusterPodBounceDirectiveReconciler, predicates ...predicate.Predicate)
}

type MulticlusterPodBounceDirectiveReconciler

type MulticlusterPodBounceDirectiveReconciler interface {
	ReconcilePodBounceDirective(clusterName string, obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) (reconcile.Result, error)
}

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

type MulticlusterPodBounceDirectiveReconcilerFuncs

type MulticlusterPodBounceDirectiveReconcilerFuncs struct {
	OnReconcilePodBounceDirective         func(clusterName string, obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) (reconcile.Result, error)
	OnReconcilePodBounceDirectiveDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterPodBounceDirectiveReconcilerFuncs) ReconcilePodBounceDirective

func (*MulticlusterPodBounceDirectiveReconcilerFuncs) ReconcilePodBounceDirectiveDeletion

func (f *MulticlusterPodBounceDirectiveReconcilerFuncs) ReconcilePodBounceDirectiveDeletion(clusterName string, req reconcile.Request) error

type PodBounceDirectiveDeletionReconciler

type PodBounceDirectiveDeletionReconciler interface {
	ReconcilePodBounceDirectiveDeletion(req reconcile.Request) error
}

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

type PodBounceDirectiveEventHandler

type PodBounceDirectiveEventHandler interface {
	CreatePodBounceDirective(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
	UpdatePodBounceDirective(old, new *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
	DeletePodBounceDirective(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
	GenericPodBounceDirective(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
}

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

type PodBounceDirectiveEventHandlerFuncs

type PodBounceDirectiveEventHandlerFuncs struct {
	OnCreate  func(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
	OnUpdate  func(old, new *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
	OnDelete  func(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
	OnGeneric func(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
}

func (*PodBounceDirectiveEventHandlerFuncs) CreatePodBounceDirective

func (*PodBounceDirectiveEventHandlerFuncs) DeletePodBounceDirective

func (*PodBounceDirectiveEventHandlerFuncs) GenericPodBounceDirective

func (*PodBounceDirectiveEventHandlerFuncs) UpdatePodBounceDirective

type PodBounceDirectiveEventWatcher

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

func NewPodBounceDirectiveEventWatcher

func NewPodBounceDirectiveEventWatcher(name string, mgr manager.Manager) PodBounceDirectiveEventWatcher

type PodBounceDirectiveFinalizer

type PodBounceDirectiveFinalizer interface {
	PodBounceDirectiveReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizePodBounceDirective(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) error
}

Reconcile and finalize the PodBounceDirective Resource implemented by the user

type PodBounceDirectiveReconcileLoop

type PodBounceDirectiveReconcileLoop interface {
	RunPodBounceDirectiveReconciler(ctx context.Context, rec PodBounceDirectiveReconciler, predicates ...predicate.Predicate) error
}

func NewPodBounceDirectiveReconcileLoop

func NewPodBounceDirectiveReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) PodBounceDirectiveReconcileLoop

type PodBounceDirectiveReconciler

type PodBounceDirectiveReconciler interface {
	ReconcilePodBounceDirective(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) (reconcile.Result, error)
}

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

type PodBounceDirectiveReconcilerFuncs

type PodBounceDirectiveReconcilerFuncs struct {
	OnReconcilePodBounceDirective         func(obj *certificates_mesh_gloo_solo_io_v1.PodBounceDirective) (reconcile.Result, error)
	OnReconcilePodBounceDirectiveDeletion func(req reconcile.Request) error
}

func (*PodBounceDirectiveReconcilerFuncs) ReconcilePodBounceDirective

func (*PodBounceDirectiveReconcilerFuncs) ReconcilePodBounceDirectiveDeletion

func (f *PodBounceDirectiveReconcilerFuncs) ReconcilePodBounceDirectiveDeletion(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