controller

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

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 AuthorizationPolicyDeletionReconciler

type AuthorizationPolicyDeletionReconciler interface {
	ReconcileAuthorizationPolicyDeletion(req reconcile.Request) error
}

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

type AuthorizationPolicyEventHandler

type AuthorizationPolicyEventHandler interface {
	CreateAuthorizationPolicy(obj *security_istio_io_v1beta1.AuthorizationPolicy) error
	UpdateAuthorizationPolicy(old, new *security_istio_io_v1beta1.AuthorizationPolicy) error
	DeleteAuthorizationPolicy(obj *security_istio_io_v1beta1.AuthorizationPolicy) error
	GenericAuthorizationPolicy(obj *security_istio_io_v1beta1.AuthorizationPolicy) error
}

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

type AuthorizationPolicyEventHandlerFuncs

type AuthorizationPolicyEventHandlerFuncs struct {
	OnCreate  func(obj *security_istio_io_v1beta1.AuthorizationPolicy) error
	OnUpdate  func(old, new *security_istio_io_v1beta1.AuthorizationPolicy) error
	OnDelete  func(obj *security_istio_io_v1beta1.AuthorizationPolicy) error
	OnGeneric func(obj *security_istio_io_v1beta1.AuthorizationPolicy) error
}

func (*AuthorizationPolicyEventHandlerFuncs) CreateAuthorizationPolicy

func (*AuthorizationPolicyEventHandlerFuncs) DeleteAuthorizationPolicy

func (*AuthorizationPolicyEventHandlerFuncs) GenericAuthorizationPolicy

func (*AuthorizationPolicyEventHandlerFuncs) UpdateAuthorizationPolicy

func (f *AuthorizationPolicyEventHandlerFuncs) UpdateAuthorizationPolicy(objOld, objNew *security_istio_io_v1beta1.AuthorizationPolicy) error

type AuthorizationPolicyEventWatcher

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

func NewAuthorizationPolicyEventWatcher

func NewAuthorizationPolicyEventWatcher(name string, mgr manager.Manager) AuthorizationPolicyEventWatcher

type AuthorizationPolicyFinalizer

type AuthorizationPolicyFinalizer interface {
	AuthorizationPolicyReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeAuthorizationPolicy(obj *security_istio_io_v1beta1.AuthorizationPolicy) error
}

Reconcile and finalize the AuthorizationPolicy Resource implemented by the user

type AuthorizationPolicyReconcileLoop

type AuthorizationPolicyReconcileLoop interface {
	RunAuthorizationPolicyReconciler(ctx context.Context, rec AuthorizationPolicyReconciler, predicates ...predicate.Predicate) error
}

func NewAuthorizationPolicyReconcileLoop

func NewAuthorizationPolicyReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) AuthorizationPolicyReconcileLoop

type AuthorizationPolicyReconciler

type AuthorizationPolicyReconciler interface {
	ReconcileAuthorizationPolicy(obj *security_istio_io_v1beta1.AuthorizationPolicy) (reconcile.Result, error)
}

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

type AuthorizationPolicyReconcilerFuncs

type AuthorizationPolicyReconcilerFuncs struct {
	OnReconcileAuthorizationPolicy         func(obj *security_istio_io_v1beta1.AuthorizationPolicy) (reconcile.Result, error)
	OnReconcileAuthorizationPolicyDeletion func(req reconcile.Request) error
}

func (*AuthorizationPolicyReconcilerFuncs) ReconcileAuthorizationPolicy

func (*AuthorizationPolicyReconcilerFuncs) ReconcileAuthorizationPolicyDeletion

func (f *AuthorizationPolicyReconcilerFuncs) ReconcileAuthorizationPolicyDeletion(req reconcile.Request) error

type MulticlusterAuthorizationPolicyDeletionReconciler

type MulticlusterAuthorizationPolicyDeletionReconciler interface {
	ReconcileAuthorizationPolicyDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the AuthorizationPolicy 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 MulticlusterAuthorizationPolicyReconcileLoop

type MulticlusterAuthorizationPolicyReconcileLoop interface {
	// AddMulticlusterAuthorizationPolicyReconciler adds a MulticlusterAuthorizationPolicyReconciler to the MulticlusterAuthorizationPolicyReconcileLoop.
	AddMulticlusterAuthorizationPolicyReconciler(ctx context.Context, rec MulticlusterAuthorizationPolicyReconciler, predicates ...predicate.Predicate)
}

type MulticlusterAuthorizationPolicyReconciler

type MulticlusterAuthorizationPolicyReconciler interface {
	ReconcileAuthorizationPolicy(clusterName string, obj *security_istio_io_v1beta1.AuthorizationPolicy) (reconcile.Result, error)
}

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

type MulticlusterAuthorizationPolicyReconcilerFuncs

type MulticlusterAuthorizationPolicyReconcilerFuncs struct {
	OnReconcileAuthorizationPolicy         func(clusterName string, obj *security_istio_io_v1beta1.AuthorizationPolicy) (reconcile.Result, error)
	OnReconcileAuthorizationPolicyDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterAuthorizationPolicyReconcilerFuncs) ReconcileAuthorizationPolicy

func (*MulticlusterAuthorizationPolicyReconcilerFuncs) ReconcileAuthorizationPolicyDeletion

func (f *MulticlusterAuthorizationPolicyReconcilerFuncs) ReconcileAuthorizationPolicyDeletion(clusterName string, req reconcile.Request) error

type MulticlusterPeerAuthenticationDeletionReconciler added in v0.1.7

type MulticlusterPeerAuthenticationDeletionReconciler interface {
	ReconcilePeerAuthenticationDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the PeerAuthentication 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 MulticlusterPeerAuthenticationReconcileLoop added in v0.1.7

type MulticlusterPeerAuthenticationReconcileLoop interface {
	// AddMulticlusterPeerAuthenticationReconciler adds a MulticlusterPeerAuthenticationReconciler to the MulticlusterPeerAuthenticationReconcileLoop.
	AddMulticlusterPeerAuthenticationReconciler(ctx context.Context, rec MulticlusterPeerAuthenticationReconciler, predicates ...predicate.Predicate)
}

func NewMulticlusterPeerAuthenticationReconcileLoop added in v0.1.7

func NewMulticlusterPeerAuthenticationReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterPeerAuthenticationReconcileLoop

type MulticlusterPeerAuthenticationReconciler added in v0.1.7

type MulticlusterPeerAuthenticationReconciler interface {
	ReconcilePeerAuthentication(clusterName string, obj *security_istio_io_v1beta1.PeerAuthentication) (reconcile.Result, error)
}

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

type MulticlusterPeerAuthenticationReconcilerFuncs added in v0.1.7

type MulticlusterPeerAuthenticationReconcilerFuncs struct {
	OnReconcilePeerAuthentication         func(clusterName string, obj *security_istio_io_v1beta1.PeerAuthentication) (reconcile.Result, error)
	OnReconcilePeerAuthenticationDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterPeerAuthenticationReconcilerFuncs) ReconcilePeerAuthentication added in v0.1.7

func (*MulticlusterPeerAuthenticationReconcilerFuncs) ReconcilePeerAuthenticationDeletion added in v0.1.7

func (f *MulticlusterPeerAuthenticationReconcilerFuncs) ReconcilePeerAuthenticationDeletion(clusterName string, req reconcile.Request) error

type PeerAuthenticationDeletionReconciler added in v0.1.7

type PeerAuthenticationDeletionReconciler interface {
	ReconcilePeerAuthenticationDeletion(req reconcile.Request) error
}

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

type PeerAuthenticationEventHandler added in v0.1.7

type PeerAuthenticationEventHandler interface {
	CreatePeerAuthentication(obj *security_istio_io_v1beta1.PeerAuthentication) error
	UpdatePeerAuthentication(old, new *security_istio_io_v1beta1.PeerAuthentication) error
	DeletePeerAuthentication(obj *security_istio_io_v1beta1.PeerAuthentication) error
	GenericPeerAuthentication(obj *security_istio_io_v1beta1.PeerAuthentication) error
}

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

type PeerAuthenticationEventHandlerFuncs added in v0.1.7

type PeerAuthenticationEventHandlerFuncs struct {
	OnCreate  func(obj *security_istio_io_v1beta1.PeerAuthentication) error
	OnUpdate  func(old, new *security_istio_io_v1beta1.PeerAuthentication) error
	OnDelete  func(obj *security_istio_io_v1beta1.PeerAuthentication) error
	OnGeneric func(obj *security_istio_io_v1beta1.PeerAuthentication) error
}

func (*PeerAuthenticationEventHandlerFuncs) CreatePeerAuthentication added in v0.1.7

func (*PeerAuthenticationEventHandlerFuncs) DeletePeerAuthentication added in v0.1.7

func (*PeerAuthenticationEventHandlerFuncs) GenericPeerAuthentication added in v0.1.7

func (*PeerAuthenticationEventHandlerFuncs) UpdatePeerAuthentication added in v0.1.7

func (f *PeerAuthenticationEventHandlerFuncs) UpdatePeerAuthentication(objOld, objNew *security_istio_io_v1beta1.PeerAuthentication) error

type PeerAuthenticationEventWatcher added in v0.1.7

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

func NewPeerAuthenticationEventWatcher added in v0.1.7

func NewPeerAuthenticationEventWatcher(name string, mgr manager.Manager) PeerAuthenticationEventWatcher

type PeerAuthenticationFinalizer added in v0.1.7

type PeerAuthenticationFinalizer interface {
	PeerAuthenticationReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizePeerAuthentication(obj *security_istio_io_v1beta1.PeerAuthentication) error
}

Reconcile and finalize the PeerAuthentication Resource implemented by the user

type PeerAuthenticationReconcileLoop added in v0.1.7

type PeerAuthenticationReconcileLoop interface {
	RunPeerAuthenticationReconciler(ctx context.Context, rec PeerAuthenticationReconciler, predicates ...predicate.Predicate) error
}

func NewPeerAuthenticationReconcileLoop added in v0.1.7

func NewPeerAuthenticationReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) PeerAuthenticationReconcileLoop

type PeerAuthenticationReconciler added in v0.1.7

type PeerAuthenticationReconciler interface {
	ReconcilePeerAuthentication(obj *security_istio_io_v1beta1.PeerAuthentication) (reconcile.Result, error)
}

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

type PeerAuthenticationReconcilerFuncs added in v0.1.7

type PeerAuthenticationReconcilerFuncs struct {
	OnReconcilePeerAuthentication         func(obj *security_istio_io_v1beta1.PeerAuthentication) (reconcile.Result, error)
	OnReconcilePeerAuthenticationDeletion func(req reconcile.Request) error
}

func (*PeerAuthenticationReconcilerFuncs) ReconcilePeerAuthentication added in v0.1.7

func (*PeerAuthenticationReconcilerFuncs) ReconcilePeerAuthenticationDeletion added in v0.1.7

func (f *PeerAuthenticationReconcilerFuncs) ReconcilePeerAuthenticationDeletion(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