Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeEtcdClient

type FakeEtcdClient struct {
	AlarmResponse        *clientv3.AlarmResponse
	EtcdEndpoints        []string
	MemberListResponse   *clientv3.MemberListResponse
	MemberRemoveResponse *clientv3.MemberRemoveResponse
	MemberUpdateResponse *clientv3.MemberUpdateResponse
	MoveLeaderResponse   *clientv3.MoveLeaderResponse
	StatusResponse       *clientv3.StatusResponse
	ErrorResponse        error
	MovedLeader          uint64
	RemovedMember        uint64
}

func (*FakeEtcdClient) AlarmList

func (*FakeEtcdClient) Close

func (c *FakeEtcdClient) Close() error

func (*FakeEtcdClient) Endpoints

func (c *FakeEtcdClient) Endpoints() []string

func (*FakeEtcdClient) MemberList

func (*FakeEtcdClient) MemberRemove

func (*FakeEtcdClient) MemberUpdate

func (*FakeEtcdClient) MoveLeader

func (*FakeEtcdClient) Status

Source Files