Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureClient ¶
func ConfigureClient(config Configuration, cache rpc.ConnectionCache) (apis.Client, error)
Set up all portions of a client based on a Zircon configuration. This will not error if servers aren't available; timeout errors will occur when methods on the client are invoked.
func ConfigureNetworkedClient ¶
func ConfigureNetworkedClient(config Configuration) (apis.Client, error)
Types ¶
type Configuration ¶
type Configuration struct {
FrontendAddresses []apis.ServerAddress `yaml:"frontend-addresses"`
}
The configuration information provided by a client application to connect to a Zircon cluster.
func PrepareNetworkedCluster ¶
func PrepareNetworkedCluster(t *testing.T) (cliConfig Configuration, newEtcd func() apis.EtcdInterface, teardown func())
Prepares three chunkservers (cs0-cs2) and one frontend server (fe0)
Click to show internal directories.
Click to hide internal directories.