Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientWithOptions ¶
Types ¶
type Client ¶
type Client interface {
// MPGs
ListMPGRegions(ctx context.Context, orgSlug string) (uiex.ListMPGRegionsResponse, error)
ListManagedClusters(ctx context.Context, orgSlug string) (uiex.ListManagedClustersResponse, error)
GetManagedCluster(ctx context.Context, orgSlug string, id string) (uiex.GetManagedClusterResponse, error)
GetManagedClusterById(ctx context.Context, id string) (uiex.GetManagedClusterResponse, error)
CreateUser(ctx context.Context, id string, input uiex.CreateUserInput) (uiex.CreateUserResponse, error)
CreateCluster(ctx context.Context, input uiex.CreateClusterInput) (uiex.CreateClusterResponse, error)
DestroyCluster(ctx context.Context, orgSlug string, id string) error
// Builders
CreateFlyManagedBuilder(ctx context.Context, orgSlug string, region string) (uiex.CreateFlyManagedBuilderResponse, error)
}
func ClientFromContext ¶
ClientFromContext returns the Client ctx carries.
Click to show internal directories.
Click to hide internal directories.