fakes

package
v73.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 2 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 FakeStoreAdapter

type FakeStoreAdapter struct {
	ConnectStub func() error

	CreateStub func(storeadapter.StoreNode) error

	UpdateStub func(storeadapter.StoreNode) error

	CompareAndSwapStub func(oldNode, newNode storeadapter.StoreNode) error

	CompareAndSwapByIndexStub func(prevIndex uint64, newNode storeadapter.StoreNode) error

	SetMultiStub func(nodes []storeadapter.StoreNode) error

	GetStub func(key string) (storeadapter.StoreNode, error)

	ListRecursivelyStub func(key string) (storeadapter.StoreNode, error)

	DeleteStub func(keys ...string) error

	DeleteLeavesStub func(keys ...string) error

	CompareAndDeleteStub func(...storeadapter.StoreNode) error

	CompareAndDeleteByIndexStub func(...storeadapter.StoreNode) error

	UpdateDirTTLStub func(key string, ttl uint64) error

	WatchStub func(key string) (events <-chan storeadapter.WatchEvent, stop chan<- bool, errors <-chan error)

	DisconnectStub func() error

	MaintainNodeStub func(storeNode storeadapter.StoreNode) (lostNode <-chan bool, releaseNode chan chan bool, err error)
	// contains filtered or unexported fields
}

func (*FakeStoreAdapter) CompareAndDelete

func (fake *FakeStoreAdapter) CompareAndDelete(arg1 ...storeadapter.StoreNode) error

func (*FakeStoreAdapter) CompareAndDeleteArgsForCall

func (fake *FakeStoreAdapter) CompareAndDeleteArgsForCall(i int) []storeadapter.StoreNode

func (*FakeStoreAdapter) CompareAndDeleteByIndex

func (fake *FakeStoreAdapter) CompareAndDeleteByIndex(arg1 ...storeadapter.StoreNode) error

func (*FakeStoreAdapter) CompareAndDeleteByIndexArgsForCall

func (fake *FakeStoreAdapter) CompareAndDeleteByIndexArgsForCall(i int) []storeadapter.StoreNode

func (*FakeStoreAdapter) CompareAndDeleteByIndexCallCount

func (fake *FakeStoreAdapter) CompareAndDeleteByIndexCallCount() int

func (*FakeStoreAdapter) CompareAndDeleteByIndexReturns

func (fake *FakeStoreAdapter) CompareAndDeleteByIndexReturns(result1 error)

func (*FakeStoreAdapter) CompareAndDeleteCallCount

func (fake *FakeStoreAdapter) CompareAndDeleteCallCount() int

func (*FakeStoreAdapter) CompareAndDeleteReturns

func (fake *FakeStoreAdapter) CompareAndDeleteReturns(result1 error)

func (*FakeStoreAdapter) CompareAndSwap

func (fake *FakeStoreAdapter) CompareAndSwap(oldNode storeadapter.StoreNode, newNode storeadapter.StoreNode) error

func (*FakeStoreAdapter) CompareAndSwapArgsForCall

func (fake *FakeStoreAdapter) CompareAndSwapArgsForCall(i int) (storeadapter.StoreNode, storeadapter.StoreNode)

func (*FakeStoreAdapter) CompareAndSwapByIndex

func (fake *FakeStoreAdapter) CompareAndSwapByIndex(prevIndex uint64, newNode storeadapter.StoreNode) error

func (*FakeStoreAdapter) CompareAndSwapByIndexArgsForCall

func (fake *FakeStoreAdapter) CompareAndSwapByIndexArgsForCall(i int) (uint64, storeadapter.StoreNode)

func (*FakeStoreAdapter) CompareAndSwapByIndexCallCount

func (fake *FakeStoreAdapter) CompareAndSwapByIndexCallCount() int

func (*FakeStoreAdapter) CompareAndSwapByIndexReturns

func (fake *FakeStoreAdapter) CompareAndSwapByIndexReturns(result1 error)

func (*FakeStoreAdapter) CompareAndSwapCallCount

func (fake *FakeStoreAdapter) CompareAndSwapCallCount() int

func (*FakeStoreAdapter) CompareAndSwapReturns

func (fake *FakeStoreAdapter) CompareAndSwapReturns(result1 error)

func (*FakeStoreAdapter) Connect

func (fake *FakeStoreAdapter) Connect() error

func (*FakeStoreAdapter) ConnectCallCount

func (fake *FakeStoreAdapter) ConnectCallCount() int

func (*FakeStoreAdapter) ConnectReturns

func (fake *FakeStoreAdapter) ConnectReturns(result1 error)

func (*FakeStoreAdapter) Create

func (fake *FakeStoreAdapter) Create(arg1 storeadapter.StoreNode) error

func (*FakeStoreAdapter) CreateArgsForCall

func (fake *FakeStoreAdapter) CreateArgsForCall(i int) storeadapter.StoreNode

func (*FakeStoreAdapter) CreateCallCount

func (fake *FakeStoreAdapter) CreateCallCount() int

func (*FakeStoreAdapter) CreateReturns

func (fake *FakeStoreAdapter) CreateReturns(result1 error)

func (*FakeStoreAdapter) Delete

func (fake *FakeStoreAdapter) Delete(keys ...string) error

func (*FakeStoreAdapter) DeleteArgsForCall

func (fake *FakeStoreAdapter) DeleteArgsForCall(i int) []string

func (*FakeStoreAdapter) DeleteCallCount

func (fake *FakeStoreAdapter) DeleteCallCount() int

func (*FakeStoreAdapter) DeleteLeaves

func (fake *FakeStoreAdapter) DeleteLeaves(keys ...string) error

func (*FakeStoreAdapter) DeleteLeavesArgsForCall

func (fake *FakeStoreAdapter) DeleteLeavesArgsForCall(i int) []string

func (*FakeStoreAdapter) DeleteLeavesCallCount

func (fake *FakeStoreAdapter) DeleteLeavesCallCount() int

func (*FakeStoreAdapter) DeleteLeavesReturns

func (fake *FakeStoreAdapter) DeleteLeavesReturns(result1 error)

func (*FakeStoreAdapter) DeleteReturns

func (fake *FakeStoreAdapter) DeleteReturns(result1 error)

func (*FakeStoreAdapter) Disconnect

func (fake *FakeStoreAdapter) Disconnect() error

func (*FakeStoreAdapter) DisconnectCallCount

func (fake *FakeStoreAdapter) DisconnectCallCount() int

func (*FakeStoreAdapter) DisconnectReturns

func (fake *FakeStoreAdapter) DisconnectReturns(result1 error)

func (*FakeStoreAdapter) Get

func (*FakeStoreAdapter) GetArgsForCall

func (fake *FakeStoreAdapter) GetArgsForCall(i int) string

func (*FakeStoreAdapter) GetCallCount

func (fake *FakeStoreAdapter) GetCallCount() int

func (*FakeStoreAdapter) GetReturns

func (fake *FakeStoreAdapter) GetReturns(result1 storeadapter.StoreNode, result2 error)

func (*FakeStoreAdapter) ListRecursively

func (fake *FakeStoreAdapter) ListRecursively(key string) (storeadapter.StoreNode, error)

func (*FakeStoreAdapter) ListRecursivelyArgsForCall

func (fake *FakeStoreAdapter) ListRecursivelyArgsForCall(i int) string

func (*FakeStoreAdapter) ListRecursivelyCallCount

func (fake *FakeStoreAdapter) ListRecursivelyCallCount() int

func (*FakeStoreAdapter) ListRecursivelyReturns

func (fake *FakeStoreAdapter) ListRecursivelyReturns(result1 storeadapter.StoreNode, result2 error)

func (*FakeStoreAdapter) MaintainNode

func (fake *FakeStoreAdapter) MaintainNode(storeNode storeadapter.StoreNode) (lostNode <-chan bool, releaseNode chan chan bool, err error)

func (*FakeStoreAdapter) MaintainNodeArgsForCall

func (fake *FakeStoreAdapter) MaintainNodeArgsForCall(i int) storeadapter.StoreNode

func (*FakeStoreAdapter) MaintainNodeCallCount

func (fake *FakeStoreAdapter) MaintainNodeCallCount() int

func (*FakeStoreAdapter) MaintainNodeReturns

func (fake *FakeStoreAdapter) MaintainNodeReturns(result1 <-chan bool, result2 chan chan bool, result3 error)

func (*FakeStoreAdapter) SetMulti

func (fake *FakeStoreAdapter) SetMulti(nodes []storeadapter.StoreNode) error

func (*FakeStoreAdapter) SetMultiArgsForCall

func (fake *FakeStoreAdapter) SetMultiArgsForCall(i int) []storeadapter.StoreNode

func (*FakeStoreAdapter) SetMultiCallCount

func (fake *FakeStoreAdapter) SetMultiCallCount() int

func (*FakeStoreAdapter) SetMultiReturns

func (fake *FakeStoreAdapter) SetMultiReturns(result1 error)

func (*FakeStoreAdapter) Update

func (fake *FakeStoreAdapter) Update(arg1 storeadapter.StoreNode) error

func (*FakeStoreAdapter) UpdateArgsForCall

func (fake *FakeStoreAdapter) UpdateArgsForCall(i int) storeadapter.StoreNode

func (*FakeStoreAdapter) UpdateCallCount

func (fake *FakeStoreAdapter) UpdateCallCount() int

func (*FakeStoreAdapter) UpdateDirTTL

func (fake *FakeStoreAdapter) UpdateDirTTL(key string, ttl uint64) error

func (*FakeStoreAdapter) UpdateDirTTLArgsForCall

func (fake *FakeStoreAdapter) UpdateDirTTLArgsForCall(i int) (string, uint64)

func (*FakeStoreAdapter) UpdateDirTTLCallCount

func (fake *FakeStoreAdapter) UpdateDirTTLCallCount() int

func (*FakeStoreAdapter) UpdateDirTTLReturns

func (fake *FakeStoreAdapter) UpdateDirTTLReturns(result1 error)

func (*FakeStoreAdapter) UpdateReturns

func (fake *FakeStoreAdapter) UpdateReturns(result1 error)

func (*FakeStoreAdapter) Watch

func (fake *FakeStoreAdapter) Watch(key string) (events <-chan storeadapter.WatchEvent, stop chan<- bool, errors <-chan error)

func (*FakeStoreAdapter) WatchArgsForCall

func (fake *FakeStoreAdapter) WatchArgsForCall(i int) string

func (*FakeStoreAdapter) WatchCallCount

func (fake *FakeStoreAdapter) WatchCallCount() int

func (*FakeStoreAdapter) WatchReturns

func (fake *FakeStoreAdapter) WatchReturns(result1 <-chan storeadapter.WatchEvent, result2 chan<- bool, result3 <-chan error)

Jump to

Keyboard shortcuts

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