Documentation ¶
Index ¶
Constants ¶
View Source
const ( ManagementPortName = "mgmt" PgPortName = "pg" )
View Source
const ( DefaultHost = "localhost" DefaultPort = "5432" DefaultDatabase = "postgres" DefaultUser = "postgres" DefaultPassword = "12345" DefaultConnectionTimeout = 10 * time.Second DefaultQueryTimeout = 10 * time.Second )
View Source
const ( Master serviceState = iota + 1 Replica Stopped )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestHandle ¶
type TestHandle struct {
// contains filtered or unexported fields
}
TestHandle contains the test context.
func NewTestHandle ¶
func NewTestHandle(cfg *Config) (*TestHandle, error)
NewTestHandle creates TestContext instance.
func (*TestHandle) Start ¶
func (h *TestHandle) Start() (err error)
func (*TestHandle) Stop ¶
func (h *TestHandle) Stop() (err error)
Click to show internal directories.
Click to hide internal directories.