machine

package
v0.0.0-...-60140be Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	UserDataKey          = "userData"
	DisableTemplatingKey = "disableTemplating"
	PostprocessorKey     = "postprocessor"

	TimeoutInstanceCreate       = 5
	TimeoutInstanceDelete       = 5
	RetryIntervalInstanceStatus = 10 * time.Second
)
View Source
const InstanceStatusAnnotationKey = "instance-status"

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenstackClient

type OpenstackClient struct {
	*openstack.DeploymentClient
	// contains filtered or unexported fields
}

func NewActuator

func NewActuator(params openstack.ActuatorParams) (*OpenstackClient, error)

func (*OpenstackClient) Create

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

func (*OpenstackClient) Delete

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

func (*OpenstackClient) Exists

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

func (*OpenstackClient) Update

func (oc *OpenstackClient) 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