kind

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 10

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 NewCluster

func NewCluster(name string) *Cluster

func (*Cluster) Create

func (k *Cluster) Create(args ...string) (string, error)

func (*Cluster) CreateWithConfig added in v0.0.4

func (k *Cluster) CreateWithConfig(imageName, kindConfigFile string) (string, error)

func (*Cluster) Destroy

func (k *Cluster) Destroy() error

func (*Cluster) GetKubeCtlContext

func (k *Cluster) GetKubeCtlContext() string

func (*Cluster) GetKubeconfig

func (k *Cluster) GetKubeconfig() string

GetKubeconfig returns the path of the kubeconfig file associated with this kind cluster

func (*Cluster) LoadDockerImage added in v0.0.5

func (k *Cluster) LoadDockerImage(image string) error

LoadDockerImage loads a docker image from the host into the kind cluster

func (*Cluster) LoadImageArchive added in v0.0.5

func (k *Cluster) LoadImageArchive(imageArchive string) error

LoadImageArchive loads a docker image TAR archive from the host into the kind cluster

func (*Cluster) WithVersion

func (k *Cluster) WithVersion(ver string) *Cluster

WithVersion set kind version

Jump to

Keyboard shortcuts

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