v1alpha1

package
v1.8.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

	ProxyAddrServiceName      = "kube-apiserver-lb-svc"
	ProxyAddrServiceNamespace = "kube-system"
)

Variables

This section is empty.

Functions

func AddToManager

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

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

Types

type Reconciler

type Reconciler struct {
	client.Client
	Context      goctx.Context
	Logger       logr.Logger
	Recorder     record.Recorder
	VMProviderA2 vmprovider.VirtualMachineProviderInterfaceA2
}

Reconciler reconciles a WebConsoleRequest object.

func NewReconciler

func NewReconciler(
	ctx goctx.Context,
	client client.Client,
	logger logr.Logger,
	recorder record.Recorder,
	vmProviderA2 vmprovider.VirtualMachineProviderInterfaceA2) *Reconciler

func (*Reconciler) Reconcile

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

func (*Reconciler) ReconcileEarlyNormal

func (r *Reconciler) ReconcileEarlyNormal(ctx *context.WebConsoleRequestContext) (bool, error)

func (*Reconciler) ReconcileNormal

func (r *Reconciler) ReconcileNormal(ctx *context.WebConsoleRequestContext) error

func (*Reconciler) ReconcileOwnerReferences

func (r *Reconciler) ReconcileOwnerReferences(ctx *context.WebConsoleRequestContext) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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