spawn

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeBootkubeCluster

func MakeBootkubeCluster(cloud platform.Cluster, config BootkubeConfig) (*pluton.Cluster, error)

MakeSimpleCluster brings up a multi node bootkube cluster with static etcd and checks that all nodes are registered before returning.

Types

type BootkubeConfig added in v0.4.0

type BootkubeConfig struct {
	ImageRepo      string
	ImageTag       string
	ScriptDir      string
	InitialWorkers int
	InitialMasters int
	SelfHostEtcd   bool
}

Ultimately a combination of global and test specific options passed via the harness package. We could pass those types directly but it would cause an import cycle. Could also move the GlobalOptions type up into the the pluton package.

type BootkubeManager

type BootkubeManager struct {
	platform.Cluster
	// contains filtered or unexported fields
}

func (*BootkubeManager) AddMasters

func (m *BootkubeManager) AddMasters(n int) ([]platform.Machine, error)

func (*BootkubeManager) AddWorkers

func (m *BootkubeManager) AddWorkers(n int) ([]platform.Machine, error)

Jump to

Keyboard shortcuts

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