Documentation
¶
Index ¶
- func BaseDatabaseCommand() commands.Command
- func CreateCommand() commands.Command
- func Delete(exec commands.Executor, uuid string, disableTerminationProtection, wait bool) (output.Output, error)
- func DeleteCommand() commands.Command
- func ListCommand() commands.Command
- func PlansCommand() commands.Command
- func ShowCommand() commands.Command
- func StartCommand() commands.Command
- func StopCommand() commands.Command
- func TypesCommand() commands.Command
- func WaitForManagedDatabaseState(uuid string, state upcloud.ManagedDatabaseState, exec commands.Executor, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseDatabaseCommand ¶
BaseDatabaseCommand creates the base "database" command
func CreateCommand ¶ added in v3.19.0
func DeleteCommand ¶
DeleteCommand creates the "delete database" command
func ListCommand ¶
ListCommand creates the "database list" command
func PlansCommand ¶
PlansCommand creates the "database plans" command
func ShowCommand ¶
ShowCommand creates the "database show" command
func StartCommand ¶
StartCommand creates the "database start" command
func StopCommand ¶
StopCommand creates the "database stop" command
func TypesCommand ¶
TypesCommand creates the "database types" command
func WaitForManagedDatabaseState ¶ added in v3.24.0
func WaitForManagedDatabaseState(uuid string, state upcloud.ManagedDatabaseState, exec commands.Executor, msg string)
waitForManagedDatabaseState waits for database to reach given state and updates progress message with key matching given msg. Finally, progress message is updated back to given msg and either done state or timeout warning.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.