Documentation ¶
Index ¶
- Constants
- func AddToManager(ctx *context.ControllerManagerContext, mgr manager.Manager) error
- type Reconciler
- func (r *Reconciler) Reconcile(ctx goctx.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *Reconciler) ReconcileEarlyNormal(ctx *context.WebConsoleRequestContext) (bool, error)
- func (r *Reconciler) ReconcileNormal(ctx *context.WebConsoleRequestContext) error
- func (r *Reconciler) ReconcileOwnerReferences(ctx *context.WebConsoleRequestContext) error
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) 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
Click to show internal directories.
Click to hide internal directories.