fakes

package
v0.0.0-...-8fcca98 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeStoreClient

type FakeStoreClient struct {
	GetStub func(key string, sort bool, recursive bool) (*etcd.Response, error)

	SetStub func(key string, value []byte, ttl uint64) (*etcd.Response, error)

	CreateStub func(key string, value []byte, ttl uint64) (*etcd.Response, error)

	DeleteStub func(key string, recursive bool) (*etcd.Response, error)

	DeleteDirStub func(key string) (*etcd.Response, error)

	CompareAndSwapStub func(key string, value []byte, ttl uint64, prevIndex uint64) (*etcd.Response, error)

	CompareAndDeleteStub func(key string, prevIndex uint64) (*etcd.Response, error)

	WatchStub func(prefix string, waitIndex uint64, recursive bool, receiver chan *etcd.Response, stop chan bool) (*etcd.Response, error)
	// contains filtered or unexported fields
}

func (*FakeStoreClient) CompareAndDelete

func (fake *FakeStoreClient) CompareAndDelete(key string, prevIndex uint64) (*etcd.Response, error)

func (*FakeStoreClient) CompareAndDeleteArgsForCall

func (fake *FakeStoreClient) CompareAndDeleteArgsForCall(i int) (string, uint64)

func (*FakeStoreClient) CompareAndDeleteCallCount

func (fake *FakeStoreClient) CompareAndDeleteCallCount() int

func (*FakeStoreClient) CompareAndDeleteReturns

func (fake *FakeStoreClient) CompareAndDeleteReturns(result1 *etcd.Response, result2 error)

func (*FakeStoreClient) CompareAndSwap

func (fake *FakeStoreClient) CompareAndSwap(key string, value []byte, ttl uint64, prevIndex uint64) (*etcd.Response, error)

func (*FakeStoreClient) CompareAndSwapArgsForCall

func (fake *FakeStoreClient) CompareAndSwapArgsForCall(i int) (string, []byte, uint64, uint64)

func (*FakeStoreClient) CompareAndSwapCallCount

func (fake *FakeStoreClient) CompareAndSwapCallCount() int

func (*FakeStoreClient) CompareAndSwapReturns

func (fake *FakeStoreClient) CompareAndSwapReturns(result1 *etcd.Response, result2 error)

func (*FakeStoreClient) Create

func (fake *FakeStoreClient) Create(key string, value []byte, ttl uint64) (*etcd.Response, error)

func (*FakeStoreClient) CreateArgsForCall

func (fake *FakeStoreClient) CreateArgsForCall(i int) (string, []byte, uint64)

func (*FakeStoreClient) CreateCallCount

func (fake *FakeStoreClient) CreateCallCount() int

func (*FakeStoreClient) CreateReturns

func (fake *FakeStoreClient) CreateReturns(result1 *etcd.Response, result2 error)

func (*FakeStoreClient) Delete

func (fake *FakeStoreClient) Delete(key string, recursive bool) (*etcd.Response, error)

func (*FakeStoreClient) DeleteArgsForCall

func (fake *FakeStoreClient) DeleteArgsForCall(i int) (string, bool)

func (*FakeStoreClient) DeleteCallCount

func (fake *FakeStoreClient) DeleteCallCount() int

func (*FakeStoreClient) DeleteDir

func (fake *FakeStoreClient) DeleteDir(key string) (*etcd.Response, error)

func (*FakeStoreClient) DeleteDirArgsForCall

func (fake *FakeStoreClient) DeleteDirArgsForCall(i int) string

func (*FakeStoreClient) DeleteDirCallCount

func (fake *FakeStoreClient) DeleteDirCallCount() int

func (*FakeStoreClient) DeleteDirReturns

func (fake *FakeStoreClient) DeleteDirReturns(result1 *etcd.Response, result2 error)

func (*FakeStoreClient) DeleteReturns

func (fake *FakeStoreClient) DeleteReturns(result1 *etcd.Response, result2 error)

func (*FakeStoreClient) Get

func (fake *FakeStoreClient) Get(key string, sort bool, recursive bool) (*etcd.Response, error)

func (*FakeStoreClient) GetArgsForCall

func (fake *FakeStoreClient) GetArgsForCall(i int) (string, bool, bool)

func (*FakeStoreClient) GetCallCount

func (fake *FakeStoreClient) GetCallCount() int

func (*FakeStoreClient) GetReturns

func (fake *FakeStoreClient) GetReturns(result1 *etcd.Response, result2 error)

func (*FakeStoreClient) Set

func (fake *FakeStoreClient) Set(key string, value []byte, ttl uint64) (*etcd.Response, error)

func (*FakeStoreClient) SetArgsForCall

func (fake *FakeStoreClient) SetArgsForCall(i int) (string, []byte, uint64)

func (*FakeStoreClient) SetCallCount

func (fake *FakeStoreClient) SetCallCount() int

func (*FakeStoreClient) SetReturns

func (fake *FakeStoreClient) SetReturns(result1 *etcd.Response, result2 error)

func (*FakeStoreClient) Watch

func (fake *FakeStoreClient) Watch(prefix string, waitIndex uint64, recursive bool, receiver chan *etcd.Response, stop chan bool) (*etcd.Response, error)

func (*FakeStoreClient) WatchArgsForCall

func (fake *FakeStoreClient) WatchArgsForCall(i int) (string, uint64, bool, chan *etcd.Response, chan bool)

func (*FakeStoreClient) WatchCallCount

func (fake *FakeStoreClient) WatchCallCount() int

func (*FakeStoreClient) WatchReturns

func (fake *FakeStoreClient) WatchReturns(result1 *etcd.Response, result2 error)

Jump to

Keyboard shortcuts

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