Documentation ¶
Index ¶
- func CreateTestEnvFilesAndConfigs(t *testing.T, tempDir string, nodePort uint32, raftPort uint32, ...) (*config.Configurations, error)
- func GenerateCrypto(cryptoDir string, users []string) error
- func GenerateSampleServerConfig(tempDir, cryptoDir string, nodePort uint32, raftPort uint32, ...) *config.Configurations
- func GenerateTestDirectoryStruct(tempDir, cryptoDir string, serverPort uint32, users []string) error
- func SetupTestEnv(t *testing.T, tempDir string, nodePort uint32) (*server.BCDBHTTPServer, uint32, uint32, error)
- func SetupTestEnvWithParams(t *testing.T, tempDir string, nodePort uint32, raftPort uint32, ...) (*server.BCDBHTTPServer, error)
- func StartTestServer(t *testing.T, s *server.BCDBHTTPServer)
- func WriteConfigToYaml(configObject interface{}, configFile string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCrypto ¶
func SetupTestEnv ¶
func SetupTestEnvWithParams ¶
func StartTestServer ¶
func StartTestServer(t *testing.T, s *server.BCDBHTTPServer)
func WriteConfigToYaml ¶
Types ¶
type Config ¶
type Config struct { ConnectionConfig config.ConnectionConfig SessionConfig config.SessionConfig }
func ReadConfig ¶
Click to show internal directories.
Click to hide internal directories.