Merge pull request #1021 from gogolok/testutil_acl_support

testutil: support ACLMasterToken, ACLDatacenter and ACLDefaultPolicy
This commit is contained in:
Ryan Uber 2015-06-11 15:08:33 -07:00
commit 5e758f9441
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ type TestServerConfig struct {
Bind string `json:"bind_addr,omitempty"` Bind string `json:"bind_addr,omitempty"`
Addresses *TestAddressConfig `json:"addresses,omitempty"` Addresses *TestAddressConfig `json:"addresses,omitempty"`
Ports *TestPortConfig `json:"ports,omitempty"` Ports *TestPortConfig `json:"ports,omitempty"`
ACLMasterToken string `json:"acl_master_token,omitempty"`
ACLDatacenter string `json:"acl_datacenter,omitempty"`
ACLDefaultPolicy string `json:"acl_default_policy,omitempty"`
Stdout, Stderr io.Writer `json:"-"` Stdout, Stderr io.Writer `json:"-"`
} }