controller

package
v1.1.0-beta15 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 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_v1.AccessPolicy) error
	UpdateAccessPolicy(old, new *networking_mesh_gloo_solo_io_v1.AccessPolicy) error
	DeleteAccessPolicy(obj *networking_mesh_gloo_solo_io_v1.AccessPolicy) error
	GenericAccessPolicy(obj *networking_mesh_gloo_solo_io_v1.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_v1.AccessPolicy) error
	OnUpdate  func(old, new *networking_mesh_gloo_solo_io_v1.AccessPolicy) error
	OnDelete  func(obj *networking_mesh_gloo_solo_io_v1.AccessPolicy) error
	OnGeneric func(obj *networking_mesh_gloo_solo_io_v1.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_v1.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_v1.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_v1.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 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_v1.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_v1.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 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_v1.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_v1.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_v1.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_v1.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_v1.TrafficPolicy) error
	UpdateTrafficPolicy(old, new *networking_mesh_gloo_solo_io_v1.TrafficPolicy) error
	DeleteTrafficPolicy(obj *networking_mesh_gloo_solo_io_v1.TrafficPolicy) error
	GenericTrafficPolicy(obj *networking_mesh_gloo_solo_io_v1.TrafficPolicy) error
}

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

type TrafficPolicyEventHandlerFuncs

type TrafficPolicyEventHandlerFuncs struct {
	OnCreate  func(obj *networking_mesh_gloo_solo_io_v1.TrafficPolicy) error
	OnUpdate  func(old, new *networking_mesh_gloo_solo_io_v1.TrafficPolicy) error
	OnDelete  func(obj *networking_mesh_gloo_solo_io_v1.TrafficPolicy) error
	OnGeneric func(obj *networking_mesh_gloo_solo_io_v1.TrafficPolicy) error
}

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_v1.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_v1.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_v1.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_v1.VirtualMesh) error
	UpdateVirtualMesh(old, new *networking_mesh_gloo_solo_io_v1.VirtualMesh) error
	DeleteVirtualMesh(obj *networking_mesh_gloo_solo_io_v1.VirtualMesh) error
	GenericVirtualMesh(obj *networking_mesh_gloo_solo_io_v1.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_v1.VirtualMesh) error
	OnUpdate  func(old, new *networking_mesh_gloo_solo_io_v1.VirtualMesh) error
	OnDelete  func(obj *networking_mesh_gloo_solo_io_v1.VirtualMesh) error
	OnGeneric func(obj *networking_mesh_gloo_solo_io_v1.VirtualMesh) error
}

func (*VirtualMeshEventHandlerFuncs) CreateVirtualMesh

func (*VirtualMeshEventHandlerFuncs) DeleteVirtualMesh

func (*VirtualMeshEventHandlerFuncs) GenericVirtualMesh

func (*VirtualMeshEventHandlerFuncs) UpdateVirtualMesh

func (f *VirtualMeshEventHandlerFuncs) UpdateVirtualMesh(objOld, objNew *networking_mesh_gloo_solo_io_v1.VirtualMesh) error

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_v1.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_v1.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_v1.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