Documentation ¶
Index ¶
- type Actuator
- func (a *Actuator) Create(ctx context.Context, cluster *clusterv1.Cluster, machine *machinev1.Machine) error
- func (a *Actuator) Delete(ctx context.Context, cluster *clusterv1.Cluster, machine *machinev1.Machine) error
- func (a *Actuator) Exists(ctx context.Context, cluster *clusterv1.Cluster, machine *machinev1.Machine) (bool, error)
- func (a *Actuator) Update(ctx context.Context, cluster *clusterv1.Cluster, 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 is responsible for performing machine reconciliation.
func NewActuator ¶
func NewActuator(params ActuatorParams) *Actuator
NewActuator returns an actuator.
func (*Actuator) Create ¶
func (a *Actuator) Create(ctx context.Context, cluster *clusterv1.Cluster, machine *machinev1.Machine) error
Create creates a machine and is invoked by the machine controller.
type ActuatorParams ¶
type ActuatorParams struct { MachineClient mapiclient.MachineV1beta1Interface CoreClient controllerclient.Client EventRecorder record.EventRecorder }
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
Click to show internal directories.
Click to hide internal directories.