controller

package
v1.0.0-beta8 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 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 AccessLogRecordDeletionReconciler

type AccessLogRecordDeletionReconciler interface {
	ReconcileAccessLogRecordDeletion(req reconcile.Request) error
}

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

type AccessLogRecordEventHandler

type AccessLogRecordEventHandler interface {
	CreateAccessLogRecord(obj *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) error
	UpdateAccessLogRecord(old, new *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) error
	DeleteAccessLogRecord(obj *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) error
	GenericAccessLogRecord(obj *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) error
}

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

type AccessLogRecordEventWatcher

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

func NewAccessLogRecordEventWatcher

func NewAccessLogRecordEventWatcher(name string, mgr manager.Manager) AccessLogRecordEventWatcher

type AccessLogRecordFinalizer

type AccessLogRecordFinalizer interface {
	AccessLogRecordReconciler

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

	// finalize the object before it is deleted.
	// Watchers created with a finalizing handler will a
	FinalizeAccessLogRecord(obj *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) error
}

Reconcile and finalize the AccessLogRecord Resource implemented by the user

type AccessLogRecordReconcileLoop

type AccessLogRecordReconcileLoop interface {
	RunAccessLogRecordReconciler(ctx context.Context, rec AccessLogRecordReconciler, predicates ...predicate.Predicate) error
}

func NewAccessLogRecordReconcileLoop

func NewAccessLogRecordReconcileLoop(name string, mgr manager.Manager, options reconcile.Options) AccessLogRecordReconcileLoop

type AccessLogRecordReconciler

type AccessLogRecordReconciler interface {
	ReconcileAccessLogRecord(obj *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) (reconcile.Result, error)
}

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

type AccessLogRecordReconcilerFuncs

type AccessLogRecordReconcilerFuncs struct {
	OnReconcileAccessLogRecord         func(obj *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) (reconcile.Result, error)
	OnReconcileAccessLogRecordDeletion func(req reconcile.Request) error
}

func (*AccessLogRecordReconcilerFuncs) ReconcileAccessLogRecord

func (*AccessLogRecordReconcilerFuncs) ReconcileAccessLogRecordDeletion

func (f *AccessLogRecordReconcilerFuncs) ReconcileAccessLogRecordDeletion(req reconcile.Request) error

type MulticlusterAccessLogRecordDeletionReconciler

type MulticlusterAccessLogRecordDeletionReconciler interface {
	ReconcileAccessLogRecordDeletion(clusterName string, req reconcile.Request) error
}

Reconcile deletion events for the AccessLogRecord 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 MulticlusterAccessLogRecordReconcileLoop

type MulticlusterAccessLogRecordReconcileLoop interface {
	// AddMulticlusterAccessLogRecordReconciler adds a MulticlusterAccessLogRecordReconciler to the MulticlusterAccessLogRecordReconcileLoop.
	AddMulticlusterAccessLogRecordReconciler(ctx context.Context, rec MulticlusterAccessLogRecordReconciler, predicates ...predicate.Predicate)
}

type MulticlusterAccessLogRecordReconciler

type MulticlusterAccessLogRecordReconciler interface {
	ReconcileAccessLogRecord(clusterName string, obj *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) (reconcile.Result, error)
}

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

type MulticlusterAccessLogRecordReconcilerFuncs

type MulticlusterAccessLogRecordReconcilerFuncs struct {
	OnReconcileAccessLogRecord         func(clusterName string, obj *observability_enterprise_mesh_gloo_solo_io_v1.AccessLogRecord) (reconcile.Result, error)
	OnReconcileAccessLogRecordDeletion func(clusterName string, req reconcile.Request) error
}

func (*MulticlusterAccessLogRecordReconcilerFuncs) ReconcileAccessLogRecord

func (*MulticlusterAccessLogRecordReconcilerFuncs) ReconcileAccessLogRecordDeletion

func (f *MulticlusterAccessLogRecordReconcilerFuncs) ReconcileAccessLogRecordDeletion(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