test

package
v0.0.0-...-7092ca2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2014 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientTest

type ClientTest struct {
	UserEventCalled  bool
	ListKeysCalled   bool
	StatsCalled      bool
	UseKeyCalled     bool
	LeaveCalled      bool
	ForceLeaveCalled bool
	JoinCalled       bool
	MembersCalled    bool
}

func NewClientTest

func NewClientTest() *ClientTest

func (*ClientTest) ForceLeave

func (c *ClientTest) ForceLeave(node string) error

func (*ClientTest) Join

func (c *ClientTest) Join(addrs []string, replay bool) (int, error)

func (*ClientTest) Leave

func (c *ClientTest) Leave() error

func (*ClientTest) ListKeys

func (c *ClientTest) ListKeys() (map[string]int, int, map[string]string, error)

func (*ClientTest) Members

func (c *ClientTest) Members() ([]SerfClient.Member, error)

func (*ClientTest) Stats

func (c *ClientTest) Stats() (map[string]map[string]string, error)

func (*ClientTest) UseKey

func (c *ClientTest) UseKey(key string) (map[string]string, error)

func (*ClientTest) UserEvent

func (c *ClientTest) UserEvent(name string, payload []byte, coalesce bool) error

Jump to

Keyboard shortcuts

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