virtualmachinewebconsolerequest

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: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultExpiryTime = time.Second * 120
	UUIDLabelKey      = "vmoperator.vmware.com/webconsolerequest-uuid"
)

Variables

This section is empty.

Functions

func AddToManager

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

AddToManager adds the controller to the provided manager.

Types

type Reconciler added in v1.9.0

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

Reconciler reconciles a WebConsoleRequest object.

func NewReconciler added in v1.9.0

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

func (*Reconciler) Reconcile added in v1.9.0

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

func (*Reconciler) ReconcileEarlyNormal added in v1.9.0

func (r *Reconciler) ReconcileEarlyNormal(ctx *pkgctx.WebConsoleRequestContextV1) (bool, error)

func (*Reconciler) ReconcileNormal added in v1.9.0

func (r *Reconciler) ReconcileNormal(ctx *pkgctx.WebConsoleRequestContextV1) error

func (*Reconciler) ReconcileOwnerReferences added in v1.9.0

func (r *Reconciler) ReconcileOwnerReferences(ctx *pkgctx.WebConsoleRequestContextV1) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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