Documentation
¶
Index ¶
- func FormatAttachedApps(apps []mpgv1.AttachedApp) string
- func GetMpgProxyParams(ctx context.Context, localProxyPort string, username string, clusterID string, ...) (*mpgv1.ManagedCluster, *proxy.ConnectParams, ...)
- func RunAttach(ctx context.Context, clusterID string) error
- func RunBackupCreate(ctx context.Context, clusterID string) error
- func RunBackupList(ctx context.Context, clusterID string) error
- func RunConnect(ctx context.Context, clusterID string, resolvedOrgSlug string) (err error)
- func RunCreate(ctx context.Context, params *CreateClusterParams, ...) error
- func RunDatabasesCreate(ctx context.Context, clusterID string) error
- func RunDatabasesList(ctx context.Context, clusterID string) error
- func RunDestroy(ctx context.Context, clusterId string) error
- func RunDetach(ctx context.Context, clusterID string, appName string) error
- func RunList(ctx context.Context, orgSlug string) error
- func RunProxy(ctx context.Context, clusterID string, resolvedOrgSlug string) error
- func RunRestore(ctx context.Context, clusterID string) error
- func RunStatus(ctx context.Context, clusterID string) error
- func RunUsersCreate(ctx context.Context, clusterID string) error
- func RunUsersDelete(ctx context.Context, clusterID string) error
- func RunUsersList(ctx context.Context, clusterID string) error
- func RunUsersSetRole(ctx context.Context, clusterID string) error
- type CreateClusterParams
- type CreatePlanDisplay
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAttachedApps ¶
func FormatAttachedApps(apps []mpgv1.AttachedApp) string
FormatAttachedApps formats the list of attached apps for display
func GetMpgProxyParams ¶
func GetMpgProxyParams(ctx context.Context, localProxyPort string, username string, clusterID string, resolvedOrgSlug string) (*mpgv1.ManagedCluster, *proxy.ConnectParams, *mpgv1.GetManagedClusterCredentialsResponse, error)
GetMpgProxyParams builds proxy connection parameters for a given cluster. resolvedOrgSlug should already be the aliased slug suitable for wireguard tunnels.
func RunConnect ¶
func RunCreate ¶
func RunCreate(ctx context.Context, params *CreateClusterParams, planDisplay *CreatePlanDisplay) error
Types ¶
type CreateClusterParams ¶
Click to show internal directories.
Click to hide internal directories.