postgres

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postgres

type Postgres struct{}

func (Postgres) Aliases added in v1.12.0

func (Postgres) Aliases() []string

func (Postgres) AnalyzeQuery

func (Postgres) AnalyzeQuery() string

func (Postgres) DatabaseEnvNames

func (Postgres) DatabaseEnvNames() kubernetes.ConfigLookups

func (Postgres) DefaultPort

func (Postgres) DefaultPort() uint16

func (Postgres) DefaultUser

func (Postgres) DefaultUser() string

func (Postgres) DropDatabaseQuery

func (Postgres) DropDatabaseQuery(_ string) string

func (Postgres) DumpCommand

func (db Postgres) DumpCommand(conf config.Dump) *command.Builder

func (Postgres) ExecCommand

func (Postgres) ExecCommand(conf config.Exec) *command.Builder

func (Postgres) FilterPods

func (db Postgres) FilterPods(ctx context.Context, client kubernetes.KubeClient, pods []v1.Pod) ([]v1.Pod, error)

func (Postgres) Formats

func (Postgres) Formats() map[sqlformat.Format]string

func (Postgres) ListDatabasesQuery

func (Postgres) ListDatabasesQuery() string

func (Postgres) ListTablesQuery

func (Postgres) ListTablesQuery() string

func (Postgres) Name

func (Postgres) Name() string

func (Postgres) PasswordEnvNames

func (db Postgres) PasswordEnvNames(c config.Global) kubernetes.ConfigLookups

func (Postgres) PodFilters added in v1.12.0

func (db Postgres) PodFilters() filter.Filter

func (Postgres) PortEnvNames

func (Postgres) PortEnvNames() kubernetes.ConfigLookups

func (Postgres) RestoreCommand

func (Postgres) RestoreCommand(conf config.Restore, inputFormat sqlformat.Format) *command.Builder

func (Postgres) UserEnvNames

func (Postgres) UserEnvNames() kubernetes.ConfigLookups

Jump to

Keyboard shortcuts

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