Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachineActuator ¶
type MachineActuator interface { // Create the machine. Create(*clusterv1.Cluster, *clusterv1.Machine) error // Delete the machine. Delete(*clusterv1.Machine) error // Update the machine to the provided definition. Update(c *clusterv1.Cluster, machine *clusterv1.Machine) error // Checks if the machine currently exists. Exists(*clusterv1.Machine) (bool, error) }
Controls machines on a specific cloud. All methods should be idempotent unless otherwise specified.
func NewMachineActuator ¶
func NewMachineActuator(cloud string, kubeadmToken string, machineClient client.MachineInterface) (MachineActuator, error)
Click to show internal directories.
Click to hide internal directories.