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
Logger logr.Logger
Recorder record.Recorder
VMProvider vmprovider.VirtualMachineProviderInterface
}
Reconciler reconciles an IaaS Image Registry Service's ContentLibraryItem object by creating/updating the corresponding VM-Service's VirtualMachineImage resource.
func NewReconciler ¶
func NewReconciler( client client.Client, logger logr.Logger, recorder record.Recorder, vmProvider vmprovider.VirtualMachineProviderInterface) *Reconciler
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(clItem *imgregv1a1.ContentLibraryItem) error
ReconcileDelete reconciles a deletion for a ContentLibraryItem resource.
func (*Reconciler) ReconcileNormal ¶
func (r *Reconciler) ReconcileNormal(ctx goctx.Context, clItem *imgregv1a1.ContentLibraryItem) error
ReconcileNormal reconciles a ContentLibraryItem resource by creating or updating the corresponding VirtualMachineImage resource.
Click to show internal directories.
Click to hide internal directories.