controller

package
v1.1.0-beta14 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 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 MulticlusterRoleBindingDeletionReconciler

type MulticlusterRoleBindingDeletionReconciler interface {
	ReconcileRoleBindingDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the RoleBinding 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 MulticlusterRoleBindingReconcileLoop

type MulticlusterRoleBindingReconcileLoop interface {
	// AddMulticlusterRoleBindingReconciler adds a MulticlusterRoleBindingReconciler to the MulticlusterRoleBindingReconcileLoop.
	AddMulticlusterRoleBindingReconciler(ctx context.Context, rec MulticlusterRoleBindingReconciler, predicates ...predicate.Predicate)
}

type MulticlusterRoleBindingReconciler

type MulticlusterRoleBindingReconciler interface {
	ReconcileRoleBinding(clusterName string, obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) (reconcile.Result, error)
}

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

type MulticlusterRoleBindingReconcilerFuncs

type MulticlusterRoleBindingReconcilerFuncs struct {
	OnReconcileRoleBinding         func(clusterName string, obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) (reconcile.Result, error)
	OnReconcileRoleBindingDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterRoleBindingReconcilerFuncs) ReconcileRoleBinding

func (*MulticlusterRoleBindingReconcilerFuncs) ReconcileRoleBindingDeletion

func (f *MulticlusterRoleBindingReconcilerFuncs) ReconcileRoleBindingDeletion(clusterName string, req reconcile.Request) error

type MulticlusterRoleDeletionReconciler

type MulticlusterRoleDeletionReconciler interface {
	ReconcileRoleDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the Role 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 MulticlusterRoleReconcileLoop

type MulticlusterRoleReconcileLoop interface {
	// AddMulticlusterRoleReconciler adds a MulticlusterRoleReconciler to the MulticlusterRoleReconcileLoop.
	AddMulticlusterRoleReconciler(ctx context.Context, rec MulticlusterRoleReconciler, predicates ...predicate.Predicate)
}

type MulticlusterRoleReconciler

type MulticlusterRoleReconciler interface {
	ReconcileRole(clusterName string, obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) (reconcile.Result, error)
}

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

type MulticlusterRoleReconcilerFuncs

type MulticlusterRoleReconcilerFuncs struct {
	OnReconcileRole         func(clusterName string, obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) (reconcile.Result, error)
	OnReconcileRoleDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterRoleReconcilerFuncs) ReconcileRole

func (*MulticlusterRoleReconcilerFuncs) ReconcileRoleDeletion

func (f *MulticlusterRoleReconcilerFuncs) ReconcileRoleDeletion(clusterName string, req reconcile.Request) error

type RoleBindingDeletionReconciler

type RoleBindingDeletionReconciler interface {
	ReconcileRoleBindingDeletion(req reconcile.Request) error
}

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

type RoleBindingEventHandler

type RoleBindingEventHandler interface {
	CreateRoleBinding(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
	UpdateRoleBinding(old, new *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
	DeleteRoleBinding(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
	GenericRoleBinding(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
}

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

type RoleBindingEventHandlerFuncs

type RoleBindingEventHandlerFuncs struct {
	OnCreate  func(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
	OnUpdate  func(old, new *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
	OnDelete  func(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
	OnGeneric func(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
}

func (*RoleBindingEventHandlerFuncs) CreateRoleBinding

func (*RoleBindingEventHandlerFuncs) DeleteRoleBinding

func (*RoleBindingEventHandlerFuncs) GenericRoleBinding

func (*RoleBindingEventHandlerFuncs) UpdateRoleBinding

type RoleBindingEventWatcher

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

func NewRoleBindingEventWatcher

func NewRoleBindingEventWatcher(name string, mgr manager.Manager) RoleBindingEventWatcher

type RoleBindingFinalizer

type RoleBindingFinalizer interface {
	RoleBindingReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeRoleBinding(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) error
}

Reconcile and finalize the RoleBinding Resource implemented by the user

type RoleBindingReconcileLoop

type RoleBindingReconcileLoop interface {
	RunRoleBindingReconciler(ctx context.Context, rec RoleBindingReconciler, predicates ...predicate.Predicate) error
}

func NewRoleBindingReconcileLoop

func NewRoleBindingReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) RoleBindingReconcileLoop

type RoleBindingReconciler

type RoleBindingReconciler interface {
	ReconcileRoleBinding(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) (reconcile.Result, error)
}

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

type RoleBindingReconcilerFuncs

type RoleBindingReconcilerFuncs struct {
	OnReconcileRoleBinding         func(obj *rbac_enterprise_mesh_gloo_solo_io_v1.RoleBinding) (reconcile.Result, error)
	OnReconcileRoleBindingDeletion func(req reconcile.Request) error
}

func (*RoleBindingReconcilerFuncs) ReconcileRoleBinding

func (*RoleBindingReconcilerFuncs) ReconcileRoleBindingDeletion

func (f *RoleBindingReconcilerFuncs) ReconcileRoleBindingDeletion(req reconcile.Request) error

type RoleDeletionReconciler

type RoleDeletionReconciler interface {
	ReconcileRoleDeletion(req reconcile.Request) error
}

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

type RoleEventHandler

type RoleEventHandler interface {
	CreateRole(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
	UpdateRole(old, new *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
	DeleteRole(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
	GenericRole(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
}

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

type RoleEventHandlerFuncs

type RoleEventHandlerFuncs struct {
	OnCreate  func(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
	OnUpdate  func(old, new *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
	OnDelete  func(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
	OnGeneric func(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
}

func (*RoleEventHandlerFuncs) CreateRole

func (*RoleEventHandlerFuncs) DeleteRole

func (*RoleEventHandlerFuncs) GenericRole

func (*RoleEventHandlerFuncs) UpdateRole

type RoleEventWatcher

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

func NewRoleEventWatcher

func NewRoleEventWatcher(name string, mgr manager.Manager) RoleEventWatcher

type RoleFinalizer

type RoleFinalizer interface {
	RoleReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeRole(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) error
}

Reconcile and finalize the Role Resource implemented by the user

type RoleReconcileLoop

type RoleReconcileLoop interface {
	RunRoleReconciler(ctx context.Context, rec RoleReconciler, predicates ...predicate.Predicate) error
}

func NewRoleReconcileLoop

func NewRoleReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) RoleReconcileLoop

type RoleReconciler

type RoleReconciler interface {
	ReconcileRole(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) (reconcile.Result, error)
}

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

type RoleReconcilerFuncs

type RoleReconcilerFuncs struct {
	OnReconcileRole         func(obj *rbac_enterprise_mesh_gloo_solo_io_v1.Role) (reconcile.Result, error)
	OnReconcileRoleDeletion func(req reconcile.Request) error
}

func (*RoleReconcilerFuncs) ReconcileRole

func (*RoleReconcilerFuncs) ReconcileRoleDeletion

func (f *RoleReconcilerFuncs) ReconcileRoleDeletion(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