kind

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider added in v0.3.0

func NewProvider() support.E2EClusterProvider

func WithImage added in v0.3.0

func WithImage(image string) support.ClusterOpts

func WithPath added in v0.3.0

func WithPath(path string) support.ClusterOpts

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(ctx context.Context, args ...string) (string, error)

func (*Cluster) CreateWithConfig added in v0.0.4

func (k *Cluster) CreateWithConfig(ctx context.Context, kindConfigFile string) (string, error)

func (*Cluster) Destroy

func (k *Cluster) Destroy(ctx context.Context) error

func (*Cluster) ExportLogs added in v0.2.0

func (k *Cluster) ExportLogs(ctx context.Context, dest string) error

ExportLogs export all cluster logs to the provided path.

func (*Cluster) GetKubeconfig

func (k *Cluster) GetKubeconfig() string

func (*Cluster) GetKubectlContext added in v0.3.0

func (k *Cluster) GetKubectlContext() string

func (*Cluster) KubernetesRestConfig added in v0.3.0

func (k *Cluster) KubernetesRestConfig() *rest.Config

func (*Cluster) LoadImage added in v0.3.0

func (k *Cluster) LoadImage(ctx context.Context, image string) error

func (*Cluster) LoadImageArchive added in v0.0.5

func (k *Cluster) LoadImageArchive(ctx context.Context, imageArchive string) error

func (*Cluster) SetDefaults added in v0.3.0

func (k *Cluster) SetDefaults() support.E2EClusterProvider

func (*Cluster) WaitForControlPlane added in v0.3.0

func (k *Cluster) WaitForControlPlane(ctx context.Context, client klient.Client) error

func (*Cluster) WithName added in v0.3.0

func (k *Cluster) WithName(name string) support.E2EClusterProvider

func (*Cluster) WithOpts added in v0.3.0

func (k *Cluster) WithOpts(opts ...support.ClusterOpts) support.E2EClusterProvider

func (*Cluster) WithPath added in v0.3.0

func (k *Cluster) WithPath(path string) support.E2EClusterProvider

func (*Cluster) WithVersion

func (k *Cluster) WithVersion(ver string) support.E2EClusterProvider

Jump to

Keyboard shortcuts

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