test_config

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbTestConfig

type DbTestConfig struct {
	// contains filtered or unexported fields
}

func NewDbTestConfig

func NewDbTestConfig(database string) DbTestConfig

func (DbTestConfig) CheckDbUnitTest

func (tc DbTestConfig) CheckDbUnitTest(t *testing.T)

func (DbTestConfig) GetDatabaseConn

func (tc DbTestConfig) GetDatabaseConn() *db.Database

type EtcdTestConfig

type EtcdTestConfig struct {
	// contains filtered or unexported fields
}

func NewEtcdTestConfig

func NewEtcdTestConfig() EtcdTestConfig

func (EtcdTestConfig) CheckEtcdUnitTest

func (tc EtcdTestConfig) CheckEtcdUnitTest(t *testing.T)

func (EtcdTestConfig) GetTestEtcdEndpoints

func (tc EtcdTestConfig) GetTestEtcdEndpoints() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL