machine

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: MPL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ProviderName = "talos"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MachineActuator

type MachineActuator struct {
	Clientset *kubernetes.Clientset
	// contains filtered or unexported fields
}

MachineActuator is responsible for performing machine reconciliation

func NewMachineActuator

func NewMachineActuator(mgr manager.Manager, params MachineActuatorParams) (*MachineActuator, error)

NewMachineActuator creates a new Actuator

func (*MachineActuator) Create

func (a *MachineActuator) Create(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error

Create creates a machine and is invoked by the Machine Controller

func (*MachineActuator) Delete

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

Delete deletes a machine and is invoked by the Machine Controller

func (*MachineActuator) Exists

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

Exists tests for the existence of a machine and is invoked by the Machine Controller

func (*MachineActuator) Update

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

Update updates a machine and is invoked by the Machine Controller

type MachineActuatorParams

type MachineActuatorParams struct{}

MachineActuatorParams holds parameter information for Actuator

Jump to

Keyboard shortcuts

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