Documentation
¶
Overview ¶
Package databases wires the volcano databases subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocal ¶
func NewLocal(deps cliruntime.Deps) *cobra.Command
NewLocal returns the local databases command.
func NewLocalWithOptions ¶
func NewLocalWithOptions(deps cliruntime.Deps, opts LocalOptions) *cobra.Command
NewLocalWithOptions returns the local databases command with custom options.
Types ¶
type LocalCreateDefaults ¶
LocalCreateDefaults contains local-only defaults provided by the local server.
type LocalCreateDefaultsFunc ¶
type LocalCreateDefaultsFunc func(context.Context) (LocalCreateDefaults, error)
LocalCreateDefaultsFunc resolves local-only database create defaults.
type LocalOptions ¶
type LocalOptions struct {
CreateDefaults LocalCreateDefaultsFunc
}
LocalOptions configures the local databases command.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package backup wires the volcano databases backups, restore, and backup-schedule subcommands.
|
Package backup wires the volcano databases backups, restore, and backup-schedule subcommands. |
|
Package branch wires the volcano databases branches subcommands.
|
Package branch wires the volcano databases branches subcommands. |
|
Package migration runs SQL migrations against a Volcano database connection.
|
Package migration runs SQL migrations against a Volcano database connection. |
Click to show internal directories.
Click to hide internal directories.