controller

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: May 26, 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 MulticlusterMutatingWebhookConfigurationDeletionReconciler added in v0.1.16

type MulticlusterMutatingWebhookConfigurationDeletionReconciler interface {
	ReconcileMutatingWebhookConfigurationDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the MutatingWebhookConfiguration 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 MulticlusterMutatingWebhookConfigurationReconcileLoop added in v0.1.16

type MulticlusterMutatingWebhookConfigurationReconcileLoop interface {
	// AddMulticlusterMutatingWebhookConfigurationReconciler adds a MulticlusterMutatingWebhookConfigurationReconciler to the MulticlusterMutatingWebhookConfigurationReconcileLoop.
	AddMulticlusterMutatingWebhookConfigurationReconciler(ctx context.Context, rec MulticlusterMutatingWebhookConfigurationReconciler, predicates ...predicate.Predicate)
}

func NewMulticlusterMutatingWebhookConfigurationReconcileLoop added in v0.1.16

func NewMulticlusterMutatingWebhookConfigurationReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterMutatingWebhookConfigurationReconcileLoop

type MulticlusterMutatingWebhookConfigurationReconciler added in v0.1.16

type MulticlusterMutatingWebhookConfigurationReconciler interface {
	ReconcileMutatingWebhookConfiguration(clusterName string, obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) (reconcile.Result, error)
}

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

type MulticlusterMutatingWebhookConfigurationReconcilerFuncs added in v0.1.16

type MulticlusterMutatingWebhookConfigurationReconcilerFuncs struct {
	OnReconcileMutatingWebhookConfiguration         func(clusterName string, obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) (reconcile.Result, error)
	OnReconcileMutatingWebhookConfigurationDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterMutatingWebhookConfigurationReconcilerFuncs) ReconcileMutatingWebhookConfiguration added in v0.1.16

func (*MulticlusterMutatingWebhookConfigurationReconcilerFuncs) ReconcileMutatingWebhookConfigurationDeletion added in v0.1.16

func (f *MulticlusterMutatingWebhookConfigurationReconcilerFuncs) ReconcileMutatingWebhookConfigurationDeletion(clusterName string, req reconcile.Request) error

type MulticlusterValidatingWebhookConfigurationDeletionReconciler

type MulticlusterValidatingWebhookConfigurationDeletionReconciler interface {
	ReconcileValidatingWebhookConfigurationDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the ValidatingWebhookConfiguration 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 MulticlusterValidatingWebhookConfigurationReconcileLoop

type MulticlusterValidatingWebhookConfigurationReconcileLoop interface {
	// AddMulticlusterValidatingWebhookConfigurationReconciler adds a MulticlusterValidatingWebhookConfigurationReconciler to the MulticlusterValidatingWebhookConfigurationReconcileLoop.
	AddMulticlusterValidatingWebhookConfigurationReconciler(ctx context.Context, rec MulticlusterValidatingWebhookConfigurationReconciler, predicates ...predicate.Predicate)
}

type MulticlusterValidatingWebhookConfigurationReconciler

type MulticlusterValidatingWebhookConfigurationReconciler interface {
	ReconcileValidatingWebhookConfiguration(clusterName string, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) (reconcile.Result, error)
}

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

type MulticlusterValidatingWebhookConfigurationReconcilerFuncs

type MulticlusterValidatingWebhookConfigurationReconcilerFuncs struct {
	OnReconcileValidatingWebhookConfiguration         func(clusterName string, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) (reconcile.Result, error)
	OnReconcileValidatingWebhookConfigurationDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterValidatingWebhookConfigurationReconcilerFuncs) ReconcileValidatingWebhookConfiguration

func (*MulticlusterValidatingWebhookConfigurationReconcilerFuncs) ReconcileValidatingWebhookConfigurationDeletion

func (f *MulticlusterValidatingWebhookConfigurationReconcilerFuncs) ReconcileValidatingWebhookConfigurationDeletion(clusterName string, req reconcile.Request) error

type MutatingWebhookConfigurationDeletionReconciler added in v0.1.16

type MutatingWebhookConfigurationDeletionReconciler interface {
	ReconcileMutatingWebhookConfigurationDeletion(req reconcile.Request) error
}

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

type MutatingWebhookConfigurationEventHandler added in v0.1.16

type MutatingWebhookConfigurationEventHandler interface {
	CreateMutatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) error
	UpdateMutatingWebhookConfiguration(old, new *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) error
	DeleteMutatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) error
	GenericMutatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) error
}

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

type MutatingWebhookConfigurationEventHandlerFuncs added in v0.1.16

func (*MutatingWebhookConfigurationEventHandlerFuncs) CreateMutatingWebhookConfiguration added in v0.1.16

func (*MutatingWebhookConfigurationEventHandlerFuncs) DeleteMutatingWebhookConfiguration added in v0.1.16

func (*MutatingWebhookConfigurationEventHandlerFuncs) GenericMutatingWebhookConfiguration added in v0.1.16

func (*MutatingWebhookConfigurationEventHandlerFuncs) UpdateMutatingWebhookConfiguration added in v0.1.16

type MutatingWebhookConfigurationEventWatcher added in v0.1.16

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

func NewMutatingWebhookConfigurationEventWatcher added in v0.1.16

func NewMutatingWebhookConfigurationEventWatcher(name string, mgr manager.Manager) MutatingWebhookConfigurationEventWatcher

type MutatingWebhookConfigurationFinalizer added in v0.1.16

type MutatingWebhookConfigurationFinalizer interface {
	MutatingWebhookConfigurationReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeMutatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) error
}

Reconcile and finalize the MutatingWebhookConfiguration Resource implemented by the user

type MutatingWebhookConfigurationReconcileLoop added in v0.1.16

type MutatingWebhookConfigurationReconcileLoop interface {
	RunMutatingWebhookConfigurationReconciler(ctx context.Context, rec MutatingWebhookConfigurationReconciler, predicates ...predicate.Predicate) error
}

func NewMutatingWebhookConfigurationReconcileLoop added in v0.1.16

func NewMutatingWebhookConfigurationReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) MutatingWebhookConfigurationReconcileLoop

type MutatingWebhookConfigurationReconciler added in v0.1.16

type MutatingWebhookConfigurationReconciler interface {
	ReconcileMutatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) (reconcile.Result, error)
}

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

type MutatingWebhookConfigurationReconcilerFuncs added in v0.1.16

type MutatingWebhookConfigurationReconcilerFuncs struct {
	OnReconcileMutatingWebhookConfiguration         func(obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) (reconcile.Result, error)
	OnReconcileMutatingWebhookConfigurationDeletion func(req reconcile.Request) error
}

func (*MutatingWebhookConfigurationReconcilerFuncs) ReconcileMutatingWebhookConfiguration added in v0.1.16

func (*MutatingWebhookConfigurationReconcilerFuncs) ReconcileMutatingWebhookConfigurationDeletion added in v0.1.16

func (f *MutatingWebhookConfigurationReconcilerFuncs) ReconcileMutatingWebhookConfigurationDeletion(req reconcile.Request) error

type ValidatingWebhookConfigurationDeletionReconciler

type ValidatingWebhookConfigurationDeletionReconciler interface {
	ReconcileValidatingWebhookConfigurationDeletion(req reconcile.Request) error
}

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

type ValidatingWebhookConfigurationEventHandler

type ValidatingWebhookConfigurationEventHandler interface {
	CreateValidatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) error
	UpdateValidatingWebhookConfiguration(old, new *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) error
	DeleteValidatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) error
	GenericValidatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) error
}

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

type ValidatingWebhookConfigurationEventHandlerFuncs

func (*ValidatingWebhookConfigurationEventHandlerFuncs) CreateValidatingWebhookConfiguration

func (*ValidatingWebhookConfigurationEventHandlerFuncs) DeleteValidatingWebhookConfiguration

func (*ValidatingWebhookConfigurationEventHandlerFuncs) GenericValidatingWebhookConfiguration

func (*ValidatingWebhookConfigurationEventHandlerFuncs) UpdateValidatingWebhookConfiguration

type ValidatingWebhookConfigurationEventWatcher

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

func NewValidatingWebhookConfigurationEventWatcher

func NewValidatingWebhookConfigurationEventWatcher(name string, mgr manager.Manager) ValidatingWebhookConfigurationEventWatcher

type ValidatingWebhookConfigurationFinalizer

type ValidatingWebhookConfigurationFinalizer interface {
	ValidatingWebhookConfigurationReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeValidatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) error
}

Reconcile and finalize the ValidatingWebhookConfiguration Resource implemented by the user

type ValidatingWebhookConfigurationReconcileLoop

type ValidatingWebhookConfigurationReconcileLoop interface {
	RunValidatingWebhookConfigurationReconciler(ctx context.Context, rec ValidatingWebhookConfigurationReconciler, predicates ...predicate.Predicate) error
}

func NewValidatingWebhookConfigurationReconcileLoop

func NewValidatingWebhookConfigurationReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) ValidatingWebhookConfigurationReconcileLoop

type ValidatingWebhookConfigurationReconciler

type ValidatingWebhookConfigurationReconciler interface {
	ReconcileValidatingWebhookConfiguration(obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) (reconcile.Result, error)
}

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

type ValidatingWebhookConfigurationReconcilerFuncs

type ValidatingWebhookConfigurationReconcilerFuncs struct {
	OnReconcileValidatingWebhookConfiguration         func(obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) (reconcile.Result, error)
	OnReconcileValidatingWebhookConfigurationDeletion func(req reconcile.Request) error
}

func (*ValidatingWebhookConfigurationReconcilerFuncs) ReconcileValidatingWebhookConfiguration

func (*ValidatingWebhookConfigurationReconcilerFuncs) ReconcileValidatingWebhookConfigurationDeletion

func (f *ValidatingWebhookConfigurationReconcilerFuncs) ReconcileValidatingWebhookConfigurationDeletion(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