actuators

package
v0.0.0-...-cbf3654 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CAPIroleToKindRole

func CAPIroleToKindRole(CAPIRole string) string

TODO there is a better way to do this.

Types

type Cluster

type Cluster struct{}

func NewClusterActuator

func NewClusterActuator() *Cluster

func (*Cluster) Delete

func (c *Cluster) Delete(cluster *clusterv1.Cluster) error

func (*Cluster) Reconcile

func (c *Cluster) Reconcile(cluster *clusterv1.Cluster) error

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

func (*Machine) Delete

func (m *Machine) Delete(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error

func (*Machine) Exists

func (m *Machine) Exists(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) (bool, error)

func (*Machine) Update

func (m *Machine) Update(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL