utils

package
v0.1.0-apt-prerelease.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterExists

func ClusterExists(ctx context.Context, apiClient SKEClient, projectId, clusterName string) (bool, error)

func GetDefaultPayload

func GetDefaultPayload(ctx context.Context, apiClient SKEClient) (*ske.CreateOrUpdateClusterPayload, error)

func ProjectEnabled

func ProjectEnabled(ctx context.Context, apiClient SKEClient, projectId string) (bool, error)

Types

type SKEClient

type SKEClient interface {
	GetServiceStatusExecute(ctx context.Context, projectId string) (*ske.ProjectResponse, error)
	ListClustersExecute(ctx context.Context, projectId string) (*ske.ListClustersResponse, error)
	ListProviderOptionsExecute(ctx context.Context) (*ske.ProviderOptions, error)
}

Jump to

Keyboard shortcuts

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