controller

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 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 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_v1alpha3.DestinationRule) error
	UpdateDestinationRule(old, new *networking_istio_io_v1alpha3.DestinationRule) error
	DeleteDestinationRule(obj *networking_istio_io_v1alpha3.DestinationRule) error
	GenericDestinationRule(obj *networking_istio_io_v1alpha3.DestinationRule) error
}

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

type DestinationRuleEventHandlerFuncs

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

func (*DestinationRuleEventHandlerFuncs) CreateDestinationRule

func (*DestinationRuleEventHandlerFuncs) DeleteDestinationRule

func (*DestinationRuleEventHandlerFuncs) GenericDestinationRule

func (*DestinationRuleEventHandlerFuncs) UpdateDestinationRule

func (f *DestinationRuleEventHandlerFuncs) UpdateDestinationRule(objOld, objNew *networking_istio_io_v1alpha3.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_v1alpha3.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_v1alpha3.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_v1alpha3.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 EnvoyFilterDeletionReconciler

type EnvoyFilterDeletionReconciler interface {
	ReconcileEnvoyFilterDeletion(req reconcile.Request) error
}

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

type EnvoyFilterEventHandler

type EnvoyFilterEventHandler interface {
	CreateEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
	UpdateEnvoyFilter(old, new *networking_istio_io_v1alpha3.EnvoyFilter) error
	DeleteEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
	GenericEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
}

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

type EnvoyFilterEventHandlerFuncs

type EnvoyFilterEventHandlerFuncs struct {
	OnCreate  func(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
	OnUpdate  func(old, new *networking_istio_io_v1alpha3.EnvoyFilter) error
	OnDelete  func(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
	OnGeneric func(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
}

func (*EnvoyFilterEventHandlerFuncs) CreateEnvoyFilter

func (*EnvoyFilterEventHandlerFuncs) DeleteEnvoyFilter

func (*EnvoyFilterEventHandlerFuncs) GenericEnvoyFilter

func (*EnvoyFilterEventHandlerFuncs) UpdateEnvoyFilter

func (f *EnvoyFilterEventHandlerFuncs) UpdateEnvoyFilter(objOld, objNew *networking_istio_io_v1alpha3.EnvoyFilter) error

type EnvoyFilterEventWatcher

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

func NewEnvoyFilterEventWatcher

func NewEnvoyFilterEventWatcher(name string, mgr manager.Manager) EnvoyFilterEventWatcher

type EnvoyFilterFinalizer

type EnvoyFilterFinalizer interface {
	EnvoyFilterReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) error
}

Reconcile and finalize the EnvoyFilter Resource implemented by the user

type EnvoyFilterReconcileLoop

type EnvoyFilterReconcileLoop interface {
	RunEnvoyFilterReconciler(ctx context.Context, rec EnvoyFilterReconciler, predicates ...predicate.Predicate) error
}

func NewEnvoyFilterReconcileLoop

func NewEnvoyFilterReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) EnvoyFilterReconcileLoop

type EnvoyFilterReconciler

type EnvoyFilterReconciler interface {
	ReconcileEnvoyFilter(obj *networking_istio_io_v1alpha3.EnvoyFilter) (reconcile.Result, error)
}

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

type EnvoyFilterReconcilerFuncs

type EnvoyFilterReconcilerFuncs struct {
	OnReconcileEnvoyFilter         func(obj *networking_istio_io_v1alpha3.EnvoyFilter) (reconcile.Result, error)
	OnReconcileEnvoyFilterDeletion func(req reconcile.Request) error
}

func (*EnvoyFilterReconcilerFuncs) ReconcileEnvoyFilter

func (*EnvoyFilterReconcilerFuncs) ReconcileEnvoyFilterDeletion

func (f *EnvoyFilterReconcilerFuncs) ReconcileEnvoyFilterDeletion(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_v1alpha3.Gateway) error
	UpdateGateway(old, new *networking_istio_io_v1alpha3.Gateway) error
	DeleteGateway(obj *networking_istio_io_v1alpha3.Gateway) error
	GenericGateway(obj *networking_istio_io_v1alpha3.Gateway) error
}

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

type GatewayEventHandlerFuncs

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

func (*GatewayEventHandlerFuncs) CreateGateway

func (*GatewayEventHandlerFuncs) DeleteGateway

func (*GatewayEventHandlerFuncs) GenericGateway

func (*GatewayEventHandlerFuncs) UpdateGateway

func (f *GatewayEventHandlerFuncs) UpdateGateway(objOld, objNew *networking_istio_io_v1alpha3.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_v1alpha3.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_v1alpha3.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_v1alpha3.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_v1alpha3.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_v1alpha3.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 MulticlusterEnvoyFilterDeletionReconciler

type MulticlusterEnvoyFilterDeletionReconciler interface {
	ReconcileEnvoyFilterDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the EnvoyFilter 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 MulticlusterEnvoyFilterReconcileLoop

type MulticlusterEnvoyFilterReconcileLoop interface {
	// AddMulticlusterEnvoyFilterReconciler adds a MulticlusterEnvoyFilterReconciler to the MulticlusterEnvoyFilterReconcileLoop.
	AddMulticlusterEnvoyFilterReconciler(ctx context.Context, rec MulticlusterEnvoyFilterReconciler, predicates ...predicate.Predicate)
}

type MulticlusterEnvoyFilterReconciler

type MulticlusterEnvoyFilterReconciler interface {
	ReconcileEnvoyFilter(clusterName string, obj *networking_istio_io_v1alpha3.EnvoyFilter) (reconcile.Result, error)
}

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

type MulticlusterEnvoyFilterReconcilerFuncs

type MulticlusterEnvoyFilterReconcilerFuncs struct {
	OnReconcileEnvoyFilter         func(clusterName string, obj *networking_istio_io_v1alpha3.EnvoyFilter) (reconcile.Result, error)
	OnReconcileEnvoyFilterDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterEnvoyFilterReconcilerFuncs) ReconcileEnvoyFilter

func (*MulticlusterEnvoyFilterReconcilerFuncs) ReconcileEnvoyFilterDeletion

func (f *MulticlusterEnvoyFilterReconcilerFuncs) ReconcileEnvoyFilterDeletion(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_v1alpha3.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_v1alpha3.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_v1alpha3.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_v1alpha3.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 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_v1alpha3.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_v1alpha3.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 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_v1alpha3.ServiceEntry) error
	UpdateServiceEntry(old, new *networking_istio_io_v1alpha3.ServiceEntry) error
	DeleteServiceEntry(obj *networking_istio_io_v1alpha3.ServiceEntry) error
	GenericServiceEntry(obj *networking_istio_io_v1alpha3.ServiceEntry) error
}

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

type ServiceEntryEventHandlerFuncs

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

func (*ServiceEntryEventHandlerFuncs) CreateServiceEntry

func (*ServiceEntryEventHandlerFuncs) DeleteServiceEntry

func (*ServiceEntryEventHandlerFuncs) GenericServiceEntry

func (*ServiceEntryEventHandlerFuncs) UpdateServiceEntry

func (f *ServiceEntryEventHandlerFuncs) UpdateServiceEntry(objOld, objNew *networking_istio_io_v1alpha3.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_v1alpha3.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_v1alpha3.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_v1alpha3.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 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_v1alpha3.VirtualService) error
	UpdateVirtualService(old, new *networking_istio_io_v1alpha3.VirtualService) error
	DeleteVirtualService(obj *networking_istio_io_v1alpha3.VirtualService) error
	GenericVirtualService(obj *networking_istio_io_v1alpha3.VirtualService) error
}

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

type VirtualServiceEventHandlerFuncs

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

func (*VirtualServiceEventHandlerFuncs) CreateVirtualService

func (*VirtualServiceEventHandlerFuncs) DeleteVirtualService

func (*VirtualServiceEventHandlerFuncs) GenericVirtualService

func (*VirtualServiceEventHandlerFuncs) UpdateVirtualService

func (f *VirtualServiceEventHandlerFuncs) UpdateVirtualService(objOld, objNew *networking_istio_io_v1alpha3.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_v1alpha3.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_v1alpha3.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_v1alpha3.VirtualService) (reconcile.Result, error)
	OnReconcileVirtualServiceDeletion func(req reconcile.Request) error
}

func (*VirtualServiceReconcilerFuncs) ReconcileVirtualService

func (*VirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion

func (f *VirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion(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