databases

package
v0.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package databases wires the volcano databases subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(deps cliruntime.Deps) *cobra.Command

New returns the databases command.

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

type LocalCreateDefaults struct {
	Region          string
	PostgresVersion string
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL