database

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDatabaseNotFound = errors.New("could not detect a database")
View Source
var ErrUnsupportedDatabase = errors.New("unsupported database")

Functions

func All added in v1.8.0

func All() []config.Database

func DetectDialect

func DetectDialect(ctx context.Context, client kubernetes.KubeClient) (config.Database, []v1.Pod, error)

func DetectDialectFromPod added in v1.7.0

func DetectDialectFromPod(pod v1.Pod) (config.Database, error)

func New

func New(name string) (config.Database, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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