Versions in this module Expand all Collapse all v0 v0.6.3 Jan 14, 2016 v0.6.2 Jan 14, 2016 v0.6.1 Jan 6, 2016 v0.6.0 Dec 3, 2015 Changes in this version type TestServerConfig + ACLDatacenter string + ACLDefaultPolicy string + ACLMasterToken string + Stderr io.Writer + Stdout io.Writer v0.6.0-rc2 Nov 18, 2015 v0.6.0-rc1 Oct 29, 2015 v0.5.2 May 18, 2015 v0.5.1 May 13, 2015 Changes in this version + type ServerConfigCallback func(c *TestServerConfig) + type TestAddressConfig struct + HTTP string + type TestCheck struct + ID string + Name string + ServiceID string + TTL string + type TestKVResponse struct + Value string + type TestPortConfig struct + DNS int + HTTP int + RPC int + SerfLan int + SerfWan int + Server int + type TestServer struct + Config *TestServerConfig + HTTPAddr string + HttpClient *http.Client + LANAddr string + PID int + WANAddr string + func NewTestServer(t *testing.T) *TestServer + func NewTestServerConfig(t *testing.T, cb ServerConfigCallback) *TestServer + func (s *TestServer) AddCheck(name, serviceID, status string) + func (s *TestServer) AddService(name, status string, tags []string) + func (s *TestServer) GetKV(key string) []byte + func (s *TestServer) JoinLAN(addr string) + func (s *TestServer) JoinWAN(addr string) + func (s *TestServer) ListKV(prefix string) []string + func (s *TestServer) PopulateKV(data map[string][]byte) + func (s *TestServer) SetKV(key string, val []byte) + func (s *TestServer) Stop() + type TestServerConfig struct + Addresses *TestAddressConfig + Bind string + Bootstrap bool + DataDir string + Datacenter string + DisableCheckpoint bool + LogLevel string + NodeName string + Ports *TestPortConfig + Server bool + type TestService struct + Address string + ID string + Name string + Port int + Tags []string v0.5.0 Feb 19, 2015 v0.4.1 Oct 20, 2014 v0.4.0 Sep 5, 2014 v0.3.1 Jul 21, 2014 v0.3.0 Jun 13, 2014 v0.2.1 May 20, 2014 Changes in this version + func WaitForLeader(t *testing.T, rpc rpcFn, dc string) structs.IndexedNodes + func WaitForResult(test testFn, error errorFn)