postgres

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// < v15.0
	PG_START_BACKUP = "pg_start_backup"
	PG_STOP_BACKUP  = "pg_stop_backup"
	// >= v15.0
	PG_BACKUP_START = "pg_backup_start"
	PG_BACKUP_STOP  = "pg_backup_stop"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PG

type PG struct {
	// contains filtered or unexported fields
}

func (*PG) Connect

func (pg *PG) Connect() error

func (*PG) Init

func (pg *PG) Init(appConfig appconfig.Config) error

func (*PG) Prepare added in v0.1.0

func (pg *PG) Prepare() (*v1alpha1.PreservedConfig, error)

func (*PG) Quiesce

func (pg *PG) Quiesce() (*v1alpha1.QuiesceResult, error)

func (*PG) Unquiesce

func (pg *PG) Unquiesce(prev *v1alpha1.PreservedConfig) error

Jump to

Keyboard shortcuts

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