Documentation ¶
Index ¶
- type Postgres
- func (Postgres) AnalyzeQuery() string
- func (Postgres) DatabaseEnvNames() kubernetes.ConfigFinders
- func (Postgres) DefaultPort() uint16
- func (Postgres) DefaultUser() string
- func (Postgres) DropDatabaseQuery(database string) string
- func (db Postgres) DumpCommand(conf config.Dump) *command.Builder
- func (db Postgres) DumpExtension(format sqlformat.Format) string
- func (Postgres) ExecCommand(conf config.Exec) *command.Builder
- func (Postgres) FilterPods(ctx context.Context, client kubernetes.KubeClient, pods []v1.Pod) ([]v1.Pod, error)
- func (db Postgres) FormatFromFilename(filename string) sqlformat.Format
- func (Postgres) Formats() map[sqlformat.Format]string
- func (Postgres) ListDatabasesQuery() string
- func (Postgres) ListTablesQuery() string
- func (Postgres) Name() string
- func (db Postgres) PasswordEnvNames(c config.Global) kubernetes.ConfigFinders
- func (Postgres) PodLabels() []kubernetes.LabelQueryable
- func (Postgres) PortEnvNames() kubernetes.ConfigFinders
- func (Postgres) RestoreCommand(conf config.Restore, inputFormat sqlformat.Format) *command.Builder
- func (Postgres) UserEnvNames() kubernetes.ConfigFinders
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) DatabaseEnvNames ¶
func (Postgres) DatabaseEnvNames() kubernetes.ConfigFinders
func (Postgres) DefaultPort ¶
func (Postgres) DefaultUser ¶
func (Postgres) DropDatabaseQuery ¶
func (Postgres) FilterPods ¶
func (Postgres) FilterPods(ctx context.Context, client kubernetes.KubeClient, pods []v1.Pod) ([]v1.Pod, error)
func (Postgres) FormatFromFilename ¶
func (Postgres) ListDatabasesQuery ¶
func (Postgres) ListTablesQuery ¶
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) UserEnvNames ¶
func (Postgres) UserEnvNames() kubernetes.ConfigFinders
Click to show internal directories.
Click to hide internal directories.