Documentation
¶
Index ¶
- func CAPIroleToKindRole(CAPIRole string) string
- type Cluster
- type Machine
- func (m *Machine) Create(ctx context.Context, c *clusterv1.Cluster, machine *clusterv1.Machine) error
- func (m *Machine) Delete(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
- func (m *Machine) Exists(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) (bool, error)
- func (m *Machine) Update(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CAPIroleToKindRole ¶
TODO there is a better way to do this.
Types ¶
type Machine ¶
type Machine struct { Core corev1.CoreV1Interface ClusterAPI v1alpha1.ClusterV1alpha1Interface }
func NewMachineActuator ¶
func NewMachineActuator(clusterapi v1alpha1.ClusterV1alpha1Interface, core corev1.CoreV1Interface) *Machine
func (*Machine) Create ¶
func (m *Machine) Create(ctx context.Context, c *clusterv1.Cluster, machine *clusterv1.Machine) error
Have to print all the errors because cluster-api swallows them
Click to show internal directories.
Click to hide internal directories.