controllers

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointsReconciler added in v0.3.0

type EndpointsReconciler struct {
	client.Client
	Scheme           *runtime.Scheme
	Cache            cache.Cache
	UnsealerSelector labels.Selector
}

EndpointsReconciler reconciles an Endpoints object

func (*EndpointsReconciler) Reconcile added in v0.3.0

func (r *EndpointsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles the Endpoints object.

func (*EndpointsReconciler) SetupWithManager added in v0.3.0

func (r *EndpointsReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ExternalHandler added in v0.3.0

type ExternalHandler struct {
	client.Client
	Scheme *runtime.Scheme

	Cache cache.Cache
	// contains filtered or unexported fields
}

ExternalHandler handles external vaults

func (*ExternalHandler) SetupWithManager added in v0.3.0

func (r *ExternalHandler) SetupWithManager(mgr ctrl.Manager, secretsExternal []corev1.Secret) error

SetupWithManager sets up the controller with the Manager.

func (*ExternalHandler) Start added in v0.3.0

func (r *ExternalHandler) Start(ctx context.Context) error

type PodReconciler

type PodReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Cache  cache.Cache
}

PodReconciler reconciles a Pod object

func (*PodReconciler) Create

func (r *PodReconciler) Create(e event.CreateEvent) bool

Create is invoked when a new Pod is created.

func (*PodReconciler) Delete

func (r *PodReconciler) Delete(_ event.DeleteEvent) bool

Delete is invoked when a Pod is deleted.

func (*PodReconciler) Generic

func (r *PodReconciler) Generic(e event.GenericEvent) bool

Generic is invoked when a generic event occurs on a Pod.

func (*PodReconciler) Reconcile

func (r *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles the Pod object.

func (*PodReconciler) SetupWithManager

func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager, secrets []corev1.Secret) error

SetupWithManager sets up the controller with the Manager.

func (*PodReconciler) Update

func (r *PodReconciler) Update(e event.UpdateEvent) bool

Update is invoked when an existing Pod is updated.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL