kind

package
v0.0.0-...-f8710a7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

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

Deployer is an object the satisfies the kubetest main deployer interface.

func NewDeployer

func NewDeployer(ctl *process.Control, buildType string) (*Deployer, error)

NewDeployer creates a new kind deployer.

func (*Deployer) Build

func (d *Deployer) Build() error

Build handles building kubernetes / kubectl / the node image / ginkgo.

func (*Deployer) Down

func (d *Deployer) Down() error

Down tears down the cluster.

func (*Deployer) DumpClusterLogs

func (d *Deployer) DumpClusterLogs(localPath, gcsPath string) error

DumpClusterLogs dumps the logs for this cluster in localPath.

func (*Deployer) GetClusterCreated

func (d *Deployer) GetClusterCreated(gcpProject string) (time.Time, error)

GetClusterCreated is unimplemented.GetClusterCreated

func (*Deployer) IsUp

func (d *Deployer) IsUp() error

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

func (*Deployer) KubectlCommand

func (d *Deployer) KubectlCommand() (*exec.Cmd, error)

KubectlCommand returns the exec.Cmd command for kubectl.

func (*Deployer) TestSetup

func (d *Deployer) TestSetup() error

TestSetup is a NO-OP in this deployer.

func (*Deployer) Up

func (d *Deployer) Up() error

Up creates a kind cluster. Allows passing node image and config.

Jump to

Keyboard shortcuts

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