kind

package
v0.0.0-...-97238d6 Latest Latest
Warning

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

Go to latest
Published: May 29, 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 Kind

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

Kind is an object the satisfies the deployer interface.

func NewKind

func NewKind(ctl *process.Control) (*Kind, error)

NewKind creates a new kind deployer.

func (*Kind) Down

func (k *Kind) Down() error

Down tears down the cluster.

func (*Kind) DumpClusterLogs

func (k *Kind) DumpClusterLogs(localPath, gcsPath string) error

DumpClusterLogs dumps the logs for this cluster in localPath.

func (*Kind) GetClusterCreated

func (k *Kind) GetClusterCreated(gcpProject string) (time.Time, error)

GetClusterCreated is unimplemented.GetClusterCreated

func (*Kind) IsUp

func (k *Kind) IsUp() error

IsUp verifies if the cluster created by Up() is functional.

func (*Kind) KubectlCommand

func (k *Kind) KubectlCommand() (*exec.Cmd, error)

KubectlCommand returns the exec.Cmd command for kubectl.

func (*Kind) TestSetup

func (k *Kind) TestSetup() error

TestSetup is a NO-OP in this deployer.

func (*Kind) Up

func (k *Kind) Up() error

Up builds kind and the node image and then deploys a cluster based on the kind config.

Jump to

Keyboard shortcuts

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