zktestserver

package
v2.0.0-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t *testing.T, cells []string) topo.Server

New returns a new TestServer (with the required paths created)

Types

type TestServer

type TestServer struct {
	topo.Impl
	// contains filtered or unexported fields
}

TestServer is a proxy for a real implementation of topo.Server that provides hooks for testing.

func (*TestServer) GetKnownCells

func (s *TestServer) GetKnownCells(ctx context.Context) ([]string, error)

GetKnownCells is part of topo.Server interface

Jump to

Keyboard shortcuts

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