Documentation
¶
Index ¶
- type Actuator
- func (a *Actuator) Create(ctx context.Context, machine *machinev1.Machine) error
- func (a *Actuator) Delete(ctx context.Context, machine *machinev1.Machine) error
- func (a *Actuator) Exists(ctx context.Context, machine *machinev1.Machine) (bool, error)
- func (a *Actuator) Update(ctx context.Context, machine *machinev1.Machine) error
- type ActuatorParams
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actuator ¶
type Actuator struct {
// contains filtered or unexported fields
}
Actuator performs machine reconciliation
func NewActuator ¶
func NewActuator(params ActuatorParams) *Actuator
NewActuator returns an actuator.
type ActuatorParams ¶
type ActuatorParams struct { Client controllerRuntimeClient.Client EventRecorder rec.EventRecorder IbmClientBuilder ibmclient.IbmcloudClientBuilderFuncType }
ActuatorParams holds parameter information for Actuator.
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler are list of services required by machine actuator, easy to create a fake
func (Reconciler) Close ¶
func (s Reconciler) Close() error
Close the MachineScope by persisting the machine spec, machine status after reconciling.
func (Reconciler) PatchMachine ¶
func (s Reconciler) PatchMachine() error
Click to show internal directories.
Click to hide internal directories.