controller

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 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 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 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