Documentation
¶
Index ¶
- 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 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 RunExtensionsDisable(ctx context.Context, clusterID, database, name string, force bool) error
- func RunExtensionsEnable(ctx context.Context, clusterID, database, name, schema string, ...) error
- func RunExtensionsList(ctx context.Context, clusterID, database string) error
- func RunProxy(ctx context.Context, clusterID string, resolvedOrgSlug string, ...) error
- func RunRestore(ctx context.Context, clusterID string, backupID string, name 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
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, ) (*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 RunExtensionsDisable ¶ added in v0.4.68
func RunExtensionsEnable ¶ added in v0.4.68
func RunExtensionsList ¶ added in v0.4.68
func RunRestore ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.