cluster

package
v0.0.0-...-fe50fa5 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

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

func New

func New(numNodes int, externalProxy, image, masterConfigDir, networkName, nodeImageFile, version string, timeout time.Duration) (*Cluster, error)

func (*Cluster) ApiServer

func (c *Cluster) ApiServer() *kubernetes.Clientset

ApiServer returns a reference to the kubernetes client built while waiting.

func (*Cluster) CreateDockerObjects

func (c *Cluster) CreateDockerObjects() error

Create makes all docker objects in the dind cluster.

func (*Cluster) LoadImage

func (c *Cluster) LoadImage() error

func (*Cluster) StartContainers

func (c *Cluster) StartContainers() error

Start begins all containers in the dind cluster.

func (*Cluster) Up

func (c *Cluster) Up(loadImage bool) error

Up synchronously starts a cluster, reporting progress.

func (*Cluster) WaitForCluster

func (c *Cluster) WaitForCluster(timeoutTime time.Time) error

WaitForCluster waits for a cluster to start with a timeout, reporting milestones along the way.

Jump to

Keyboard shortcuts

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