Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoadbalancer ¶
func NewLoadbalancer(h *Harness) *loadbalancer
Types ¶
type ApiCluster ¶
type ApiCluster struct {
Addrs []string
}
ApiCluster represents a cluster of API containers
type Config ¶
type Config struct { // NumNodes is the number of API nodes to create in the cluster NumNodes int }
Config contains configuration options for the test harness
type Harness ¶
type Harness struct { Seed *seed.Seeder DB db.Database CH clickhouse.ClickHouse // contains filtered or unexported fields }
Harness is a test harness for creating and managing a cluster of API nodes
func (*Harness) GetClusterAddrs ¶
GetClusterAddrs returns the addresses of all API containers
func (*Harness) RunAPI ¶
func (h *Harness) RunAPI(config ApiConfig) *ApiCluster
RunAPI creates a cluster of API containers for chaos testing
Click to show internal directories.
Click to hide internal directories.