lib

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Skuba

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

func NewSkuba

func NewSkuba(skuba string, username string, clusterName string, controlPlane string, debugLevel string) *Skuba

func NewSkubaFromEnv

func NewSkubaFromEnv() (*Skuba, error)

NewSkubaFromEnv builds a Skuba reading values from environment variables

func (*Skuba) Bootstrap

func (s *Skuba) Bootstrap(master00IP string, master00Name string) (*gexec.Session, error)

func (*Skuba) ClusterName

func (s *Skuba) ClusterName() string

func (*Skuba) GetClient

func (s *Skuba) GetClient() (*clientset.Clientset, error)

GetClient returns a Client for the cluster

func (*Skuba) Init

func (s *Skuba) Init() (*gexec.Session, error)

Init initializes the cluster

func (*Skuba) JoinNode

func (s *Skuba) JoinNode(nodeIP string, nodeName string, nodeRole string) (*gexec.Session, error)

func (*Skuba) RemoveNode added in v0.6.0

func (s *Skuba) RemoveNode(nodeName string) (*gexec.Session, error)

func (*Skuba) ResetNode added in v0.6.0

func (s *Skuba) ResetNode(nodeIP string) (*gexec.Session, error)

func (*Skuba) Status

func (s *Skuba) Status() (*gexec.Session, error)

Jump to

Keyboard shortcuts

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