Documentation ¶
Index ¶
- func AttachCluster(ctx context.Context, params AttachParams) error
- func CreateCluster(ctx context.Context, org *api.Organization, region *api.Region, ...) (err error)
- func IsFlex(machine *api.Machine) bool
- func MachineVMSizes() []api.VMSize
- func New() *cobra.Command
- func UnregisterMember(ctx context.Context, app *api.AppCompact, machine *api.Machine) error
- type AttachParams
- type ClusterParams
- type PostgresConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachCluster ¶ added in v0.0.421
func AttachCluster(ctx context.Context, params AttachParams) error
AttachCluster is mean't to be called from an external package.
func CreateCluster ¶ added in v0.0.421
func CreateCluster(ctx context.Context, org *api.Organization, region *api.Region, params *ClusterParams) (err error)
CreateCluster creates a Postgres cluster with an optional name. The name will be prompted for if not supplied.
func MachineVMSizes ¶ added in v0.0.388
machineVMSizes represents the available VM configurations for Machines.
func UnregisterMember ¶ added in v0.0.451
Types ¶
type AttachParams ¶ added in v0.0.421
type ClusterParams ¶ added in v0.0.421
type ClusterParams struct { PostgresConfiguration Password string SnapshotID string Detach bool Manager string }
Click to show internal directories.
Click to hide internal directories.