controller

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 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 IstioInstallationDeletionReconciler

type IstioInstallationDeletionReconciler interface {
	ReconcileIstioInstallationDeletion(req reconcile.Request) error
}

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

type IstioInstallationEventHandler

type IstioInstallationEventHandler interface {
	CreateIstioInstallation(obj *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) error
	UpdateIstioInstallation(old, new *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) error
	DeleteIstioInstallation(obj *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) error
	GenericIstioInstallation(obj *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) error
}

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

type IstioInstallationEventWatcher

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

func NewIstioInstallationEventWatcher

func NewIstioInstallationEventWatcher(name string, mgr manager.Manager) IstioInstallationEventWatcher

type IstioInstallationFinalizer

type IstioInstallationFinalizer interface {
	IstioInstallationReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeIstioInstallation(obj *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) error
}

Reconcile and finalize the IstioInstallation Resource implemented by the user

type IstioInstallationReconcileLoop

type IstioInstallationReconcileLoop interface {
	RunIstioInstallationReconciler(ctx context.Context, rec IstioInstallationReconciler, predicates ...predicate.Predicate) error
}

func NewIstioInstallationReconcileLoop

func NewIstioInstallationReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) IstioInstallationReconcileLoop

type IstioInstallationReconciler

type IstioInstallationReconciler interface {
	ReconcileIstioInstallation(obj *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) (reconcile.Result, error)
}

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

type IstioInstallationReconcilerFuncs

type IstioInstallationReconcilerFuncs struct {
	OnReconcileIstioInstallation         func(obj *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) (reconcile.Result, error)
	OnReconcileIstioInstallationDeletion func(req reconcile.Request) error
}

func (*IstioInstallationReconcilerFuncs) ReconcileIstioInstallation

func (*IstioInstallationReconcilerFuncs) ReconcileIstioInstallationDeletion

func (f *IstioInstallationReconcilerFuncs) ReconcileIstioInstallationDeletion(req reconcile.Request) error

type MulticlusterIstioInstallationDeletionReconciler

type MulticlusterIstioInstallationDeletionReconciler interface {
	ReconcileIstioInstallationDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the IstioInstallation 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 MulticlusterIstioInstallationReconcileLoop

type MulticlusterIstioInstallationReconcileLoop interface {
	// AddMulticlusterIstioInstallationReconciler adds a MulticlusterIstioInstallationReconciler to the MulticlusterIstioInstallationReconcileLoop.
	AddMulticlusterIstioInstallationReconciler(ctx context.Context, rec MulticlusterIstioInstallationReconciler, predicates ...predicate.Predicate)
}

type MulticlusterIstioInstallationReconciler

type MulticlusterIstioInstallationReconciler interface {
	ReconcileIstioInstallation(clusterName string, obj *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) (reconcile.Result, error)
}

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

type MulticlusterIstioInstallationReconcilerFuncs

type MulticlusterIstioInstallationReconcilerFuncs struct {
	OnReconcileIstioInstallation         func(clusterName string, obj *admin_enterprise_mesh_gloo_solo_io_v1alpha1.IstioInstallation) (reconcile.Result, error)
	OnReconcileIstioInstallationDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterIstioInstallationReconcilerFuncs) ReconcileIstioInstallation

func (*MulticlusterIstioInstallationReconcilerFuncs) ReconcileIstioInstallationDeletion

func (f *MulticlusterIstioInstallationReconcilerFuncs) ReconcileIstioInstallationDeletion(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