controller

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 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 HTTPRouteGroupDeletionReconciler

type HTTPRouteGroupDeletionReconciler interface {
	ReconcileHTTPRouteGroupDeletion(req reconcile.Request) error
}

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

type HTTPRouteGroupEventHandler

type HTTPRouteGroupEventHandler interface {
	CreateHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
	UpdateHTTPRouteGroup(old, new *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
	DeleteHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
	GenericHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
}

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

type HTTPRouteGroupEventHandlerFuncs

type HTTPRouteGroupEventHandlerFuncs struct {
	OnCreate  func(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
	OnUpdate  func(old, new *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
	OnDelete  func(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
	OnGeneric func(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
}

func (*HTTPRouteGroupEventHandlerFuncs) CreateHTTPRouteGroup

func (*HTTPRouteGroupEventHandlerFuncs) DeleteHTTPRouteGroup

func (*HTTPRouteGroupEventHandlerFuncs) GenericHTTPRouteGroup

func (*HTTPRouteGroupEventHandlerFuncs) UpdateHTTPRouteGroup

func (f *HTTPRouteGroupEventHandlerFuncs) UpdateHTTPRouteGroup(objOld, objNew *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error

type HTTPRouteGroupEventWatcher

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

func NewHTTPRouteGroupEventWatcher

func NewHTTPRouteGroupEventWatcher(name string, mgr manager.Manager) HTTPRouteGroupEventWatcher

type HTTPRouteGroupFinalizer

type HTTPRouteGroupFinalizer interface {
	HTTPRouteGroupReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) error
}

Reconcile and finalize the HTTPRouteGroup Resource implemented by the user

type HTTPRouteGroupReconcileLoop

type HTTPRouteGroupReconcileLoop interface {
	RunHTTPRouteGroupReconciler(ctx context.Context, rec HTTPRouteGroupReconciler, predicates ...predicate.Predicate) error
}

func NewHTTPRouteGroupReconcileLoop

func NewHTTPRouteGroupReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) HTTPRouteGroupReconcileLoop

type HTTPRouteGroupReconciler

type HTTPRouteGroupReconciler interface {
	ReconcileHTTPRouteGroup(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
}

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

type HTTPRouteGroupReconcilerFuncs

type HTTPRouteGroupReconcilerFuncs struct {
	OnReconcileHTTPRouteGroup         func(obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
	OnReconcileHTTPRouteGroupDeletion func(req reconcile.Request) error
}

func (*HTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroup

func (*HTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion

func (f *HTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion(req reconcile.Request) error

type MulticlusterHTTPRouteGroupDeletionReconciler

type MulticlusterHTTPRouteGroupDeletionReconciler interface {
	ReconcileHTTPRouteGroupDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the HTTPRouteGroup 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 MulticlusterHTTPRouteGroupReconcileLoop

type MulticlusterHTTPRouteGroupReconcileLoop interface {
	// AddMulticlusterHTTPRouteGroupReconciler adds a MulticlusterHTTPRouteGroupReconciler to the MulticlusterHTTPRouteGroupReconcileLoop.
	AddMulticlusterHTTPRouteGroupReconciler(ctx context.Context, rec MulticlusterHTTPRouteGroupReconciler, predicates ...predicate.Predicate)
}

type MulticlusterHTTPRouteGroupReconciler

type MulticlusterHTTPRouteGroupReconciler interface {
	ReconcileHTTPRouteGroup(clusterName string, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
}

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

type MulticlusterHTTPRouteGroupReconcilerFuncs

type MulticlusterHTTPRouteGroupReconcilerFuncs struct {
	OnReconcileHTTPRouteGroup         func(clusterName string, obj *specs_smi_spec_io_v1alpha3.HTTPRouteGroup) (reconcile.Result, error)
	OnReconcileHTTPRouteGroupDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroup

func (*MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion

func (f *MulticlusterHTTPRouteGroupReconcilerFuncs) ReconcileHTTPRouteGroupDeletion(clusterName string, 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