persistent_volume_claim

package
v0.0.0-...-7a7d364 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CapacityAnnotation = "capacity.topolvm.io/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Client   client.Client
	Recorder record.EventRecorder
}

Reconciler reconciles a PersistentVolumeClaim object

func NewReconciler

func NewReconciler(client client.Client, eventRecorder record.EventRecorder) *Reconciler

NewReconciler returns Reconciler.

func (*Reconciler) Predicates

func (r *Reconciler) Predicates() predicate.Funcs

func (*Reconciler) Reconcile

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

Reconcile PVC

func (*Reconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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