Documentation ¶
Index ¶
- type Actuator
- func (a *Actuator) Create(parentCtx goctx.Context, cluster *clusterv1.Cluster, ...) (opErr error)
- func (a *Actuator) Delete(parentCtx goctx.Context, cluster *clusterv1.Cluster, ...) (opErr error)
- func (a *Actuator) Exists(parentCtx goctx.Context, cluster *clusterv1.Cluster, ...) (ok bool, opErr error)
- func (a *Actuator) Update(parentCtx goctx.Context, cluster *clusterv1.Cluster, ...) (opErr error)
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 maintaining the Machine objects.
func NewActuator ¶
func NewActuator( client clientv1.ClusterV1alpha1Interface, coreClient corev1.CoreV1Interface, controllerClient controllerClient.Client) *Actuator
NewActuator returns a new instance of Actuator.
func (*Actuator) Create ¶
func (a *Actuator) Create( parentCtx goctx.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) (opErr error)
Create creates a new machine.
func (*Actuator) Delete ¶
func (a *Actuator) Delete( parentCtx goctx.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) (opErr error)
Delete removes a machine.
Click to show internal directories.
Click to hide internal directories.