test

package
v0.0.0-...-d8c7374 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewFakeAddressProvider

func NewFakeAddressProvider(adminport string, httpport string) common.ServiceAddressProvider

func NewFakeProjector

func NewFakeProjector(port string) *fakeProjector

Types

type TestDefaultClientEnv

type TestDefaultClientEnv struct {
}

func (*TestDefaultClientEnv) FilterTimestampsForNode

func (p *TestDefaultClientEnv) FilterTimestampsForNode(timestamps []*protobuf.TsVbuuid, node string) ([]*protobuf.TsVbuuid, error)

func (*TestDefaultClientEnv) GetNodeListForBuckets

func (p *TestDefaultClientEnv) GetNodeListForBuckets(buckets []string) (map[string]string, error)

func (*TestDefaultClientEnv) GetNodeListForTimestamps

func (p *TestDefaultClientEnv) GetNodeListForTimestamps(timestamps []*common.TsVbuuid) (map[string][]*protobuf.TsVbuuid, error)

type TestDefaultClientFactory

type TestDefaultClientFactory struct {
}

func (*TestDefaultClientFactory) GetClientForNode

func (p *TestDefaultClientFactory) GetClientForNode(server string) manager.ProjectorStreamClient

Jump to

Keyboard shortcuts

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