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