controller

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 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 MeshDeletionReconciler

type MeshDeletionReconciler interface {
	ReconcileMeshDeletion(req reconcile.Request) error
}

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

type MeshEventHandler

type MeshEventHandler interface {
	CreateMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
	UpdateMesh(old, new *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
	DeleteMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
	GenericMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
}

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

type MeshEventHandlerFuncs

type MeshEventHandlerFuncs struct {
	OnCreate  func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
	OnUpdate  func(old, new *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
	OnDelete  func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
	OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
}

func (*MeshEventHandlerFuncs) CreateMesh

func (*MeshEventHandlerFuncs) DeleteMesh

func (*MeshEventHandlerFuncs) GenericMesh

func (*MeshEventHandlerFuncs) UpdateMesh

type MeshEventWatcher

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

func NewMeshEventWatcher

func NewMeshEventWatcher(name string, mgr manager.Manager) MeshEventWatcher

type MeshFinalizer

type MeshFinalizer interface {
	MeshReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) error
}

Reconcile and finalize the Mesh Resource implemented by the user

type MeshReconcileLoop

type MeshReconcileLoop interface {
	RunMeshReconciler(ctx context.Context, rec MeshReconciler, predicates ...predicate.Predicate) error
}

func NewMeshReconcileLoop

func NewMeshReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) MeshReconcileLoop

type MeshReconciler

type MeshReconciler interface {
	ReconcileMesh(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) (reconcile.Result, error)
}

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

type MeshReconcilerFuncs

type MeshReconcilerFuncs struct {
	OnReconcileMesh         func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) (reconcile.Result, error)
	OnReconcileMeshDeletion func(req reconcile.Request) error
}

func (*MeshReconcilerFuncs) ReconcileMesh

func (*MeshReconcilerFuncs) ReconcileMeshDeletion

func (f *MeshReconcilerFuncs) ReconcileMeshDeletion(req reconcile.Request) error

type MulticlusterMeshDeletionReconciler

type MulticlusterMeshDeletionReconciler interface {
	ReconcileMeshDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Mesh 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 MulticlusterMeshReconcileLoop

type MulticlusterMeshReconcileLoop interface {
	// AddMulticlusterMeshReconciler adds a MulticlusterMeshReconciler to the MulticlusterMeshReconcileLoop.
	AddMulticlusterMeshReconciler(ctx context.Context, rec MulticlusterMeshReconciler, predicates ...predicate.Predicate)
}

type MulticlusterMeshReconciler

type MulticlusterMeshReconciler interface {
	ReconcileMesh(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) (reconcile.Result, error)
}

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

type MulticlusterMeshReconcilerFuncs

type MulticlusterMeshReconcilerFuncs struct {
	OnReconcileMesh         func(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.Mesh) (reconcile.Result, error)
	OnReconcileMeshDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterMeshReconcilerFuncs) ReconcileMesh

func (*MulticlusterMeshReconcilerFuncs) ReconcileMeshDeletion

func (f *MulticlusterMeshReconcilerFuncs) ReconcileMeshDeletion(clusterName string, req reconcile.Request) error

type MulticlusterTrafficTargetDeletionReconciler

type MulticlusterTrafficTargetDeletionReconciler interface {
	ReconcileTrafficTargetDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the TrafficTarget 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 MulticlusterTrafficTargetReconcileLoop

type MulticlusterTrafficTargetReconcileLoop interface {
	// AddMulticlusterTrafficTargetReconciler adds a MulticlusterTrafficTargetReconciler to the MulticlusterTrafficTargetReconcileLoop.
	AddMulticlusterTrafficTargetReconciler(ctx context.Context, rec MulticlusterTrafficTargetReconciler, predicates ...predicate.Predicate)
}

type MulticlusterTrafficTargetReconciler

type MulticlusterTrafficTargetReconciler interface {
	ReconcileTrafficTarget(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
}

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

type MulticlusterTrafficTargetReconcilerFuncs

type MulticlusterTrafficTargetReconcilerFuncs struct {
	OnReconcileTrafficTarget         func(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
	OnReconcileTrafficTargetDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTarget

func (*MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion

func (f *MulticlusterTrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion(clusterName string, req reconcile.Request) error

type MulticlusterWorkloadDeletionReconciler

type MulticlusterWorkloadDeletionReconciler interface {
	ReconcileWorkloadDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Workload 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 MulticlusterWorkloadReconcileLoop

type MulticlusterWorkloadReconcileLoop interface {
	// AddMulticlusterWorkloadReconciler adds a MulticlusterWorkloadReconciler to the MulticlusterWorkloadReconcileLoop.
	AddMulticlusterWorkloadReconciler(ctx context.Context, rec MulticlusterWorkloadReconciler, predicates ...predicate.Predicate)
}

type MulticlusterWorkloadReconciler

type MulticlusterWorkloadReconciler interface {
	ReconcileWorkload(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) (reconcile.Result, error)
}

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

type MulticlusterWorkloadReconcilerFuncs

type MulticlusterWorkloadReconcilerFuncs struct {
	OnReconcileWorkload         func(clusterName string, obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) (reconcile.Result, error)
	OnReconcileWorkloadDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterWorkloadReconcilerFuncs) ReconcileWorkload

func (*MulticlusterWorkloadReconcilerFuncs) ReconcileWorkloadDeletion

func (f *MulticlusterWorkloadReconcilerFuncs) ReconcileWorkloadDeletion(clusterName string, req reconcile.Request) error

type TrafficTargetDeletionReconciler

type TrafficTargetDeletionReconciler interface {
	ReconcileTrafficTargetDeletion(req reconcile.Request) error
}

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

type TrafficTargetEventHandler

type TrafficTargetEventHandler interface {
	CreateTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
	UpdateTrafficTarget(old, new *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
	DeleteTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
	GenericTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
}

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

type TrafficTargetEventHandlerFuncs

type TrafficTargetEventHandlerFuncs struct {
	OnCreate  func(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
	OnUpdate  func(old, new *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
	OnDelete  func(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
	OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
}

func (*TrafficTargetEventHandlerFuncs) CreateTrafficTarget

func (*TrafficTargetEventHandlerFuncs) DeleteTrafficTarget

func (*TrafficTargetEventHandlerFuncs) GenericTrafficTarget

func (*TrafficTargetEventHandlerFuncs) UpdateTrafficTarget

type TrafficTargetEventWatcher

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

func NewTrafficTargetEventWatcher

func NewTrafficTargetEventWatcher(name string, mgr manager.Manager) TrafficTargetEventWatcher

type TrafficTargetFinalizer

type TrafficTargetFinalizer interface {
	TrafficTargetReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) error
}

Reconcile and finalize the TrafficTarget Resource implemented by the user

type TrafficTargetReconcileLoop

type TrafficTargetReconcileLoop interface {
	RunTrafficTargetReconciler(ctx context.Context, rec TrafficTargetReconciler, predicates ...predicate.Predicate) error
}

func NewTrafficTargetReconcileLoop

func NewTrafficTargetReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) TrafficTargetReconcileLoop

type TrafficTargetReconciler

type TrafficTargetReconciler interface {
	ReconcileTrafficTarget(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
}

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

type TrafficTargetReconcilerFuncs

type TrafficTargetReconcilerFuncs struct {
	OnReconcileTrafficTarget         func(obj *discovery_mesh_gloo_solo_io_v1alpha2.TrafficTarget) (reconcile.Result, error)
	OnReconcileTrafficTargetDeletion func(req reconcile.Request) error
}

func (*TrafficTargetReconcilerFuncs) ReconcileTrafficTarget

func (*TrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion

func (f *TrafficTargetReconcilerFuncs) ReconcileTrafficTargetDeletion(req reconcile.Request) error

type WorkloadDeletionReconciler

type WorkloadDeletionReconciler interface {
	ReconcileWorkloadDeletion(req reconcile.Request) error
}

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

type WorkloadEventHandler

type WorkloadEventHandler interface {
	CreateWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
	UpdateWorkload(old, new *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
	DeleteWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
	GenericWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
}

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

type WorkloadEventHandlerFuncs

type WorkloadEventHandlerFuncs struct {
	OnCreate  func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
	OnUpdate  func(old, new *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
	OnDelete  func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
	OnGeneric func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
}

func (*WorkloadEventHandlerFuncs) CreateWorkload

func (*WorkloadEventHandlerFuncs) DeleteWorkload

func (*WorkloadEventHandlerFuncs) GenericWorkload

func (*WorkloadEventHandlerFuncs) UpdateWorkload

type WorkloadEventWatcher

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

func NewWorkloadEventWatcher

func NewWorkloadEventWatcher(name string, mgr manager.Manager) WorkloadEventWatcher

type WorkloadFinalizer

type WorkloadFinalizer interface {
	WorkloadReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) error
}

Reconcile and finalize the Workload Resource implemented by the user

type WorkloadReconcileLoop

type WorkloadReconcileLoop interface {
	RunWorkloadReconciler(ctx context.Context, rec WorkloadReconciler, predicates ...predicate.Predicate) error
}

func NewWorkloadReconcileLoop

func NewWorkloadReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) WorkloadReconcileLoop

type WorkloadReconciler

type WorkloadReconciler interface {
	ReconcileWorkload(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) (reconcile.Result, error)
}

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

type WorkloadReconcilerFuncs

type WorkloadReconcilerFuncs struct {
	OnReconcileWorkload         func(obj *discovery_mesh_gloo_solo_io_v1alpha2.Workload) (reconcile.Result, error)
	OnReconcileWorkloadDeletion func(req reconcile.Request) error
}

func (*WorkloadReconcilerFuncs) ReconcileWorkload

func (*WorkloadReconcilerFuncs) ReconcileWorkloadDeletion

func (f *WorkloadReconcilerFuncs) ReconcileWorkloadDeletion(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