client

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2018 License: MIT Imports: 13 Imported by: 0

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL