cluster

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(req clusterapi.Request) (clusterapi.Cluster, error)

Create creates a cluster following the parameters of the request

func Delete

func Delete(name string) error

Delete deletes the infrastructure of the cluster named 'name'

func Get

func Get(name string) (clusterapi.Cluster, error)

Get returns the Cluster instance corresponding to the cluster named 'name'

func List

func List() ([]clusterapi.Cluster, error)

List lists the clusters already created

func Sanitize

func Sanitize(name string) error

Sanitize ...

Types

type BluePrint

type BluePrint struct {
	InstallGateway   func(BluePrintParameters) error
	ConfigureGateway func(BluePrintParameters) error
	CreateMasters    func(BluePrintParameters) error
	CreateNodes      func(bool, BluePrintParameters) error
	ConfigureMasters func(BluePrintParameters) error
	ConfigureNodes   func(bool, BluePrintParameters) error
	ConfigureCluster func(BluePrintParameters) error
	// contains filtered or unexported fields
}

type BluePrintParameters

type BluePrintParameters map[string]interface{}

Jump to

Keyboard shortcuts

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