controller

package
v1.1.0-beta32 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 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 DashboardDeletionReconciler added in v1.1.0

type DashboardDeletionReconciler interface {
	ReconcileDashboardDeletion(req reconcile.Request) error
}

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

type DashboardEventHandler added in v1.1.0

type DashboardEventHandler interface {
	CreateDashboard(obj *settings_mesh_gloo_solo_io_v1.Dashboard) error
	UpdateDashboard(old, new *settings_mesh_gloo_solo_io_v1.Dashboard) error
	DeleteDashboard(obj *settings_mesh_gloo_solo_io_v1.Dashboard) error
	GenericDashboard(obj *settings_mesh_gloo_solo_io_v1.Dashboard) error
}

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

type DashboardEventHandlerFuncs added in v1.1.0

type DashboardEventHandlerFuncs struct {
	OnCreate  func(obj *settings_mesh_gloo_solo_io_v1.Dashboard) error
	OnUpdate  func(old, new *settings_mesh_gloo_solo_io_v1.Dashboard) error
	OnDelete  func(obj *settings_mesh_gloo_solo_io_v1.Dashboard) error
	OnGeneric func(obj *settings_mesh_gloo_solo_io_v1.Dashboard) error
}

func (*DashboardEventHandlerFuncs) CreateDashboard added in v1.1.0

func (*DashboardEventHandlerFuncs) DeleteDashboard added in v1.1.0

func (*DashboardEventHandlerFuncs) GenericDashboard added in v1.1.0

func (*DashboardEventHandlerFuncs) UpdateDashboard added in v1.1.0

func (f *DashboardEventHandlerFuncs) UpdateDashboard(objOld, objNew *settings_mesh_gloo_solo_io_v1.Dashboard) error

type DashboardEventWatcher added in v1.1.0

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

func NewDashboardEventWatcher added in v1.1.0

func NewDashboardEventWatcher(name string, mgr manager.Manager) DashboardEventWatcher

type DashboardFinalizer added in v1.1.0

type DashboardFinalizer interface {
	DashboardReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeDashboard(obj *settings_mesh_gloo_solo_io_v1.Dashboard) error
}

Reconcile and finalize the Dashboard Resource implemented by the user

type DashboardReconcileLoop added in v1.1.0

type DashboardReconcileLoop interface {
	RunDashboardReconciler(ctx context.Context, rec DashboardReconciler, predicates ...predicate.Predicate) error
}

func NewDashboardReconcileLoop added in v1.1.0

func NewDashboardReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) DashboardReconcileLoop

type DashboardReconciler added in v1.1.0

type DashboardReconciler interface {
	ReconcileDashboard(obj *settings_mesh_gloo_solo_io_v1.Dashboard) (reconcile.Result, error)
}

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

type DashboardReconcilerFuncs added in v1.1.0

type DashboardReconcilerFuncs struct {
	OnReconcileDashboard         func(obj *settings_mesh_gloo_solo_io_v1.Dashboard) (reconcile.Result, error)
	OnReconcileDashboardDeletion func(req reconcile.Request) error
}

func (*DashboardReconcilerFuncs) ReconcileDashboard added in v1.1.0

func (*DashboardReconcilerFuncs) ReconcileDashboardDeletion added in v1.1.0

func (f *DashboardReconcilerFuncs) ReconcileDashboardDeletion(req reconcile.Request) error

type MulticlusterDashboardDeletionReconciler added in v1.1.0

type MulticlusterDashboardDeletionReconciler interface {
	ReconcileDashboardDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Dashboard 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 MulticlusterDashboardReconcileLoop added in v1.1.0

type MulticlusterDashboardReconcileLoop interface {
	// AddMulticlusterDashboardReconciler adds a MulticlusterDashboardReconciler to the MulticlusterDashboardReconcileLoop.
	AddMulticlusterDashboardReconciler(ctx context.Context, rec MulticlusterDashboardReconciler, predicates ...predicate.Predicate)
}

func NewMulticlusterDashboardReconcileLoop added in v1.1.0

func NewMulticlusterDashboardReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterDashboardReconcileLoop

type MulticlusterDashboardReconciler added in v1.1.0

type MulticlusterDashboardReconciler interface {
	ReconcileDashboard(clusterName string, obj *settings_mesh_gloo_solo_io_v1.Dashboard) (reconcile.Result, error)
}

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

type MulticlusterDashboardReconcilerFuncs added in v1.1.0

type MulticlusterDashboardReconcilerFuncs struct {
	OnReconcileDashboard         func(clusterName string, obj *settings_mesh_gloo_solo_io_v1.Dashboard) (reconcile.Result, error)
	OnReconcileDashboardDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterDashboardReconcilerFuncs) ReconcileDashboard added in v1.1.0

func (*MulticlusterDashboardReconcilerFuncs) ReconcileDashboardDeletion added in v1.1.0

func (f *MulticlusterDashboardReconcilerFuncs) ReconcileDashboardDeletion(clusterName string, req reconcile.Request) error

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_v1.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_v1.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_v1.Settings) error
	UpdateSettings(old, new *settings_mesh_gloo_solo_io_v1.Settings) error
	DeleteSettings(obj *settings_mesh_gloo_solo_io_v1.Settings) error
	GenericSettings(obj *settings_mesh_gloo_solo_io_v1.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_v1.Settings) error
	OnUpdate  func(old, new *settings_mesh_gloo_solo_io_v1.Settings) error
	OnDelete  func(obj *settings_mesh_gloo_solo_io_v1.Settings) error
	OnGeneric func(obj *settings_mesh_gloo_solo_io_v1.Settings) error
}

func (*SettingsEventHandlerFuncs) CreateSettings

func (*SettingsEventHandlerFuncs) DeleteSettings

func (*SettingsEventHandlerFuncs) GenericSettings

func (*SettingsEventHandlerFuncs) UpdateSettings

func (f *SettingsEventHandlerFuncs) UpdateSettings(objOld, objNew *settings_mesh_gloo_solo_io_v1.Settings) error

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