controller

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 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 MulticlusterSettingsDeletionReconciler

type MulticlusterSettingsDeletionReconciler interface {
	ReconcileSettingsDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Settings 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 MulticlusterSettingsReconcileLoop

type MulticlusterSettingsReconcileLoop interface {
	// AddMulticlusterSettingsReconciler adds a MulticlusterSettingsReconciler to the MulticlusterSettingsReconcileLoop.
	AddMulticlusterSettingsReconciler(ctx context.Context, rec MulticlusterSettingsReconciler, predicates ...predicate.Predicate)
}

type MulticlusterSettingsReconciler

type MulticlusterSettingsReconciler interface {
	ReconcileSettings(clusterName string, obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) (reconcile.Result, error)
}

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

type MulticlusterSettingsReconcilerFuncs

type MulticlusterSettingsReconcilerFuncs struct {
	OnReconcileSettings         func(clusterName string, obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) (reconcile.Result, error)
	OnReconcileSettingsDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterSettingsReconcilerFuncs) ReconcileSettings

func (*MulticlusterSettingsReconcilerFuncs) ReconcileSettingsDeletion

func (f *MulticlusterSettingsReconcilerFuncs) ReconcileSettingsDeletion(clusterName string, req reconcile.Request) error

type SettingsDeletionReconciler

type SettingsDeletionReconciler interface {
	ReconcileSettingsDeletion(req reconcile.Request) error
}

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

type SettingsEventHandler

type SettingsEventHandler interface {
	CreateSettings(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
	UpdateSettings(old, new *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
	DeleteSettings(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
	GenericSettings(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
}

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

type SettingsEventHandlerFuncs

type SettingsEventHandlerFuncs struct {
	OnCreate  func(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
	OnUpdate  func(old, new *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
	OnDelete  func(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
	OnGeneric func(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
}

func (*SettingsEventHandlerFuncs) CreateSettings

func (*SettingsEventHandlerFuncs) DeleteSettings

func (*SettingsEventHandlerFuncs) GenericSettings

func (*SettingsEventHandlerFuncs) UpdateSettings

type SettingsEventWatcher

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

func NewSettingsEventWatcher

func NewSettingsEventWatcher(name string, mgr manager.Manager) SettingsEventWatcher

type SettingsFinalizer

type SettingsFinalizer interface {
	SettingsReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeSettings(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) error
}

Reconcile and finalize the Settings Resource implemented by the user

type SettingsReconcileLoop

type SettingsReconcileLoop interface {
	RunSettingsReconciler(ctx context.Context, rec SettingsReconciler, predicates ...predicate.Predicate) error
}

func NewSettingsReconcileLoop

func NewSettingsReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) SettingsReconcileLoop

type SettingsReconciler

type SettingsReconciler interface {
	ReconcileSettings(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) (reconcile.Result, error)
}

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

type SettingsReconcilerFuncs

type SettingsReconcilerFuncs struct {
	OnReconcileSettings         func(obj *settings_mesh_gloo_solo_io_v1alpha2.Settings) (reconcile.Result, error)
	OnReconcileSettingsDeletion func(req reconcile.Request) error
}

func (*SettingsReconcilerFuncs) ReconcileSettings

func (*SettingsReconcilerFuncs) ReconcileSettingsDeletion

func (f *SettingsReconcilerFuncs) ReconcileSettingsDeletion(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