kind

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 14 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
}

Cluster represents the running state of a KIND cluster. An empty struct is enough to call Setup() on.

func (*Cluster) KubeClient

func (c *Cluster) KubeClient() kubernetes.Interface

KubeClient returns a Kubernetes client pointing at the provisioned cluster

func (*Cluster) RestConfig added in v0.1.1

func (c *Cluster) RestConfig() *restclient.Config

RestConfig returns a rest configuration pointed at the provisioned cluster

func (*Cluster) Setup

func (c *Cluster) Setup()

Setup creates a kind cluster and returns a path to the kubeconfig

func (*Cluster) Teardown

func (c *Cluster) Teardown()

Teardown attempts to delete the KIND cluster

Jump to

Keyboard shortcuts

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