e2e

package
v1.28.2-0...-a3f5403 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KindCluster

type KindCluster struct {
	Name string
	// contains filtered or unexported fields
}

func CreateKindCluster

func CreateKindCluster(name, kubeconfigPath string) (*KindCluster, error)

func (*KindCluster) Delete

func (c *KindCluster) Delete() error

Delete removes the cluster from kind. The cluster may not be deleted straight away - this only issues a delete command

func (*KindCluster) Kubeconfig

func (c *KindCluster) Kubeconfig() string

Kubeconfig returns the path to the cluster kubeconfig

func (*KindCluster) Kubectl

func (c *KindCluster) Kubectl(args ...string) (string, error)

func (*KindCluster) KubectlMust

func (c *KindCluster) KubectlMust(t *testing.T, args ...string) string

func (*KindCluster) KubectlYaml

func (c *KindCluster) KubectlYaml(args ...string) (*uo.UnstructuredObject, error)

func (*KindCluster) KubectlYamlMust

func (c *KindCluster) KubectlYamlMust(t *testing.T, args ...string) *uo.UnstructuredObject

func (*KindCluster) RESTConfig

func (c *KindCluster) RESTConfig() *rest.Config

RESTConfig returns K8s client config to pass to clientset objects

Jump to

Keyboard shortcuts

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