Documentation
¶
Index ¶
Constants ¶
This section is empty.
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
Metrics *metrics.ContentLibraryItemMetrics
}
Reconciler reconciles an IaaS Image Registry Service's ContentLibraryItem object by creating/updating the corresponding VM-Service's VirtualMachineImage resource.
func NewReconciler ¶
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(ctx *pkgctx.ContentLibraryItemContext) error
ReconcileDelete reconciles a deletion for a ContentLibraryItem resource.
func (*Reconciler) ReconcileNormal ¶
func (r *Reconciler) ReconcileNormal(ctx *pkgctx.ContentLibraryItemContext) error
ReconcileNormal reconciles a ContentLibraryItem resource by creating or updating the corresponding VirtualMachineImage resource.
Click to show internal directories.
Click to hide internal directories.