controller

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 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 AccessPolicyDeletionReconciler

type AccessPolicyDeletionReconciler interface {
	ReconcileAccessPolicyDeletion(req reconcile.Request) error
}

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

type AccessPolicyEventHandler

type AccessPolicyEventHandler interface {
	CreateAccessPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
	UpdateAccessPolicy(old, new *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
	DeleteAccessPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
	GenericAccessPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
}

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

type AccessPolicyEventHandlerFuncs

type AccessPolicyEventHandlerFuncs struct {
	OnCreate  func(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
	OnUpdate  func(old, new *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
	OnDelete  func(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
	OnGeneric func(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
}

func (*AccessPolicyEventHandlerFuncs) CreateAccessPolicy

func (*AccessPolicyEventHandlerFuncs) DeleteAccessPolicy

func (*AccessPolicyEventHandlerFuncs) GenericAccessPolicy

func (*AccessPolicyEventHandlerFuncs) UpdateAccessPolicy

type AccessPolicyEventWatcher

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

func NewAccessPolicyEventWatcher

func NewAccessPolicyEventWatcher(name string, mgr manager.Manager) AccessPolicyEventWatcher

type AccessPolicyFinalizer

type AccessPolicyFinalizer interface {
	AccessPolicyReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeAccessPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) error
}

Reconcile and finalize the AccessPolicy Resource implemented by the user

type AccessPolicyReconcileLoop

type AccessPolicyReconcileLoop interface {
	RunAccessPolicyReconciler(ctx context.Context, rec AccessPolicyReconciler, predicates ...predicate.Predicate) error
}

func NewAccessPolicyReconcileLoop

func NewAccessPolicyReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) AccessPolicyReconcileLoop

type AccessPolicyReconciler

type AccessPolicyReconciler interface {
	ReconcileAccessPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) (reconcile.Result, error)
}

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

type AccessPolicyReconcilerFuncs

type AccessPolicyReconcilerFuncs struct {
	OnReconcileAccessPolicy         func(obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) (reconcile.Result, error)
	OnReconcileAccessPolicyDeletion func(req reconcile.Request) error
}

func (*AccessPolicyReconcilerFuncs) ReconcileAccessPolicy

func (*AccessPolicyReconcilerFuncs) ReconcileAccessPolicyDeletion

func (f *AccessPolicyReconcilerFuncs) ReconcileAccessPolicyDeletion(req reconcile.Request) error

type FailoverServiceDeletionReconciler

type FailoverServiceDeletionReconciler interface {
	ReconcileFailoverServiceDeletion(req reconcile.Request) error
}

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

type FailoverServiceEventHandler

type FailoverServiceEventHandler interface {
	CreateFailoverService(obj *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) error
	UpdateFailoverService(old, new *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) error
	DeleteFailoverService(obj *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) error
	GenericFailoverService(obj *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) error
}

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

type FailoverServiceEventHandlerFuncs

func (*FailoverServiceEventHandlerFuncs) CreateFailoverService

func (*FailoverServiceEventHandlerFuncs) DeleteFailoverService

func (*FailoverServiceEventHandlerFuncs) GenericFailoverService

func (*FailoverServiceEventHandlerFuncs) UpdateFailoverService

type FailoverServiceEventWatcher

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

func NewFailoverServiceEventWatcher

func NewFailoverServiceEventWatcher(name string, mgr manager.Manager) FailoverServiceEventWatcher

type FailoverServiceFinalizer

type FailoverServiceFinalizer interface {
	FailoverServiceReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeFailoverService(obj *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) error
}

Reconcile and finalize the FailoverService Resource implemented by the user

type FailoverServiceReconcileLoop

type FailoverServiceReconcileLoop interface {
	RunFailoverServiceReconciler(ctx context.Context, rec FailoverServiceReconciler, predicates ...predicate.Predicate) error
}

func NewFailoverServiceReconcileLoop

func NewFailoverServiceReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) FailoverServiceReconcileLoop

type FailoverServiceReconciler

type FailoverServiceReconciler interface {
	ReconcileFailoverService(obj *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) (reconcile.Result, error)
}

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

type FailoverServiceReconcilerFuncs

type FailoverServiceReconcilerFuncs struct {
	OnReconcileFailoverService         func(obj *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) (reconcile.Result, error)
	OnReconcileFailoverServiceDeletion func(req reconcile.Request) error
}

func (*FailoverServiceReconcilerFuncs) ReconcileFailoverService

func (*FailoverServiceReconcilerFuncs) ReconcileFailoverServiceDeletion

func (f *FailoverServiceReconcilerFuncs) ReconcileFailoverServiceDeletion(req reconcile.Request) error

type MulticlusterAccessPolicyDeletionReconciler

type MulticlusterAccessPolicyDeletionReconciler interface {
	ReconcileAccessPolicyDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the AccessPolicy 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 MulticlusterAccessPolicyReconcileLoop

type MulticlusterAccessPolicyReconcileLoop interface {
	// AddMulticlusterAccessPolicyReconciler adds a MulticlusterAccessPolicyReconciler to the MulticlusterAccessPolicyReconcileLoop.
	AddMulticlusterAccessPolicyReconciler(ctx context.Context, rec MulticlusterAccessPolicyReconciler, predicates ...predicate.Predicate)
}

type MulticlusterAccessPolicyReconciler

type MulticlusterAccessPolicyReconciler interface {
	ReconcileAccessPolicy(clusterName string, obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) (reconcile.Result, error)
}

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

type MulticlusterAccessPolicyReconcilerFuncs

type MulticlusterAccessPolicyReconcilerFuncs struct {
	OnReconcileAccessPolicy         func(clusterName string, obj *networking_mesh_gloo_solo_io_v1alpha2.AccessPolicy) (reconcile.Result, error)
	OnReconcileAccessPolicyDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterAccessPolicyReconcilerFuncs) ReconcileAccessPolicy

func (*MulticlusterAccessPolicyReconcilerFuncs) ReconcileAccessPolicyDeletion

func (f *MulticlusterAccessPolicyReconcilerFuncs) ReconcileAccessPolicyDeletion(clusterName string, req reconcile.Request) error

type MulticlusterFailoverServiceDeletionReconciler

type MulticlusterFailoverServiceDeletionReconciler interface {
	ReconcileFailoverServiceDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the FailoverService 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 MulticlusterFailoverServiceReconcileLoop

type MulticlusterFailoverServiceReconcileLoop interface {
	// AddMulticlusterFailoverServiceReconciler adds a MulticlusterFailoverServiceReconciler to the MulticlusterFailoverServiceReconcileLoop.
	AddMulticlusterFailoverServiceReconciler(ctx context.Context, rec MulticlusterFailoverServiceReconciler, predicates ...predicate.Predicate)
}

type MulticlusterFailoverServiceReconciler

type MulticlusterFailoverServiceReconciler interface {
	ReconcileFailoverService(clusterName string, obj *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) (reconcile.Result, error)
}

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

type MulticlusterFailoverServiceReconcilerFuncs

type MulticlusterFailoverServiceReconcilerFuncs struct {
	OnReconcileFailoverService         func(clusterName string, obj *networking_mesh_gloo_solo_io_v1alpha2.FailoverService) (reconcile.Result, error)
	OnReconcileFailoverServiceDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterFailoverServiceReconcilerFuncs) ReconcileFailoverService

func (*MulticlusterFailoverServiceReconcilerFuncs) ReconcileFailoverServiceDeletion

func (f *MulticlusterFailoverServiceReconcilerFuncs) ReconcileFailoverServiceDeletion(clusterName string, req reconcile.Request) error

type MulticlusterTrafficPolicyDeletionReconciler

type MulticlusterTrafficPolicyDeletionReconciler interface {
	ReconcileTrafficPolicyDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the TrafficPolicy 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 MulticlusterTrafficPolicyReconcileLoop

type MulticlusterTrafficPolicyReconcileLoop interface {
	// AddMulticlusterTrafficPolicyReconciler adds a MulticlusterTrafficPolicyReconciler to the MulticlusterTrafficPolicyReconcileLoop.
	AddMulticlusterTrafficPolicyReconciler(ctx context.Context, rec MulticlusterTrafficPolicyReconciler, predicates ...predicate.Predicate)
}

type MulticlusterTrafficPolicyReconciler

type MulticlusterTrafficPolicyReconciler interface {
	ReconcileTrafficPolicy(clusterName string, obj *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) (reconcile.Result, error)
}

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

type MulticlusterTrafficPolicyReconcilerFuncs

type MulticlusterTrafficPolicyReconcilerFuncs struct {
	OnReconcileTrafficPolicy         func(clusterName string, obj *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) (reconcile.Result, error)
	OnReconcileTrafficPolicyDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterTrafficPolicyReconcilerFuncs) ReconcileTrafficPolicy

func (*MulticlusterTrafficPolicyReconcilerFuncs) ReconcileTrafficPolicyDeletion

func (f *MulticlusterTrafficPolicyReconcilerFuncs) ReconcileTrafficPolicyDeletion(clusterName string, req reconcile.Request) error

type MulticlusterVirtualMeshDeletionReconciler

type MulticlusterVirtualMeshDeletionReconciler interface {
	ReconcileVirtualMeshDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the VirtualMesh 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 MulticlusterVirtualMeshReconcileLoop

type MulticlusterVirtualMeshReconcileLoop interface {
	// AddMulticlusterVirtualMeshReconciler adds a MulticlusterVirtualMeshReconciler to the MulticlusterVirtualMeshReconcileLoop.
	AddMulticlusterVirtualMeshReconciler(ctx context.Context, rec MulticlusterVirtualMeshReconciler, predicates ...predicate.Predicate)
}

type MulticlusterVirtualMeshReconciler

type MulticlusterVirtualMeshReconciler interface {
	ReconcileVirtualMesh(clusterName string, obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) (reconcile.Result, error)
}

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

type MulticlusterVirtualMeshReconcilerFuncs

type MulticlusterVirtualMeshReconcilerFuncs struct {
	OnReconcileVirtualMesh         func(clusterName string, obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) (reconcile.Result, error)
	OnReconcileVirtualMeshDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterVirtualMeshReconcilerFuncs) ReconcileVirtualMesh

func (*MulticlusterVirtualMeshReconcilerFuncs) ReconcileVirtualMeshDeletion

func (f *MulticlusterVirtualMeshReconcilerFuncs) ReconcileVirtualMeshDeletion(clusterName string, req reconcile.Request) error

type TrafficPolicyDeletionReconciler

type TrafficPolicyDeletionReconciler interface {
	ReconcileTrafficPolicyDeletion(req reconcile.Request) error
}

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

type TrafficPolicyEventHandler

type TrafficPolicyEventHandler interface {
	CreateTrafficPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) error
	UpdateTrafficPolicy(old, new *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) error
	DeleteTrafficPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) error
	GenericTrafficPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) error
}

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

type TrafficPolicyEventHandlerFuncs

func (*TrafficPolicyEventHandlerFuncs) CreateTrafficPolicy

func (*TrafficPolicyEventHandlerFuncs) DeleteTrafficPolicy

func (*TrafficPolicyEventHandlerFuncs) GenericTrafficPolicy

func (*TrafficPolicyEventHandlerFuncs) UpdateTrafficPolicy

type TrafficPolicyEventWatcher

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

func NewTrafficPolicyEventWatcher

func NewTrafficPolicyEventWatcher(name string, mgr manager.Manager) TrafficPolicyEventWatcher

type TrafficPolicyFinalizer

type TrafficPolicyFinalizer interface {
	TrafficPolicyReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeTrafficPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) error
}

Reconcile and finalize the TrafficPolicy Resource implemented by the user

type TrafficPolicyReconcileLoop

type TrafficPolicyReconcileLoop interface {
	RunTrafficPolicyReconciler(ctx context.Context, rec TrafficPolicyReconciler, predicates ...predicate.Predicate) error
}

func NewTrafficPolicyReconcileLoop

func NewTrafficPolicyReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) TrafficPolicyReconcileLoop

type TrafficPolicyReconciler

type TrafficPolicyReconciler interface {
	ReconcileTrafficPolicy(obj *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) (reconcile.Result, error)
}

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

type TrafficPolicyReconcilerFuncs

type TrafficPolicyReconcilerFuncs struct {
	OnReconcileTrafficPolicy         func(obj *networking_mesh_gloo_solo_io_v1alpha2.TrafficPolicy) (reconcile.Result, error)
	OnReconcileTrafficPolicyDeletion func(req reconcile.Request) error
}

func (*TrafficPolicyReconcilerFuncs) ReconcileTrafficPolicy

func (*TrafficPolicyReconcilerFuncs) ReconcileTrafficPolicyDeletion

func (f *TrafficPolicyReconcilerFuncs) ReconcileTrafficPolicyDeletion(req reconcile.Request) error

type VirtualMeshDeletionReconciler

type VirtualMeshDeletionReconciler interface {
	ReconcileVirtualMeshDeletion(req reconcile.Request) error
}

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

type VirtualMeshEventHandler

type VirtualMeshEventHandler interface {
	CreateVirtualMesh(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
	UpdateVirtualMesh(old, new *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
	DeleteVirtualMesh(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
	GenericVirtualMesh(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
}

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

type VirtualMeshEventHandlerFuncs

type VirtualMeshEventHandlerFuncs struct {
	OnCreate  func(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
	OnUpdate  func(old, new *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
	OnDelete  func(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
	OnGeneric func(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
}

func (*VirtualMeshEventHandlerFuncs) CreateVirtualMesh

func (*VirtualMeshEventHandlerFuncs) DeleteVirtualMesh

func (*VirtualMeshEventHandlerFuncs) GenericVirtualMesh

func (*VirtualMeshEventHandlerFuncs) UpdateVirtualMesh

type VirtualMeshEventWatcher

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

func NewVirtualMeshEventWatcher

func NewVirtualMeshEventWatcher(name string, mgr manager.Manager) VirtualMeshEventWatcher

type VirtualMeshFinalizer

type VirtualMeshFinalizer interface {
	VirtualMeshReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeVirtualMesh(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) error
}

Reconcile and finalize the VirtualMesh Resource implemented by the user

type VirtualMeshReconcileLoop

type VirtualMeshReconcileLoop interface {
	RunVirtualMeshReconciler(ctx context.Context, rec VirtualMeshReconciler, predicates ...predicate.Predicate) error
}

func NewVirtualMeshReconcileLoop

func NewVirtualMeshReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) VirtualMeshReconcileLoop

type VirtualMeshReconciler

type VirtualMeshReconciler interface {
	ReconcileVirtualMesh(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) (reconcile.Result, error)
}

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

type VirtualMeshReconcilerFuncs

type VirtualMeshReconcilerFuncs struct {
	OnReconcileVirtualMesh         func(obj *networking_mesh_gloo_solo_io_v1alpha2.VirtualMesh) (reconcile.Result, error)
	OnReconcileVirtualMeshDeletion func(req reconcile.Request) error
}

func (*VirtualMeshReconcilerFuncs) ReconcileVirtualMesh

func (*VirtualMeshReconcilerFuncs) ReconcileVirtualMeshDeletion

func (f *VirtualMeshReconcilerFuncs) ReconcileVirtualMeshDeletion(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