controllers

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpintsReconciler added in v0.2.0

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

EndpintsReconciler reconciles an Endpoints object

func (*EndpintsReconciler) Reconcile added in v0.2.0

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

Reconcile reconciles the Endpoints object.

func (*EndpintsReconciler) SetupWithManager added in v0.2.0

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

SetupWithManager sets up the controller with the Manager.

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