cluster

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: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloudsSecretKey = "clouds.yaml"
	CaSecretKey     = "cacert"
)

Variables

This section is empty.

Functions

func GetCloudFromSecret

func GetCloudFromSecret(kubeClient kubernetes.Interface, namespace string, secretName string, cloudName string) (clientconfig.Cloud, []byte, error)

Types

type Actuator

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

Actuator controls cluster related infrastructure.

func NewActuator

func NewActuator(params providerv1openstack.ActuatorParams) (*Actuator, error)

NewActuator creates a new Actuator

func (*Actuator) Delete

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

Delete deletes a cluster and is invoked by the Cluster Controller

func (*Actuator) Reconcile

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

Reconcile creates or applies updates to the cluster.

Jump to

Keyboard shortcuts

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