Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster wraps three postgres cluster members, providing the Roles method to inspect the roles of each node.
func (*Cluster) EtcdClient ¶
EtcdClient returns a client connection to the etcd cluster running on the cluster members.
func (*Cluster) Executor ¶
func (c *Cluster) Executor() dockerExecutor
Executor returns a handle to execute commands against a cluster member. It's assumed this will be to issue pacemaker commands, and so the caller does not care which member the command executes against.
type PGBouncerProcess ¶
func StartPGBouncer ¶
func StartPGBouncer(t *testing.T, ctx context.Context) *PGBouncerProcess
Click to show internal directories.
Click to hide internal directories.