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 DestinationRuleDeletionReconciler

type DestinationRuleDeletionReconciler interface {
	ReconcileDestinationRuleDeletion(req reconcile.Request) error
}

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

type DestinationRuleEventHandler

type DestinationRuleEventHandler interface {
	CreateDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
	UpdateDestinationRule(old, new *networking_istio_io_v1.DestinationRule) error
	DeleteDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
	GenericDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
}

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

type DestinationRuleEventHandlerFuncs

type DestinationRuleEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1.DestinationRule) error
	OnUpdate  func(old, new *networking_istio_io_v1.DestinationRule) error
	OnDelete  func(obj *networking_istio_io_v1.DestinationRule) error
	OnGeneric func(obj *networking_istio_io_v1.DestinationRule) error
}

func (*DestinationRuleEventHandlerFuncs) CreateDestinationRule

func (*DestinationRuleEventHandlerFuncs) DeleteDestinationRule

func (*DestinationRuleEventHandlerFuncs) GenericDestinationRule

func (*DestinationRuleEventHandlerFuncs) UpdateDestinationRule

func (f *DestinationRuleEventHandlerFuncs) UpdateDestinationRule(objOld, objNew *networking_istio_io_v1.DestinationRule) error

type DestinationRuleEventWatcher

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

func NewDestinationRuleEventWatcher

func NewDestinationRuleEventWatcher(name string, mgr manager.Manager) DestinationRuleEventWatcher

type DestinationRuleFinalizer

type DestinationRuleFinalizer interface {
	DestinationRuleReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
}

Reconcile and finalize the DestinationRule Resource implemented by the user

type DestinationRuleReconcileLoop

type DestinationRuleReconcileLoop interface {
	RunDestinationRuleReconciler(ctx context.Context, rec DestinationRuleReconciler, predicates ...predicate.Predicate) error
}

func NewDestinationRuleReconcileLoop

func NewDestinationRuleReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) DestinationRuleReconcileLoop

type DestinationRuleReconciler

type DestinationRuleReconciler interface {
	ReconcileDestinationRule(obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
}

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

type DestinationRuleReconcilerFuncs

type DestinationRuleReconcilerFuncs struct {
	OnReconcileDestinationRule         func(obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
	OnReconcileDestinationRuleDeletion func(req reconcile.Request) error
}

func (*DestinationRuleReconcilerFuncs) ReconcileDestinationRule

func (*DestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion

func (f *DestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion(req reconcile.Request) error

type GatewayDeletionReconciler

type GatewayDeletionReconciler interface {
	ReconcileGatewayDeletion(req reconcile.Request) error
}

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

type GatewayEventHandler

type GatewayEventHandler interface {
	CreateGateway(obj *networking_istio_io_v1.Gateway) error
	UpdateGateway(old, new *networking_istio_io_v1.Gateway) error
	DeleteGateway(obj *networking_istio_io_v1.Gateway) error
	GenericGateway(obj *networking_istio_io_v1.Gateway) error
}

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

type GatewayEventHandlerFuncs

type GatewayEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1.Gateway) error
	OnUpdate  func(old, new *networking_istio_io_v1.Gateway) error
	OnDelete  func(obj *networking_istio_io_v1.Gateway) error
	OnGeneric func(obj *networking_istio_io_v1.Gateway) error
}

func (*GatewayEventHandlerFuncs) CreateGateway

func (*GatewayEventHandlerFuncs) DeleteGateway

func (*GatewayEventHandlerFuncs) GenericGateway

func (*GatewayEventHandlerFuncs) UpdateGateway

func (f *GatewayEventHandlerFuncs) UpdateGateway(objOld, objNew *networking_istio_io_v1.Gateway) error

type GatewayEventWatcher

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

func NewGatewayEventWatcher

func NewGatewayEventWatcher(name string, mgr manager.Manager) GatewayEventWatcher

type GatewayFinalizer

type GatewayFinalizer interface {
	GatewayReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeGateway(obj *networking_istio_io_v1.Gateway) error
}

Reconcile and finalize the Gateway Resource implemented by the user

type GatewayReconcileLoop

type GatewayReconcileLoop interface {
	RunGatewayReconciler(ctx context.Context, rec GatewayReconciler, predicates ...predicate.Predicate) error
}

func NewGatewayReconcileLoop

func NewGatewayReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) GatewayReconcileLoop

type GatewayReconciler

type GatewayReconciler interface {
	ReconcileGateway(obj *networking_istio_io_v1.Gateway) (reconcile.Result, error)
}

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

type GatewayReconcilerFuncs

type GatewayReconcilerFuncs struct {
	OnReconcileGateway         func(obj *networking_istio_io_v1.Gateway) (reconcile.Result, error)
	OnReconcileGatewayDeletion func(req reconcile.Request) error
}

func (*GatewayReconcilerFuncs) ReconcileGateway

func (*GatewayReconcilerFuncs) ReconcileGatewayDeletion

func (f *GatewayReconcilerFuncs) ReconcileGatewayDeletion(req reconcile.Request) error

type MulticlusterDestinationRuleDeletionReconciler

type MulticlusterDestinationRuleDeletionReconciler interface {
	ReconcileDestinationRuleDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the DestinationRule 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 MulticlusterDestinationRuleReconcileLoop

type MulticlusterDestinationRuleReconcileLoop interface {
	// AddMulticlusterDestinationRuleReconciler adds a MulticlusterDestinationRuleReconciler to the MulticlusterDestinationRuleReconcileLoop.
	AddMulticlusterDestinationRuleReconciler(ctx context.Context, rec MulticlusterDestinationRuleReconciler, predicates ...predicate.Predicate)
}

type MulticlusterDestinationRuleReconciler

type MulticlusterDestinationRuleReconciler interface {
	ReconcileDestinationRule(clusterName string, obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
}

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

type MulticlusterDestinationRuleReconcilerFuncs

type MulticlusterDestinationRuleReconcilerFuncs struct {
	OnReconcileDestinationRule         func(clusterName string, obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
	OnReconcileDestinationRuleDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRule

func (*MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion

func (f *MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion(clusterName string, req reconcile.Request) error

type MulticlusterGatewayDeletionReconciler

type MulticlusterGatewayDeletionReconciler interface {
	ReconcileGatewayDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Gateway 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 MulticlusterGatewayReconcileLoop

type MulticlusterGatewayReconcileLoop interface {
	// AddMulticlusterGatewayReconciler adds a MulticlusterGatewayReconciler to the MulticlusterGatewayReconcileLoop.
	AddMulticlusterGatewayReconciler(ctx context.Context, rec MulticlusterGatewayReconciler, predicates ...predicate.Predicate)
}

type MulticlusterGatewayReconciler

type MulticlusterGatewayReconciler interface {
	ReconcileGateway(clusterName string, obj *networking_istio_io_v1.Gateway) (reconcile.Result, error)
}

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

type MulticlusterGatewayReconcilerFuncs

type MulticlusterGatewayReconcilerFuncs struct {
	OnReconcileGateway         func(clusterName string, obj *networking_istio_io_v1.Gateway) (reconcile.Result, error)
	OnReconcileGatewayDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterGatewayReconcilerFuncs) ReconcileGateway

func (*MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion

func (f *MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion(clusterName string, req reconcile.Request) error

type MulticlusterServiceEntryDeletionReconciler

type MulticlusterServiceEntryDeletionReconciler interface {
	ReconcileServiceEntryDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the ServiceEntry 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 MulticlusterServiceEntryReconcileLoop

type MulticlusterServiceEntryReconcileLoop interface {
	// AddMulticlusterServiceEntryReconciler adds a MulticlusterServiceEntryReconciler to the MulticlusterServiceEntryReconcileLoop.
	AddMulticlusterServiceEntryReconciler(ctx context.Context, rec MulticlusterServiceEntryReconciler, predicates ...predicate.Predicate)
}

type MulticlusterServiceEntryReconciler

type MulticlusterServiceEntryReconciler interface {
	ReconcileServiceEntry(clusterName string, obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error)
}

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

type MulticlusterServiceEntryReconcilerFuncs

type MulticlusterServiceEntryReconcilerFuncs struct {
	OnReconcileServiceEntry         func(clusterName string, obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error)
	OnReconcileServiceEntryDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterServiceEntryReconcilerFuncs) ReconcileServiceEntry

func (*MulticlusterServiceEntryReconcilerFuncs) ReconcileServiceEntryDeletion

func (f *MulticlusterServiceEntryReconcilerFuncs) ReconcileServiceEntryDeletion(clusterName string, req reconcile.Request) error

type MulticlusterSidecarDeletionReconciler

type MulticlusterSidecarDeletionReconciler interface {
	ReconcileSidecarDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Sidecar 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 MulticlusterSidecarReconcileLoop

type MulticlusterSidecarReconcileLoop interface {
	// AddMulticlusterSidecarReconciler adds a MulticlusterSidecarReconciler to the MulticlusterSidecarReconcileLoop.
	AddMulticlusterSidecarReconciler(ctx context.Context, rec MulticlusterSidecarReconciler, predicates ...predicate.Predicate)
}

type MulticlusterSidecarReconciler

type MulticlusterSidecarReconciler interface {
	ReconcileSidecar(clusterName string, obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error)
}

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

type MulticlusterSidecarReconcilerFuncs

type MulticlusterSidecarReconcilerFuncs struct {
	OnReconcileSidecar         func(clusterName string, obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error)
	OnReconcileSidecarDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterSidecarReconcilerFuncs) ReconcileSidecar

func (*MulticlusterSidecarReconcilerFuncs) ReconcileSidecarDeletion

func (f *MulticlusterSidecarReconcilerFuncs) ReconcileSidecarDeletion(clusterName string, req reconcile.Request) error

type MulticlusterVirtualServiceDeletionReconciler

type MulticlusterVirtualServiceDeletionReconciler interface {
	ReconcileVirtualServiceDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the VirtualService 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 MulticlusterVirtualServiceReconcileLoop

type MulticlusterVirtualServiceReconcileLoop interface {
	// AddMulticlusterVirtualServiceReconciler adds a MulticlusterVirtualServiceReconciler to the MulticlusterVirtualServiceReconcileLoop.
	AddMulticlusterVirtualServiceReconciler(ctx context.Context, rec MulticlusterVirtualServiceReconciler, predicates ...predicate.Predicate)
}

type MulticlusterVirtualServiceReconciler

type MulticlusterVirtualServiceReconciler interface {
	ReconcileVirtualService(clusterName string, obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error)
}

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

type MulticlusterVirtualServiceReconcilerFuncs

type MulticlusterVirtualServiceReconcilerFuncs struct {
	OnReconcileVirtualService         func(clusterName string, obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error)
	OnReconcileVirtualServiceDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterVirtualServiceReconcilerFuncs) ReconcileVirtualService

func (*MulticlusterVirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion

func (f *MulticlusterVirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion(clusterName string, req reconcile.Request) error

type MulticlusterWorkloadEntryDeletionReconciler

type MulticlusterWorkloadEntryDeletionReconciler interface {
	ReconcileWorkloadEntryDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the WorkloadEntry 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 MulticlusterWorkloadEntryReconcileLoop

type MulticlusterWorkloadEntryReconcileLoop interface {
	// AddMulticlusterWorkloadEntryReconciler adds a MulticlusterWorkloadEntryReconciler to the MulticlusterWorkloadEntryReconcileLoop.
	AddMulticlusterWorkloadEntryReconciler(ctx context.Context, rec MulticlusterWorkloadEntryReconciler, predicates ...predicate.Predicate)
}

type MulticlusterWorkloadEntryReconciler

type MulticlusterWorkloadEntryReconciler interface {
	ReconcileWorkloadEntry(clusterName string, obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error)
}

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

type MulticlusterWorkloadEntryReconcilerFuncs

type MulticlusterWorkloadEntryReconcilerFuncs struct {
	OnReconcileWorkloadEntry         func(clusterName string, obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error)
	OnReconcileWorkloadEntryDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterWorkloadEntryReconcilerFuncs) ReconcileWorkloadEntry

func (*MulticlusterWorkloadEntryReconcilerFuncs) ReconcileWorkloadEntryDeletion

func (f *MulticlusterWorkloadEntryReconcilerFuncs) ReconcileWorkloadEntryDeletion(clusterName string, req reconcile.Request) error

type MulticlusterWorkloadGroupDeletionReconciler

type MulticlusterWorkloadGroupDeletionReconciler interface {
	ReconcileWorkloadGroupDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the WorkloadGroup 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 MulticlusterWorkloadGroupReconcileLoop

type MulticlusterWorkloadGroupReconcileLoop interface {
	// AddMulticlusterWorkloadGroupReconciler adds a MulticlusterWorkloadGroupReconciler to the MulticlusterWorkloadGroupReconcileLoop.
	AddMulticlusterWorkloadGroupReconciler(ctx context.Context, rec MulticlusterWorkloadGroupReconciler, predicates ...predicate.Predicate)
}

type MulticlusterWorkloadGroupReconciler

type MulticlusterWorkloadGroupReconciler interface {
	ReconcileWorkloadGroup(clusterName string, obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error)
}

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

type MulticlusterWorkloadGroupReconcilerFuncs

type MulticlusterWorkloadGroupReconcilerFuncs struct {
	OnReconcileWorkloadGroup         func(clusterName string, obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error)
	OnReconcileWorkloadGroupDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterWorkloadGroupReconcilerFuncs) ReconcileWorkloadGroup

func (*MulticlusterWorkloadGroupReconcilerFuncs) ReconcileWorkloadGroupDeletion

func (f *MulticlusterWorkloadGroupReconcilerFuncs) ReconcileWorkloadGroupDeletion(clusterName string, req reconcile.Request) error

type ServiceEntryDeletionReconciler

type ServiceEntryDeletionReconciler interface {
	ReconcileServiceEntryDeletion(req reconcile.Request) error
}

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

type ServiceEntryEventHandler

type ServiceEntryEventHandler interface {
	CreateServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
	UpdateServiceEntry(old, new *networking_istio_io_v1.ServiceEntry) error
	DeleteServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
	GenericServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
}

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

type ServiceEntryEventHandlerFuncs

type ServiceEntryEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1.ServiceEntry) error
	OnUpdate  func(old, new *networking_istio_io_v1.ServiceEntry) error
	OnDelete  func(obj *networking_istio_io_v1.ServiceEntry) error
	OnGeneric func(obj *networking_istio_io_v1.ServiceEntry) error
}

func (*ServiceEntryEventHandlerFuncs) CreateServiceEntry

func (*ServiceEntryEventHandlerFuncs) DeleteServiceEntry

func (*ServiceEntryEventHandlerFuncs) GenericServiceEntry

func (*ServiceEntryEventHandlerFuncs) UpdateServiceEntry

func (f *ServiceEntryEventHandlerFuncs) UpdateServiceEntry(objOld, objNew *networking_istio_io_v1.ServiceEntry) error

type ServiceEntryEventWatcher

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

func NewServiceEntryEventWatcher

func NewServiceEntryEventWatcher(name string, mgr manager.Manager) ServiceEntryEventWatcher

type ServiceEntryFinalizer

type ServiceEntryFinalizer interface {
	ServiceEntryReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
}

Reconcile and finalize the ServiceEntry Resource implemented by the user

type ServiceEntryReconcileLoop

type ServiceEntryReconcileLoop interface {
	RunServiceEntryReconciler(ctx context.Context, rec ServiceEntryReconciler, predicates ...predicate.Predicate) error
}

func NewServiceEntryReconcileLoop

func NewServiceEntryReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) ServiceEntryReconcileLoop

type ServiceEntryReconciler

type ServiceEntryReconciler interface {
	ReconcileServiceEntry(obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error)
}

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

type ServiceEntryReconcilerFuncs

type ServiceEntryReconcilerFuncs struct {
	OnReconcileServiceEntry         func(obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error)
	OnReconcileServiceEntryDeletion func(req reconcile.Request) error
}

func (*ServiceEntryReconcilerFuncs) ReconcileServiceEntry

func (*ServiceEntryReconcilerFuncs) ReconcileServiceEntryDeletion

func (f *ServiceEntryReconcilerFuncs) ReconcileServiceEntryDeletion(req reconcile.Request) error

type SidecarDeletionReconciler

type SidecarDeletionReconciler interface {
	ReconcileSidecarDeletion(req reconcile.Request) error
}

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

type SidecarEventHandler

type SidecarEventHandler interface {
	CreateSidecar(obj *networking_istio_io_v1.Sidecar) error
	UpdateSidecar(old, new *networking_istio_io_v1.Sidecar) error
	DeleteSidecar(obj *networking_istio_io_v1.Sidecar) error
	GenericSidecar(obj *networking_istio_io_v1.Sidecar) error
}

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

type SidecarEventHandlerFuncs

type SidecarEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1.Sidecar) error
	OnUpdate  func(old, new *networking_istio_io_v1.Sidecar) error
	OnDelete  func(obj *networking_istio_io_v1.Sidecar) error
	OnGeneric func(obj *networking_istio_io_v1.Sidecar) error
}

func (*SidecarEventHandlerFuncs) CreateSidecar

func (*SidecarEventHandlerFuncs) DeleteSidecar

func (*SidecarEventHandlerFuncs) GenericSidecar

func (*SidecarEventHandlerFuncs) UpdateSidecar

func (f *SidecarEventHandlerFuncs) UpdateSidecar(objOld, objNew *networking_istio_io_v1.Sidecar) error

type SidecarEventWatcher

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

func NewSidecarEventWatcher

func NewSidecarEventWatcher(name string, mgr manager.Manager) SidecarEventWatcher

type SidecarFinalizer

type SidecarFinalizer interface {
	SidecarReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeSidecar(obj *networking_istio_io_v1.Sidecar) error
}

Reconcile and finalize the Sidecar Resource implemented by the user

type SidecarReconcileLoop

type SidecarReconcileLoop interface {
	RunSidecarReconciler(ctx context.Context, rec SidecarReconciler, predicates ...predicate.Predicate) error
}

func NewSidecarReconcileLoop

func NewSidecarReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) SidecarReconcileLoop

type SidecarReconciler

type SidecarReconciler interface {
	ReconcileSidecar(obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error)
}

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

type SidecarReconcilerFuncs

type SidecarReconcilerFuncs struct {
	OnReconcileSidecar         func(obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error)
	OnReconcileSidecarDeletion func(req reconcile.Request) error
}

func (*SidecarReconcilerFuncs) ReconcileSidecar

func (*SidecarReconcilerFuncs) ReconcileSidecarDeletion

func (f *SidecarReconcilerFuncs) ReconcileSidecarDeletion(req reconcile.Request) error

type VirtualServiceDeletionReconciler

type VirtualServiceDeletionReconciler interface {
	ReconcileVirtualServiceDeletion(req reconcile.Request) error
}

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

type VirtualServiceEventHandler

type VirtualServiceEventHandler interface {
	CreateVirtualService(obj *networking_istio_io_v1.VirtualService) error
	UpdateVirtualService(old, new *networking_istio_io_v1.VirtualService) error
	DeleteVirtualService(obj *networking_istio_io_v1.VirtualService) error
	GenericVirtualService(obj *networking_istio_io_v1.VirtualService) error
}

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

type VirtualServiceEventHandlerFuncs

type VirtualServiceEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1.VirtualService) error
	OnUpdate  func(old, new *networking_istio_io_v1.VirtualService) error
	OnDelete  func(obj *networking_istio_io_v1.VirtualService) error
	OnGeneric func(obj *networking_istio_io_v1.VirtualService) error
}

func (*VirtualServiceEventHandlerFuncs) CreateVirtualService

func (*VirtualServiceEventHandlerFuncs) DeleteVirtualService

func (*VirtualServiceEventHandlerFuncs) GenericVirtualService

func (*VirtualServiceEventHandlerFuncs) UpdateVirtualService

func (f *VirtualServiceEventHandlerFuncs) UpdateVirtualService(objOld, objNew *networking_istio_io_v1.VirtualService) error

type VirtualServiceEventWatcher

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

func NewVirtualServiceEventWatcher

func NewVirtualServiceEventWatcher(name string, mgr manager.Manager) VirtualServiceEventWatcher

type VirtualServiceFinalizer

type VirtualServiceFinalizer interface {
	VirtualServiceReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeVirtualService(obj *networking_istio_io_v1.VirtualService) error
}

Reconcile and finalize the VirtualService Resource implemented by the user

type VirtualServiceReconcileLoop

type VirtualServiceReconcileLoop interface {
	RunVirtualServiceReconciler(ctx context.Context, rec VirtualServiceReconciler, predicates ...predicate.Predicate) error
}

func NewVirtualServiceReconcileLoop

func NewVirtualServiceReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) VirtualServiceReconcileLoop

type VirtualServiceReconciler

type VirtualServiceReconciler interface {
	ReconcileVirtualService(obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error)
}

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

type VirtualServiceReconcilerFuncs

type VirtualServiceReconcilerFuncs struct {
	OnReconcileVirtualService         func(obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error)
	OnReconcileVirtualServiceDeletion func(req reconcile.Request) error
}

func (*VirtualServiceReconcilerFuncs) ReconcileVirtualService

func (*VirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion

func (f *VirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion(req reconcile.Request) error

type WorkloadEntryDeletionReconciler

type WorkloadEntryDeletionReconciler interface {
	ReconcileWorkloadEntryDeletion(req reconcile.Request) error
}

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

type WorkloadEntryEventHandler

type WorkloadEntryEventHandler interface {
	CreateWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
	UpdateWorkloadEntry(old, new *networking_istio_io_v1.WorkloadEntry) error
	DeleteWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
	GenericWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
}

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

type WorkloadEntryEventHandlerFuncs

type WorkloadEntryEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1.WorkloadEntry) error
	OnUpdate  func(old, new *networking_istio_io_v1.WorkloadEntry) error
	OnDelete  func(obj *networking_istio_io_v1.WorkloadEntry) error
	OnGeneric func(obj *networking_istio_io_v1.WorkloadEntry) error
}

func (*WorkloadEntryEventHandlerFuncs) CreateWorkloadEntry

func (*WorkloadEntryEventHandlerFuncs) DeleteWorkloadEntry

func (*WorkloadEntryEventHandlerFuncs) GenericWorkloadEntry

func (*WorkloadEntryEventHandlerFuncs) UpdateWorkloadEntry

func (f *WorkloadEntryEventHandlerFuncs) UpdateWorkloadEntry(objOld, objNew *networking_istio_io_v1.WorkloadEntry) error

type WorkloadEntryEventWatcher

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

func NewWorkloadEntryEventWatcher

func NewWorkloadEntryEventWatcher(name string, mgr manager.Manager) WorkloadEntryEventWatcher

type WorkloadEntryFinalizer

type WorkloadEntryFinalizer interface {
	WorkloadEntryReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
}

Reconcile and finalize the WorkloadEntry Resource implemented by the user

type WorkloadEntryReconcileLoop

type WorkloadEntryReconcileLoop interface {
	RunWorkloadEntryReconciler(ctx context.Context, rec WorkloadEntryReconciler, predicates ...predicate.Predicate) error
}

func NewWorkloadEntryReconcileLoop

func NewWorkloadEntryReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) WorkloadEntryReconcileLoop

type WorkloadEntryReconciler

type WorkloadEntryReconciler interface {
	ReconcileWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error)
}

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

type WorkloadEntryReconcilerFuncs

type WorkloadEntryReconcilerFuncs struct {
	OnReconcileWorkloadEntry         func(obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error)
	OnReconcileWorkloadEntryDeletion func(req reconcile.Request) error
}

func (*WorkloadEntryReconcilerFuncs) ReconcileWorkloadEntry

func (*WorkloadEntryReconcilerFuncs) ReconcileWorkloadEntryDeletion

func (f *WorkloadEntryReconcilerFuncs) ReconcileWorkloadEntryDeletion(req reconcile.Request) error

type WorkloadGroupDeletionReconciler

type WorkloadGroupDeletionReconciler interface {
	ReconcileWorkloadGroupDeletion(req reconcile.Request) error
}

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

type WorkloadGroupEventHandler

type WorkloadGroupEventHandler interface {
	CreateWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
	UpdateWorkloadGroup(old, new *networking_istio_io_v1.WorkloadGroup) error
	DeleteWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
	GenericWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
}

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

type WorkloadGroupEventHandlerFuncs

type WorkloadGroupEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1.WorkloadGroup) error
	OnUpdate  func(old, new *networking_istio_io_v1.WorkloadGroup) error
	OnDelete  func(obj *networking_istio_io_v1.WorkloadGroup) error
	OnGeneric func(obj *networking_istio_io_v1.WorkloadGroup) error
}

func (*WorkloadGroupEventHandlerFuncs) CreateWorkloadGroup

func (*WorkloadGroupEventHandlerFuncs) DeleteWorkloadGroup

func (*WorkloadGroupEventHandlerFuncs) GenericWorkloadGroup

func (*WorkloadGroupEventHandlerFuncs) UpdateWorkloadGroup

func (f *WorkloadGroupEventHandlerFuncs) UpdateWorkloadGroup(objOld, objNew *networking_istio_io_v1.WorkloadGroup) error

type WorkloadGroupEventWatcher

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

func NewWorkloadGroupEventWatcher

func NewWorkloadGroupEventWatcher(name string, mgr manager.Manager) WorkloadGroupEventWatcher

type WorkloadGroupFinalizer

type WorkloadGroupFinalizer interface {
	WorkloadGroupReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
}

Reconcile and finalize the WorkloadGroup Resource implemented by the user

type WorkloadGroupReconcileLoop

type WorkloadGroupReconcileLoop interface {
	RunWorkloadGroupReconciler(ctx context.Context, rec WorkloadGroupReconciler, predicates ...predicate.Predicate) error
}

func NewWorkloadGroupReconcileLoop

func NewWorkloadGroupReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) WorkloadGroupReconcileLoop

type WorkloadGroupReconciler

type WorkloadGroupReconciler interface {
	ReconcileWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error)
}

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

type WorkloadGroupReconcilerFuncs

type WorkloadGroupReconcilerFuncs struct {
	OnReconcileWorkloadGroup         func(obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error)
	OnReconcileWorkloadGroupDeletion func(req reconcile.Request) error
}

func (*WorkloadGroupReconcilerFuncs) ReconcileWorkloadGroup

func (*WorkloadGroupReconcilerFuncs) ReconcileWorkloadGroupDeletion

func (f *WorkloadGroupReconcilerFuncs) ReconcileWorkloadGroupDeletion(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