databases

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 13 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 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