database

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: GPL-3.0 Imports: 7 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 DetectDialect

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

func DetectDialectFromPod added in v1.7.0

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

func New

func New(name string) (config.Databaser, 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