controller

package
v1.0.0-beta14 Latest Latest
Warning

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

Go to latest
Published: Mar 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 MulticlusterXdsConfigDeletionReconciler

type MulticlusterXdsConfigDeletionReconciler interface {
	ReconcileXdsConfigDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the XdsConfig 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 MulticlusterXdsConfigReconcileLoop

type MulticlusterXdsConfigReconcileLoop interface {
	// AddMulticlusterXdsConfigReconciler adds a MulticlusterXdsConfigReconciler to the MulticlusterXdsConfigReconcileLoop.
	AddMulticlusterXdsConfigReconciler(ctx context.Context, rec MulticlusterXdsConfigReconciler, predicates ...predicate.Predicate)
}

type MulticlusterXdsConfigReconciler

type MulticlusterXdsConfigReconciler interface {
	ReconcileXdsConfig(clusterName string, obj *xds_agent_enterprise_mesh_gloo_solo_io_v1beta1.XdsConfig) (reconcile.Result, error)
}

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

type MulticlusterXdsConfigReconcilerFuncs

type MulticlusterXdsConfigReconcilerFuncs struct {
	OnReconcileXdsConfig         func(clusterName string, obj *xds_agent_enterprise_mesh_gloo_solo_io_v1beta1.XdsConfig) (reconcile.Result, error)
	OnReconcileXdsConfigDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterXdsConfigReconcilerFuncs) ReconcileXdsConfig

func (*MulticlusterXdsConfigReconcilerFuncs) ReconcileXdsConfigDeletion

func (f *MulticlusterXdsConfigReconcilerFuncs) ReconcileXdsConfigDeletion(clusterName string, req reconcile.Request) error

type XdsConfigDeletionReconciler

type XdsConfigDeletionReconciler interface {
	ReconcileXdsConfigDeletion(req reconcile.Request) error
}

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

type XdsConfigEventHandler

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

type XdsConfigEventWatcher

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

func NewXdsConfigEventWatcher

func NewXdsConfigEventWatcher(name string, mgr manager.Manager) XdsConfigEventWatcher

type XdsConfigFinalizer

type XdsConfigFinalizer interface {
	XdsConfigReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1beta1.XdsConfig) error
}

Reconcile and finalize the XdsConfig Resource implemented by the user

type XdsConfigReconcileLoop

type XdsConfigReconcileLoop interface {
	RunXdsConfigReconciler(ctx context.Context, rec XdsConfigReconciler, predicates ...predicate.Predicate) error
}

func NewXdsConfigReconcileLoop

func NewXdsConfigReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) XdsConfigReconcileLoop

type XdsConfigReconciler

type XdsConfigReconciler interface {
	ReconcileXdsConfig(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1beta1.XdsConfig) (reconcile.Result, error)
}

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

type XdsConfigReconcilerFuncs

type XdsConfigReconcilerFuncs struct {
	OnReconcileXdsConfig         func(obj *xds_agent_enterprise_mesh_gloo_solo_io_v1beta1.XdsConfig) (reconcile.Result, error)
	OnReconcileXdsConfigDeletion func(req reconcile.Request) error
}

func (*XdsConfigReconcilerFuncs) ReconcileXdsConfig

func (*XdsConfigReconcilerFuncs) ReconcileXdsConfigDeletion

func (f *XdsConfigReconcilerFuncs) ReconcileXdsConfigDeletion(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