gcp

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetClusterName

func SetClusterName(clusterName string) func(*Gcp)

func SetUuid

func SetUuid(uuid string) func(*Gcp)

Types

type Gcp

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

func NewGcp

func NewGcp(opts ...func(*Gcp)) (*Gcp, error)

NewGcp returns a Gcp instance.

func (*Gcp) ClusterName

func (gcp *Gcp) ClusterName() string

func (*Gcp) ConfigureSqlInstance

func (gcp *Gcp) ConfigureSqlInstance() (runtime.MysqlDb, error)

func (*Gcp) CreateK8sCluster

func (gcp *Gcp) CreateK8sCluster() (string, error)

func (*Gcp) CreateNfs

func (gcp *Gcp) CreateNfs() (runtime.Nfs, error)

func (*Gcp) CreateStorage

func (gcp *Gcp) CreateStorage() error

func (*Gcp) GetClusterList

func (gcp *Gcp) GetClusterList() ([]string, error)

func (*Gcp) RemoveCluster

func (gcp *Gcp) RemoveCluster() error

func (*Gcp) RemoveFileSystem

func (gcp *Gcp) RemoveFileSystem() error

func (*Gcp) RemoveSqlInstance

func (gcp *Gcp) RemoveSqlInstance() error

func (*Gcp) RemoveStorage

func (gcp *Gcp) RemoveStorage() error

func (*Gcp) UpdateKubeConfig

func (gcp *Gcp) UpdateKubeConfig() error

Jump to

Keyboard shortcuts

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