demo

package
v0.33.21 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K3dClient

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

func NewK3dClient

func NewK3dClient(cli docker.Client) *K3dClient

func (*K3dClient) CreateCluster

func (k *K3dClient) CreateCluster(ctx context.Context, clusterName string) error

func (*K3dClient) DeleteCluster

func (k *K3dClient) DeleteCluster(ctx context.Context, clusterName string, wait bool) error

func (*K3dClient) GenerateKubeconfig

func (k *K3dClient) GenerateKubeconfig(ctx context.Context, clusterName string) ([]byte, error)

func (*K3dClient) ListClusters

func (k *K3dClient) ListClusters(ctx context.Context) ([]string, error)

Jump to

Keyboard shortcuts

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