clients

package
v2.21.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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 Client

type Client interface {
	Setup(ctx context.Context, log *zap.SugaredLogger) error
	CreateProject(ctx context.Context, log *zap.SugaredLogger, name string) (string, error)
	EnsureSSHKeys(ctx context.Context, log *zap.SugaredLogger) error
	CreateCluster(ctx context.Context, log *zap.SugaredLogger, scenario scenarios.Scenario) (*kubermaticv1.Cluster, error)
	CreateNodeDeployments(ctx context.Context, log *zap.SugaredLogger, scenario scenarios.Scenario, userClusterClient ctrlruntimeclient.Client, cluster *kubermaticv1.Cluster) error
	DeleteCluster(ctx context.Context, log *zap.SugaredLogger, cluster *kubermaticv1.Cluster, timeout time.Duration) error
	DeleteProject(ctx context.Context, log *zap.SugaredLogger, id string, timeout time.Duration) error
}

func NewAPIClient

func NewAPIClient(opts *ctypes.Options) Client

func NewKubeClient

func NewKubeClient(opts *ctypes.Options) Client

Jump to

Keyboard shortcuts

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