postgres

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: GPL-3.0 Imports: 14 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) AnalyzeQuery

func (Postgres) AnalyzeQuery() string

func (Postgres) DatabaseEnvNames

func (Postgres) DatabaseEnvNames() kubernetes.ConfigFinders

func (Postgres) DefaultPort

func (Postgres) DefaultPort() uint16

func (Postgres) DefaultUser

func (Postgres) DefaultUser() string

func (Postgres) DropDatabaseQuery

func (Postgres) DropDatabaseQuery(database string) string

func (Postgres) DumpCommand

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

func (Postgres) DumpExtension

func (db Postgres) DumpExtension(format sqlformat.Format) string

func (Postgres) ExecCommand

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

func (Postgres) FilterPods

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

func (Postgres) FormatFromFilename

func (db Postgres) FormatFromFilename(filename string) sqlformat.Format

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.ConfigFinders

func (Postgres) PodLabels

func (Postgres) PodLabels() []kubernetes.LabelQueryable

func (Postgres) PortEnvNames

func (Postgres) PortEnvNames() kubernetes.ConfigFinders

func (Postgres) RestoreCommand

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

func (Postgres) UserEnvNames

func (Postgres) UserEnvNames() kubernetes.ConfigFinders

Jump to

Keyboard shortcuts

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