Documentation
¶
Index ¶
- func ConnectionString(address net.Addr) string
- func CreateTestBackend(t *testing.T) *pgproto.Backend
- func CreateTextBackendEx(t *testing.T, health BufferHealth) *pgproto.Backend
- func GetCleanTestName(t *testing.T) string
- func NewPgTestColony(t *testing.T, joinAddresses ...string) (core.Colony, func())
- func NewTestColony(t *testing.T, joinAddresses ...string) (core.Colony, func())
- func NewTestColonyEx(t *testing.T, listenAddr string, spawnPg bool, joinAddresses ...string) (core.Colony, func())
- func TempFile(fileName string) (string, func())
- func TempFolder() (string, func())
- type BufferHealth
- type TestDataNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionString ¶
func CreateTextBackendEx ¶
func CreateTextBackendEx(t *testing.T, health BufferHealth) *pgproto.Backend
func GetCleanTestName ¶
func NewPgTestColony ¶
func NewTestColony ¶
func NewTestColonyEx ¶
func TempFolder ¶
func TempFolder() (string, func())
Types ¶
type BufferHealth ¶
type BufferHealth int
const ( BufferHealthy BufferHealth = 0 BufferUnhealthy = 1 )
type TestDataNode ¶
func NewDataNode ¶
func NewDataNode(t *testing.T) (TestDataNode, func(), error)
Click to show internal directories.
Click to hide internal directories.