external

package
v0.0.0-...-d858eb7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalClient

type ExternalClient struct {
	// contains filtered or unexported fields
}

func NewMachineActuator

func NewMachineActuator(kubeclient kubernetes.Interface, clusterclient clusterclient.Interface, machineSetupConfigPath string) (*ExternalClient, error)

func (*ExternalClient) Create

func (c *ExternalClient) Create(cluster *clusterv1.Cluster, machine *clusterv1.Machine) error

Create actuator action powers on the machine

func (*ExternalClient) Delete

func (c *ExternalClient) Delete(cluster *clusterv1.Cluster, machine *clusterv1.Machine) error

Delete actuator action powers off the machine

func (*ExternalClient) Exists

func (c *ExternalClient) Exists(cluster *clusterv1.Cluster, machine *clusterv1.Machine) (bool, error)

Exists returns true, if machine is power-on

func (*ExternalClient) Update

func (c *ExternalClient) Update(cluster *clusterv1.Cluster, goalMachine *clusterv1.Machine) error

Update does not run any code

type ExternalClusterActuator

type ExternalClusterActuator struct {
	// contains filtered or unexported fields
}

func NewClusterActuator

func NewClusterActuator(clusterclient clusterclient.Interface) (*ExternalClusterActuator, error)

func (*ExternalClusterActuator) Delete

func (a *ExternalClusterActuator) Delete(cluster *clusterv1.Cluster) error

func (*ExternalClusterActuator) Reconcile

func (a *ExternalClusterActuator) Reconcile(cluster *clusterv1.Cluster) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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