mirror of https://github.com/status-im/consul.git
Merge pull request #1021 from gogolok/testutil_acl_support
testutil: support ACLMasterToken, ACLDatacenter and ACLDefaultPolicy
This commit is contained in:
commit
5e758f9441
|
@ -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:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue