zone

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const Finalizer = "vmoperator.vmware.com/zone-finalizer"

Finalizer is the finalizer placed on Zone objects by VM Operator.

Variables

View Source
var SkipNameValidation *bool

SkipNameValidation is used for testing to allow multiple controllers with the same name since Controller-Runtime has a global singleton registry to prevent controllers with the same name, even if attached to different managers.

Functions

func AddToManager

func AddToManager(ctx *pkgctx.ControllerManagerContext, mgr manager.Manager) error

AddToManager adds this package's controller to the provided manager.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Context  context.Context
	Logger   logr.Logger
	Recorder record.Recorder
}

Reconciler reconciles a StoragePolicyQuota object.

func NewReconciler

func NewReconciler(
	ctx context.Context,
	client client.Client,
	logger logr.Logger,
	recorder record.Recorder) *Reconciler

func (*Reconciler) Reconcile

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

func (*Reconciler) ReconcileDelete

func (r *Reconciler) ReconcileDelete(
	ctx context.Context,
	obj *topologyv1.Zone) (ctrl.Result, error)

func (*Reconciler) ReconcileNormal

func (r *Reconciler) ReconcileNormal(
	ctx context.Context,
	obj *topologyv1.Zone) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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