controller

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 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 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_v1.AuthorizationPolicy) error
	UpdateAuthorizationPolicy(old, new *security_istio_io_v1.AuthorizationPolicy) error
	DeleteAuthorizationPolicy(obj *security_istio_io_v1.AuthorizationPolicy) error
	GenericAuthorizationPolicy(obj *security_istio_io_v1.AuthorizationPolicy) error
}

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

type AuthorizationPolicyEventHandlerFuncs

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

func (*AuthorizationPolicyEventHandlerFuncs) CreateAuthorizationPolicy

func (*AuthorizationPolicyEventHandlerFuncs) DeleteAuthorizationPolicy

func (*AuthorizationPolicyEventHandlerFuncs) GenericAuthorizationPolicy

func (*AuthorizationPolicyEventHandlerFuncs) UpdateAuthorizationPolicy

func (f *AuthorizationPolicyEventHandlerFuncs) UpdateAuthorizationPolicy(objOld, objNew *security_istio_io_v1.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_v1.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_v1.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_v1.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_v1.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_v1.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

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

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

type MulticlusterPeerAuthenticationReconciler

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

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

type MulticlusterPeerAuthenticationReconcilerFuncs

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

func (*MulticlusterPeerAuthenticationReconcilerFuncs) ReconcilePeerAuthentication

func (*MulticlusterPeerAuthenticationReconcilerFuncs) ReconcilePeerAuthenticationDeletion

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

type MulticlusterRequestAuthenticationDeletionReconciler

type MulticlusterRequestAuthenticationDeletionReconciler interface {
	ReconcileRequestAuthenticationDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the RequestAuthentication 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 MulticlusterRequestAuthenticationReconcileLoop

type MulticlusterRequestAuthenticationReconcileLoop interface {
	// AddMulticlusterRequestAuthenticationReconciler adds a MulticlusterRequestAuthenticationReconciler to the MulticlusterRequestAuthenticationReconcileLoop.
	AddMulticlusterRequestAuthenticationReconciler(ctx context.Context, rec MulticlusterRequestAuthenticationReconciler, predicates ...predicate.Predicate)
}

type MulticlusterRequestAuthenticationReconciler

type MulticlusterRequestAuthenticationReconciler interface {
	ReconcileRequestAuthentication(clusterName string, obj *security_istio_io_v1.RequestAuthentication) (reconcile.Result, error)
}

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

type MulticlusterRequestAuthenticationReconcilerFuncs

type MulticlusterRequestAuthenticationReconcilerFuncs struct {
	OnReconcileRequestAuthentication         func(clusterName string, obj *security_istio_io_v1.RequestAuthentication) (reconcile.Result, error)
	OnReconcileRequestAuthenticationDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterRequestAuthenticationReconcilerFuncs) ReconcileRequestAuthentication

func (*MulticlusterRequestAuthenticationReconcilerFuncs) ReconcileRequestAuthenticationDeletion

func (f *MulticlusterRequestAuthenticationReconcilerFuncs) ReconcileRequestAuthenticationDeletion(clusterName string, req reconcile.Request) error

type PeerAuthenticationDeletionReconciler

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

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

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

type PeerAuthenticationEventHandlerFuncs

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

func (*PeerAuthenticationEventHandlerFuncs) CreatePeerAuthentication

func (*PeerAuthenticationEventHandlerFuncs) DeletePeerAuthentication

func (*PeerAuthenticationEventHandlerFuncs) GenericPeerAuthentication

func (*PeerAuthenticationEventHandlerFuncs) UpdatePeerAuthentication

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

type PeerAuthenticationEventWatcher

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

func NewPeerAuthenticationEventWatcher

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

type PeerAuthenticationFinalizer

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_v1.PeerAuthentication) error
}

Reconcile and finalize the PeerAuthentication Resource implemented by the user

type PeerAuthenticationReconcileLoop

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

func NewPeerAuthenticationReconcileLoop

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

type PeerAuthenticationReconciler

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

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

type PeerAuthenticationReconcilerFuncs

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

func (*PeerAuthenticationReconcilerFuncs) ReconcilePeerAuthentication

func (*PeerAuthenticationReconcilerFuncs) ReconcilePeerAuthenticationDeletion

func (f *PeerAuthenticationReconcilerFuncs) ReconcilePeerAuthenticationDeletion(req reconcile.Request) error

type RequestAuthenticationDeletionReconciler

type RequestAuthenticationDeletionReconciler interface {
	ReconcileRequestAuthenticationDeletion(req reconcile.Request) error
}

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

type RequestAuthenticationEventHandler

type RequestAuthenticationEventHandler interface {
	CreateRequestAuthentication(obj *security_istio_io_v1.RequestAuthentication) error
	UpdateRequestAuthentication(old, new *security_istio_io_v1.RequestAuthentication) error
	DeleteRequestAuthentication(obj *security_istio_io_v1.RequestAuthentication) error
	GenericRequestAuthentication(obj *security_istio_io_v1.RequestAuthentication) error
}

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

type RequestAuthenticationEventHandlerFuncs

type RequestAuthenticationEventHandlerFuncs struct {
	OnCreate  func(obj *security_istio_io_v1.RequestAuthentication) error
	OnUpdate  func(old, new *security_istio_io_v1.RequestAuthentication) error
	OnDelete  func(obj *security_istio_io_v1.RequestAuthentication) error
	OnGeneric func(obj *security_istio_io_v1.RequestAuthentication) error
}

func (*RequestAuthenticationEventHandlerFuncs) CreateRequestAuthentication

func (*RequestAuthenticationEventHandlerFuncs) DeleteRequestAuthentication

func (*RequestAuthenticationEventHandlerFuncs) GenericRequestAuthentication

func (*RequestAuthenticationEventHandlerFuncs) UpdateRequestAuthentication

func (f *RequestAuthenticationEventHandlerFuncs) UpdateRequestAuthentication(objOld, objNew *security_istio_io_v1.RequestAuthentication) error

type RequestAuthenticationEventWatcher

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

func NewRequestAuthenticationEventWatcher

func NewRequestAuthenticationEventWatcher(name string, mgr manager.Manager) RequestAuthenticationEventWatcher

type RequestAuthenticationFinalizer

type RequestAuthenticationFinalizer interface {
	RequestAuthenticationReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeRequestAuthentication(obj *security_istio_io_v1.RequestAuthentication) error
}

Reconcile and finalize the RequestAuthentication Resource implemented by the user

type RequestAuthenticationReconcileLoop

type RequestAuthenticationReconcileLoop interface {
	RunRequestAuthenticationReconciler(ctx context.Context, rec RequestAuthenticationReconciler, predicates ...predicate.Predicate) error
}

func NewRequestAuthenticationReconcileLoop

func NewRequestAuthenticationReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) RequestAuthenticationReconcileLoop

type RequestAuthenticationReconciler

type RequestAuthenticationReconciler interface {
	ReconcileRequestAuthentication(obj *security_istio_io_v1.RequestAuthentication) (reconcile.Result, error)
}

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

type RequestAuthenticationReconcilerFuncs

type RequestAuthenticationReconcilerFuncs struct {
	OnReconcileRequestAuthentication         func(obj *security_istio_io_v1.RequestAuthentication) (reconcile.Result, error)
	OnReconcileRequestAuthenticationDeletion func(req reconcile.Request) error
}

func (*RequestAuthenticationReconcilerFuncs) ReconcileRequestAuthentication

func (*RequestAuthenticationReconcilerFuncs) ReconcileRequestAuthenticationDeletion

func (f *RequestAuthenticationReconcilerFuncs) ReconcileRequestAuthenticationDeletion(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