Documentation ¶
Overview ¶
Package setup implements a real env in which to run tests.
Index ¶
- func CMD(flags ...string) func()
- func ClosableStandalone(path string, ports []int, flags ...string) (string, string, func())
- func ClosableStandaloneWithSchemaLoaders(path string, ports []int, schemaLoaders []SchemaLoader, flags ...string) (string, string, func())
- func DataNode(etcdEndpoint string) func()
- func EmptyClosableStandalone(path string, ports []int, flags ...string) (string, string, func())
- func EmptyStandalone(flags ...string) (string, string, func())
- func LiaisonNode(etcdEndpoint string) (string, func())
- func Standalone(flags ...string) (string, string, func())
- func StandaloneWithSchemaLoaders(schemaLoaders []SchemaLoader, certFile, keyFile string, flags ...string) (string, string, func())
- func StandaloneWithTLS(certFile, keyFile string, flags ...string) (string, string, func())
- type SchemaLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClosableStandalone ¶ added in v0.5.0
ClosableStandalone wires standalone modules to build a testing ready runtime.
func ClosableStandaloneWithSchemaLoaders ¶ added in v0.5.0
func ClosableStandaloneWithSchemaLoaders(path string, ports []int, schemaLoaders []SchemaLoader, flags ...string) (string, string, func())
ClosableStandaloneWithSchemaLoaders wires standalone modules to build a testing ready runtime.
func DataNode ¶ added in v0.5.0
func DataNode(etcdEndpoint string) func()
DataNode runs a data node.
func EmptyClosableStandalone ¶ added in v0.5.0
EmptyClosableStandalone wires standalone modules to build a testing ready runtime.
func EmptyStandalone ¶ added in v0.5.0
EmptyStandalone wires standalone modules to build a testing ready runtime.
func LiaisonNode ¶ added in v0.5.0
LiaisonNode runs a liaison node.
func Standalone ¶ added in v0.5.0
Standalone wires standalone modules to build a testing ready runtime.
func StandaloneWithSchemaLoaders ¶ added in v0.5.0
func StandaloneWithSchemaLoaders(schemaLoaders []SchemaLoader, certFile, keyFile string, flags ...string) (string, string, func())
StandaloneWithSchemaLoaders wires standalone modules to build a testing ready runtime. It also allows to preload schema.
Types ¶
Click to show internal directories.
Click to hide internal directories.