Documentation
¶
Index ¶
- func GetMpgProxyParams(ctx context.Context, localProxyPort string, username string, clusterID string, ...) (*mpgv2.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, orgRawSlug string, 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 RunProxy(ctx context.Context, clusterID string, resolvedOrgSlug string, ...) error
- func RunRestore(ctx context.Context, clusterID string, backupID 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 GetMpgProxyParams ¶
func GetMpgProxyParams( ctx context.Context, localProxyPort string, username string, clusterID string, resolvedOrgSlug string, ) (*mpgv2.ManagedCluster, *proxy.ConnectParams, *mpgv2.GetClusterCredentialsResponse, 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, orgRawSlug string, params *CreateClusterParams, planDisplay *CreatePlanDisplay) error
Types ¶
type CreateClusterParams ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.