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) CreateMachineDeployments(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 }
Client represents a client that can talk to a KKP system. This interface and the single KubeClient implementation are vestigial from the pre-2.22 era where tests could also be run using the KKP REST API.
func NewKubeClient ¶
Click to show internal directories.
Click to hide internal directories.