Documentation ¶
Index ¶
Constants ¶
This section is empty.
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 VMProvider vmprovider.VirtualMachineProviderInterfaceA2 Metrics *metrics.ContentLibraryItemMetrics }
Reconciler reconciles an IaaS Image Registry Service's ClusterContentLibraryItem object by creating/updating the corresponding VM-Service's ClusterVirtualMachineImage resource.
func NewReconciler ¶
func NewReconciler( ctx goctx.Context, client client.Client, logger logr.Logger, recorder record.Recorder, vmProvider vmprovider.VirtualMachineProviderInterfaceA2) *Reconciler
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(ctx *context.ClusterContentLibraryItemContextA2) error
ReconcileDelete reconciles a deletion for a ClusterContentLibraryItem resource.
func (*Reconciler) ReconcileNormal ¶
func (r *Reconciler) ReconcileNormal(ctx *context.ClusterContentLibraryItemContextA2) error
ReconcileNormal reconciles a ClusterContentLibraryItem resource by creating or updating the corresponding ClusterVirtualMachineImage resource.
Click to show internal directories.
Click to hide internal directories.