mocks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CasFunc added in v0.1.4

type CasFunc struct {
	mock.Mock
}

CasFunc is an autogenerated mock type for the CasFunc type

func NewCasFunc added in v0.2.1

func NewCasFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *CasFunc

NewCasFunc creates a new instance of CasFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CasFunc) EXPECT added in v0.3.0

func (_m *CasFunc) EXPECT() *CasFunc_Expecter

func (*CasFunc) Execute added in v0.1.4

func (_m *CasFunc) Execute(current []byte) ([]byte, memcached.CasOp)

Execute provides a mock function with given fields: current

type CasFunc_Execute_Call added in v0.3.0

type CasFunc_Execute_Call struct {
	*mock.Call
}

CasFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*CasFunc_Execute_Call) Return added in v0.3.0

func (*CasFunc_Execute_Call) Run added in v0.3.0

func (_c *CasFunc_Execute_Call) Run(run func(current []byte)) *CasFunc_Execute_Call

func (*CasFunc_Execute_Call) RunAndReturn added in v0.3.0

func (_c *CasFunc_Execute_Call) RunAndReturn(run func([]byte) ([]byte, memcached.CasOp)) *CasFunc_Execute_Call

type CasFunc_Expecter added in v0.3.0

type CasFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*CasFunc_Expecter) Execute added in v0.3.0

func (_e *CasFunc_Expecter) Execute(current interface{}) *CasFunc_Execute_Call

Execute is a helper method to define mock.On call

  • current []byte

type ClientIface

type ClientIface struct {
	mock.Mock
}

ClientIface is an autogenerated mock type for the ClientIface type

func NewClientIface added in v0.2.1

func NewClientIface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientIface

NewClientIface creates a new instance of ClientIface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientIface) Add

func (_m *ClientIface) Add(vb uint16, key string, flags int, exp int, body []byte, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

Add provides a mock function with given fields: vb, key, flags, exp, body, context

func (*ClientIface) Append

func (_m *ClientIface) Append(vb uint16, key string, data []byte, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

Append provides a mock function with given fields: vb, key, data, context

func (*ClientIface) Auth

func (_m *ClientIface) Auth(user string, pass string) (*gomemcached.MCResponse, error)

Auth provides a mock function with given fields: user, pass

func (*ClientIface) AuthList

func (_m *ClientIface) AuthList() (*gomemcached.MCResponse, error)

AuthList provides a mock function with given fields:

func (*ClientIface) AuthPlain

func (_m *ClientIface) AuthPlain(user string, pass string) (*gomemcached.MCResponse, error)

AuthPlain provides a mock function with given fields: user, pass

func (*ClientIface) AuthScramSha

func (_m *ClientIface) AuthScramSha(user string, pass string) (*gomemcached.MCResponse, error)

AuthScramSha provides a mock function with given fields: user, pass

func (*ClientIface) CAS

func (_m *ClientIface) CAS(vb uint16, k string, f memcached.CasFunc, initexp int) (*gomemcached.MCResponse, error)

CAS provides a mock function with given fields: vb, k, f, initexp

func (*ClientIface) CASNext

func (_m *ClientIface) CASNext(vb uint16, k string, exp int, state *memcached.CASState) bool

CASNext provides a mock function with given fields: vb, k, exp, state

func (*ClientIface) CancelRangeScan added in v0.2.1

func (_m *ClientIface) CancelRangeScan(vb uint16, uuid []byte, opaque uint32, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

CancelRangeScan provides a mock function with given fields: vb, uuid, opaque, context

func (*ClientIface) Close

func (_m *ClientIface) Close() error

Close provides a mock function with given fields:

func (*ClientIface) CollectionEnabled

func (_m *ClientIface) CollectionEnabled() bool

CollectionEnabled provides a mock function with given fields:

func (*ClientIface) CollectionsGetCID

func (_m *ClientIface) CollectionsGetCID(scope string, collection string) (*gomemcached.MCResponse, error)

CollectionsGetCID provides a mock function with given fields: scope, collection

func (*ClientIface) ContinueRangeScan added in v0.2.1

func (_m *ClientIface) ContinueRangeScan(vb uint16, uuid []byte, opaque uint32, items uint32, maxSize uint32, timeout uint32, context ...*memcached.ClientContext) error

ContinueRangeScan provides a mock function with given fields: vb, uuid, opaque, items, maxSize, timeout, context

func (*ClientIface) CreateRandomScan added in v0.2.1

func (_m *ClientIface) CreateRandomScan(vb uint16, collId uint32, sampleSize int, withDocs bool, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

CreateRandomScan provides a mock function with given fields: vb, collId, sampleSize, withDocs, context

func (*ClientIface) CreateRangeScan added in v0.2.1

func (_m *ClientIface) CreateRangeScan(vb uint16, collId uint32, start []byte, excludeStart bool, end []byte, excludeEnd bool, withDocs bool, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

CreateRangeScan provides a mock function with given fields: vb, collId, start, excludeStart, end, excludeEnd, withDocs, context

func (*ClientIface) Decr

func (_m *ClientIface) Decr(vb uint16, key string, amt uint64, def uint64, exp int, context ...*memcached.ClientContext) (uint64, error)

Decr provides a mock function with given fields: vb, key, amt, def, exp, context

func (*ClientIface) Del

func (_m *ClientIface) Del(vb uint16, key string, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

Del provides a mock function with given fields: vb, key, context

func (*ClientIface) EXPECT added in v0.3.0

func (_m *ClientIface) EXPECT() *ClientIface_Expecter

func (*ClientIface) EnableDataPool added in v0.3.1

func (_m *ClientIface) EnableDataPool(getter func(uint64) ([]byte, error), doneCb func([]byte)) error

EnableDataPool provides a mock function with given fields: getter, doneCb

func (*ClientIface) EnableFeatures

func (_m *ClientIface) EnableFeatures(features memcached.Features) (*gomemcached.MCResponse, error)

EnableFeatures provides a mock function with given fields: features

func (*ClientIface) EnableMutationToken

func (_m *ClientIface) EnableMutationToken() (*gomemcached.MCResponse, error)

EnableMutationToken provides a mock function with given fields:

func (*ClientIface) Get

func (_m *ClientIface) Get(vb uint16, key string, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

Get provides a mock function with given fields: vb, key, context

func (*ClientIface) GetAllVbSeqnos

func (_m *ClientIface) GetAllVbSeqnos(vbSeqnoMap map[uint16]uint64, context ...*memcached.ClientContext) (map[uint16]uint64, error)

GetAllVbSeqnos provides a mock function with given fields: vbSeqnoMap, context

func (*ClientIface) GetAndTouch

func (_m *ClientIface) GetAndTouch(vb uint16, key string, exp int, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

GetAndTouch provides a mock function with given fields: vb, key, exp, context

func (*ClientIface) GetBulk

func (_m *ClientIface) GetBulk(vb uint16, keys []string, rv map[string]*gomemcached.MCResponse, subPaths []string, context ...*memcached.ClientContext) error

GetBulk provides a mock function with given fields: vb, keys, rv, subPaths, context

func (*ClientIface) GetCollectionsManifest

func (_m *ClientIface) GetCollectionsManifest() (*gomemcached.MCResponse, error)

GetCollectionsManifest provides a mock function with given fields:

func (*ClientIface) GetConnName added in v0.3.0

func (_m *ClientIface) GetConnName() string

GetConnName provides a mock function with given fields:

func (*ClientIface) GetErrorMap added in v0.3.0

func (_m *ClientIface) GetErrorMap(errMapVersion gomemcached.ErrorMapVersion) (map[string]interface{}, error)

GetErrorMap provides a mock function with given fields: errMapVersion

func (*ClientIface) GetMeta

func (_m *ClientIface) GetMeta(vb uint16, key string, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

GetMeta provides a mock function with given fields: vb, key, context

func (*ClientIface) GetRandomDoc

func (_m *ClientIface) GetRandomDoc(context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

GetRandomDoc provides a mock function with given fields: context

func (*ClientIface) GetSubdoc

func (_m *ClientIface) GetSubdoc(vb uint16, key string, subPaths []string, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

GetSubdoc provides a mock function with given fields: vb, key, subPaths, context

func (*ClientIface) Hijack

func (_m *ClientIface) Hijack() io.ReadWriteCloser

Hijack provides a mock function with given fields:

func (*ClientIface) Incr

func (_m *ClientIface) Incr(vb uint16, key string, amt uint64, def uint64, exp int, context ...*memcached.ClientContext) (uint64, error)

Incr provides a mock function with given fields: vb, key, amt, def, exp, context

func (*ClientIface) LastBucket added in v0.1.2

func (_m *ClientIface) LastBucket() string

LastBucket provides a mock function with given fields:

func (*ClientIface) NewUprFeed

func (_m *ClientIface) NewUprFeed() (*memcached.UprFeed, error)

NewUprFeed provides a mock function with given fields:

func (*ClientIface) NewUprFeedIface

func (_m *ClientIface) NewUprFeedIface() (memcached.UprFeedIface, error)

NewUprFeedIface provides a mock function with given fields:

func (*ClientIface) NewUprFeedWithConfig

func (_m *ClientIface) NewUprFeedWithConfig(ackByClient bool) (*memcached.UprFeed, error)

NewUprFeedWithConfig provides a mock function with given fields: ackByClient

func (*ClientIface) NewUprFeedWithConfigIface

func (_m *ClientIface) NewUprFeedWithConfigIface(ackByClient bool) (memcached.UprFeedIface, error)

NewUprFeedWithConfigIface provides a mock function with given fields: ackByClient

func (*ClientIface) Observe

func (_m *ClientIface) Observe(vb uint16, key string) (memcached.ObserveResult, error)

Observe provides a mock function with given fields: vb, key

func (*ClientIface) ObserveSeq

func (_m *ClientIface) ObserveSeq(vb uint16, vbuuid uint64) (*memcached.ObserveSeqResult, error)

ObserveSeq provides a mock function with given fields: vb, vbuuid

func (*ClientIface) Receive

func (_m *ClientIface) Receive() (*gomemcached.MCResponse, error)

Receive provides a mock function with given fields:

func (*ClientIface) ReceiveWithDeadline

func (_m *ClientIface) ReceiveWithDeadline(deadline time.Time) (*gomemcached.MCResponse, error)

ReceiveWithDeadline provides a mock function with given fields: deadline

func (*ClientIface) Replica added in v0.3.0

func (_m *ClientIface) Replica() bool

Replica provides a mock function with given fields:

func (*ClientIface) SelectBucket

func (_m *ClientIface) SelectBucket(bucket string) (*gomemcached.MCResponse, error)

SelectBucket provides a mock function with given fields: bucket

func (*ClientIface) Send

Send provides a mock function with given fields: req

func (*ClientIface) Set

func (_m *ClientIface) Set(vb uint16, key string, flags int, exp int, body []byte, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

Set provides a mock function with given fields: vb, key, flags, exp, body, context

func (*ClientIface) SetCas

func (_m *ClientIface) SetCas(vb uint16, key string, flags int, exp int, cas uint64, body []byte, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

SetCas provides a mock function with given fields: vb, key, flags, exp, cas, body, context

func (*ClientIface) SetConnName added in v0.3.0

func (_m *ClientIface) SetConnName(name string)

SetConnName provides a mock function with given fields: name

func (*ClientIface) SetDeadline

func (_m *ClientIface) SetDeadline(t time.Time)

SetDeadline provides a mock function with given fields: t

func (*ClientIface) SetKeepAliveOptions

func (_m *ClientIface) SetKeepAliveOptions(interval time.Duration)

SetKeepAliveOptions provides a mock function with given fields: interval

func (*ClientIface) SetReadDeadline

func (_m *ClientIface) SetReadDeadline(t time.Time)

SetReadDeadline provides a mock function with given fields: t

func (*ClientIface) SetReplica added in v0.1.4

func (_m *ClientIface) SetReplica(r bool)

SetReplica provides a mock function with given fields: r

func (*ClientIface) SetSubdoc added in v0.3.0

func (_m *ClientIface) SetSubdoc(vb uint16, key string, ops []memcached.SubDocOp, context ...*memcached.ClientContext) (*gomemcached.MCResponse, error)

SetSubdoc provides a mock function with given fields: vb, key, ops, context

func (*ClientIface) Stats

func (_m *ClientIface) Stats(key string) ([]memcached.StatValue, error)

Stats provides a mock function with given fields: key

func (*ClientIface) StatsFunc added in v0.1.2

func (_m *ClientIface) StatsFunc(key string, fn func([]byte, []byte)) error

StatsFunc provides a mock function with given fields: key, fn

func (*ClientIface) StatsMap

func (_m *ClientIface) StatsMap(key string) (map[string]string, error)

StatsMap provides a mock function with given fields: key

func (*ClientIface) StatsMapForSpecifiedStats

func (_m *ClientIface) StatsMapForSpecifiedStats(key string, statsMap map[string]string) error

StatsMapForSpecifiedStats provides a mock function with given fields: key, statsMap

func (*ClientIface) Transmit

func (_m *ClientIface) Transmit(req *gomemcached.MCRequest) error

Transmit provides a mock function with given fields: req

func (*ClientIface) TransmitResponse

func (_m *ClientIface) TransmitResponse(res *gomemcached.MCResponse) error

TransmitResponse provides a mock function with given fields: res

func (*ClientIface) TransmitWithDeadline

func (_m *ClientIface) TransmitWithDeadline(req *gomemcached.MCRequest, deadline time.Time) error

TransmitWithDeadline provides a mock function with given fields: req, deadline

func (*ClientIface) UprGetFailoverLog

func (_m *ClientIface) UprGetFailoverLog(vb []uint16) (map[uint16]*memcached.FailoverLog, error)

UprGetFailoverLog provides a mock function with given fields: vb

func (*ClientIface) ValidateKey added in v0.2.1

func (_m *ClientIface) ValidateKey(vb uint16, key string, context ...*memcached.ClientContext) (bool, error)

ValidateKey provides a mock function with given fields: vb, key, context

type ClientIface_Add_Call added in v0.3.0

type ClientIface_Add_Call struct {
	*mock.Call
}

ClientIface_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'

func (*ClientIface_Add_Call) Return added in v0.3.0

func (*ClientIface_Add_Call) Run added in v0.3.0

func (_c *ClientIface_Add_Call) Run(run func(vb uint16, key string, flags int, exp int, body []byte, context ...*memcached.ClientContext)) *ClientIface_Add_Call

func (*ClientIface_Add_Call) RunAndReturn added in v0.3.0

type ClientIface_Append_Call added in v0.3.0

type ClientIface_Append_Call struct {
	*mock.Call
}

ClientIface_Append_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Append'

func (*ClientIface_Append_Call) Return added in v0.3.0

func (*ClientIface_Append_Call) Run added in v0.3.0

func (_c *ClientIface_Append_Call) Run(run func(vb uint16, key string, data []byte, context ...*memcached.ClientContext)) *ClientIface_Append_Call

func (*ClientIface_Append_Call) RunAndReturn added in v0.3.0

type ClientIface_AuthList_Call added in v0.3.0

type ClientIface_AuthList_Call struct {
	*mock.Call
}

ClientIface_AuthList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthList'

func (*ClientIface_AuthList_Call) Return added in v0.3.0

func (*ClientIface_AuthList_Call) Run added in v0.3.0

func (*ClientIface_AuthList_Call) RunAndReturn added in v0.3.0

type ClientIface_AuthPlain_Call added in v0.3.0

type ClientIface_AuthPlain_Call struct {
	*mock.Call
}

ClientIface_AuthPlain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthPlain'

func (*ClientIface_AuthPlain_Call) Return added in v0.3.0

func (*ClientIface_AuthPlain_Call) Run added in v0.3.0

func (_c *ClientIface_AuthPlain_Call) Run(run func(user string, pass string)) *ClientIface_AuthPlain_Call

func (*ClientIface_AuthPlain_Call) RunAndReturn added in v0.3.0

type ClientIface_AuthScramSha_Call added in v0.3.0

type ClientIface_AuthScramSha_Call struct {
	*mock.Call
}

ClientIface_AuthScramSha_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthScramSha'

func (*ClientIface_AuthScramSha_Call) Return added in v0.3.0

func (*ClientIface_AuthScramSha_Call) Run added in v0.3.0

func (*ClientIface_AuthScramSha_Call) RunAndReturn added in v0.3.0

type ClientIface_Auth_Call added in v0.3.0

type ClientIface_Auth_Call struct {
	*mock.Call
}

ClientIface_Auth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Auth'

func (*ClientIface_Auth_Call) Return added in v0.3.0

func (*ClientIface_Auth_Call) Run added in v0.3.0

func (_c *ClientIface_Auth_Call) Run(run func(user string, pass string)) *ClientIface_Auth_Call

func (*ClientIface_Auth_Call) RunAndReturn added in v0.3.0

type ClientIface_CASNext_Call added in v0.3.0

type ClientIface_CASNext_Call struct {
	*mock.Call
}

ClientIface_CASNext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CASNext'

func (*ClientIface_CASNext_Call) Return added in v0.3.0

func (*ClientIface_CASNext_Call) Run added in v0.3.0

func (_c *ClientIface_CASNext_Call) Run(run func(vb uint16, k string, exp int, state *memcached.CASState)) *ClientIface_CASNext_Call

func (*ClientIface_CASNext_Call) RunAndReturn added in v0.3.0

type ClientIface_CAS_Call added in v0.3.0

type ClientIface_CAS_Call struct {
	*mock.Call
}

ClientIface_CAS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CAS'

func (*ClientIface_CAS_Call) Return added in v0.3.0

func (*ClientIface_CAS_Call) Run added in v0.3.0

func (_c *ClientIface_CAS_Call) Run(run func(vb uint16, k string, f memcached.CasFunc, initexp int)) *ClientIface_CAS_Call

func (*ClientIface_CAS_Call) RunAndReturn added in v0.3.0

type ClientIface_CancelRangeScan_Call added in v0.3.0

type ClientIface_CancelRangeScan_Call struct {
	*mock.Call
}

ClientIface_CancelRangeScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelRangeScan'

func (*ClientIface_CancelRangeScan_Call) Return added in v0.3.0

func (*ClientIface_CancelRangeScan_Call) Run added in v0.3.0

func (*ClientIface_CancelRangeScan_Call) RunAndReturn added in v0.3.0

type ClientIface_Close_Call added in v0.3.0

type ClientIface_Close_Call struct {
	*mock.Call
}

ClientIface_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*ClientIface_Close_Call) Return added in v0.3.0

func (*ClientIface_Close_Call) Run added in v0.3.0

func (_c *ClientIface_Close_Call) Run(run func()) *ClientIface_Close_Call

func (*ClientIface_Close_Call) RunAndReturn added in v0.3.0

func (_c *ClientIface_Close_Call) RunAndReturn(run func() error) *ClientIface_Close_Call

type ClientIface_CollectionEnabled_Call added in v0.3.0

type ClientIface_CollectionEnabled_Call struct {
	*mock.Call
}

ClientIface_CollectionEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectionEnabled'

func (*ClientIface_CollectionEnabled_Call) Return added in v0.3.0

func (*ClientIface_CollectionEnabled_Call) Run added in v0.3.0

func (*ClientIface_CollectionEnabled_Call) RunAndReturn added in v0.3.0

type ClientIface_CollectionsGetCID_Call added in v0.3.0

type ClientIface_CollectionsGetCID_Call struct {
	*mock.Call
}

ClientIface_CollectionsGetCID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectionsGetCID'

func (*ClientIface_CollectionsGetCID_Call) Return added in v0.3.0

func (*ClientIface_CollectionsGetCID_Call) Run added in v0.3.0

func (*ClientIface_CollectionsGetCID_Call) RunAndReturn added in v0.3.0

type ClientIface_ContinueRangeScan_Call added in v0.3.0

type ClientIface_ContinueRangeScan_Call struct {
	*mock.Call
}

ClientIface_ContinueRangeScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContinueRangeScan'

func (*ClientIface_ContinueRangeScan_Call) Return added in v0.3.0

func (*ClientIface_ContinueRangeScan_Call) Run added in v0.3.0

func (_c *ClientIface_ContinueRangeScan_Call) Run(run func(vb uint16, uuid []byte, opaque uint32, items uint32, maxSize uint32, timeout uint32, context ...*memcached.ClientContext)) *ClientIface_ContinueRangeScan_Call

func (*ClientIface_ContinueRangeScan_Call) RunAndReturn added in v0.3.0

type ClientIface_CreateRandomScan_Call added in v0.3.0

type ClientIface_CreateRandomScan_Call struct {
	*mock.Call
}

ClientIface_CreateRandomScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRandomScan'

func (*ClientIface_CreateRandomScan_Call) Return added in v0.3.0

func (*ClientIface_CreateRandomScan_Call) Run added in v0.3.0

func (_c *ClientIface_CreateRandomScan_Call) Run(run func(vb uint16, collId uint32, sampleSize int, withDocs bool, context ...*memcached.ClientContext)) *ClientIface_CreateRandomScan_Call

func (*ClientIface_CreateRandomScan_Call) RunAndReturn added in v0.3.0

type ClientIface_CreateRangeScan_Call added in v0.3.0

type ClientIface_CreateRangeScan_Call struct {
	*mock.Call
}

ClientIface_CreateRangeScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRangeScan'

func (*ClientIface_CreateRangeScan_Call) Return added in v0.3.0

func (*ClientIface_CreateRangeScan_Call) Run added in v0.3.0

func (_c *ClientIface_CreateRangeScan_Call) Run(run func(vb uint16, collId uint32, start []byte, excludeStart bool, end []byte, excludeEnd bool, withDocs bool, context ...*memcached.ClientContext)) *ClientIface_CreateRangeScan_Call

func (*ClientIface_CreateRangeScan_Call) RunAndReturn added in v0.3.0

type ClientIface_Decr_Call added in v0.3.0

type ClientIface_Decr_Call struct {
	*mock.Call
}

ClientIface_Decr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decr'

func (*ClientIface_Decr_Call) Return added in v0.3.0

func (*ClientIface_Decr_Call) Run added in v0.3.0

func (_c *ClientIface_Decr_Call) Run(run func(vb uint16, key string, amt uint64, def uint64, exp int, context ...*memcached.ClientContext)) *ClientIface_Decr_Call

func (*ClientIface_Decr_Call) RunAndReturn added in v0.3.0

type ClientIface_Del_Call added in v0.3.0

type ClientIface_Del_Call struct {
	*mock.Call
}

ClientIface_Del_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Del'

func (*ClientIface_Del_Call) Return added in v0.3.0

func (*ClientIface_Del_Call) Run added in v0.3.0

func (_c *ClientIface_Del_Call) Run(run func(vb uint16, key string, context ...*memcached.ClientContext)) *ClientIface_Del_Call

func (*ClientIface_Del_Call) RunAndReturn added in v0.3.0

type ClientIface_EnableDataPool_Call added in v0.3.1

type ClientIface_EnableDataPool_Call struct {
	*mock.Call
}

ClientIface_EnableDataPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableDataPool'

func (*ClientIface_EnableDataPool_Call) Return added in v0.3.1

func (*ClientIface_EnableDataPool_Call) Run added in v0.3.1

func (_c *ClientIface_EnableDataPool_Call) Run(run func(getter func(uint64) ([]byte, error), doneCb func([]byte))) *ClientIface_EnableDataPool_Call

func (*ClientIface_EnableDataPool_Call) RunAndReturn added in v0.3.1

func (_c *ClientIface_EnableDataPool_Call) RunAndReturn(run func(func(uint64) ([]byte, error), func([]byte)) error) *ClientIface_EnableDataPool_Call

type ClientIface_EnableFeatures_Call added in v0.3.0

type ClientIface_EnableFeatures_Call struct {
	*mock.Call
}

ClientIface_EnableFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableFeatures'

func (*ClientIface_EnableFeatures_Call) Return added in v0.3.0

func (*ClientIface_EnableFeatures_Call) Run added in v0.3.0

func (*ClientIface_EnableFeatures_Call) RunAndReturn added in v0.3.0

type ClientIface_EnableMutationToken_Call added in v0.3.0

type ClientIface_EnableMutationToken_Call struct {
	*mock.Call
}

ClientIface_EnableMutationToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableMutationToken'

func (*ClientIface_EnableMutationToken_Call) Return added in v0.3.0

func (*ClientIface_EnableMutationToken_Call) Run added in v0.3.0

func (*ClientIface_EnableMutationToken_Call) RunAndReturn added in v0.3.0

type ClientIface_Expecter added in v0.3.0

type ClientIface_Expecter struct {
	// contains filtered or unexported fields
}

func (*ClientIface_Expecter) Add added in v0.3.0

func (_e *ClientIface_Expecter) Add(vb interface{}, key interface{}, flags interface{}, exp interface{}, body interface{}, context ...interface{}) *ClientIface_Add_Call

Add is a helper method to define mock.On call

  • vb uint16
  • key string
  • flags int
  • exp int
  • body []byte
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) Append added in v0.3.0

func (_e *ClientIface_Expecter) Append(vb interface{}, key interface{}, data interface{}, context ...interface{}) *ClientIface_Append_Call

Append is a helper method to define mock.On call

  • vb uint16
  • key string
  • data []byte
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) Auth added in v0.3.0

func (_e *ClientIface_Expecter) Auth(user interface{}, pass interface{}) *ClientIface_Auth_Call

Auth is a helper method to define mock.On call

  • user string
  • pass string

func (*ClientIface_Expecter) AuthList added in v0.3.0

AuthList is a helper method to define mock.On call

func (*ClientIface_Expecter) AuthPlain added in v0.3.0

func (_e *ClientIface_Expecter) AuthPlain(user interface{}, pass interface{}) *ClientIface_AuthPlain_Call

AuthPlain is a helper method to define mock.On call

  • user string
  • pass string

func (*ClientIface_Expecter) AuthScramSha added in v0.3.0

func (_e *ClientIface_Expecter) AuthScramSha(user interface{}, pass interface{}) *ClientIface_AuthScramSha_Call

AuthScramSha is a helper method to define mock.On call

  • user string
  • pass string

func (*ClientIface_Expecter) CAS added in v0.3.0

func (_e *ClientIface_Expecter) CAS(vb interface{}, k interface{}, f interface{}, initexp interface{}) *ClientIface_CAS_Call

CAS is a helper method to define mock.On call

  • vb uint16
  • k string
  • f memcached.CasFunc
  • initexp int

func (*ClientIface_Expecter) CASNext added in v0.3.0

func (_e *ClientIface_Expecter) CASNext(vb interface{}, k interface{}, exp interface{}, state interface{}) *ClientIface_CASNext_Call

CASNext is a helper method to define mock.On call

  • vb uint16
  • k string
  • exp int
  • state *memcached.CASState

func (*ClientIface_Expecter) CancelRangeScan added in v0.3.0

func (_e *ClientIface_Expecter) CancelRangeScan(vb interface{}, uuid interface{}, opaque interface{}, context ...interface{}) *ClientIface_CancelRangeScan_Call

CancelRangeScan is a helper method to define mock.On call

  • vb uint16
  • uuid []byte
  • opaque uint32
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) Close added in v0.3.0

Close is a helper method to define mock.On call

func (*ClientIface_Expecter) CollectionEnabled added in v0.3.0

CollectionEnabled is a helper method to define mock.On call

func (*ClientIface_Expecter) CollectionsGetCID added in v0.3.0

func (_e *ClientIface_Expecter) CollectionsGetCID(scope interface{}, collection interface{}) *ClientIface_CollectionsGetCID_Call

CollectionsGetCID is a helper method to define mock.On call

  • scope string
  • collection string

func (*ClientIface_Expecter) ContinueRangeScan added in v0.3.0

func (_e *ClientIface_Expecter) ContinueRangeScan(vb interface{}, uuid interface{}, opaque interface{}, items interface{}, maxSize interface{}, timeout interface{}, context ...interface{}) *ClientIface_ContinueRangeScan_Call

ContinueRangeScan is a helper method to define mock.On call

  • vb uint16
  • uuid []byte
  • opaque uint32
  • items uint32
  • maxSize uint32
  • timeout uint32
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) CreateRandomScan added in v0.3.0

func (_e *ClientIface_Expecter) CreateRandomScan(vb interface{}, collId interface{}, sampleSize interface{}, withDocs interface{}, context ...interface{}) *ClientIface_CreateRandomScan_Call

CreateRandomScan is a helper method to define mock.On call

  • vb uint16
  • collId uint32
  • sampleSize int
  • withDocs bool
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) CreateRangeScan added in v0.3.0

func (_e *ClientIface_Expecter) CreateRangeScan(vb interface{}, collId interface{}, start interface{}, excludeStart interface{}, end interface{}, excludeEnd interface{}, withDocs interface{}, context ...interface{}) *ClientIface_CreateRangeScan_Call

CreateRangeScan is a helper method to define mock.On call

  • vb uint16
  • collId uint32
  • start []byte
  • excludeStart bool
  • end []byte
  • excludeEnd bool
  • withDocs bool
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) Decr added in v0.3.0

func (_e *ClientIface_Expecter) Decr(vb interface{}, key interface{}, amt interface{}, def interface{}, exp interface{}, context ...interface{}) *ClientIface_Decr_Call

Decr is a helper method to define mock.On call

  • vb uint16
  • key string
  • amt uint64
  • def uint64
  • exp int
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) Del added in v0.3.0

func (_e *ClientIface_Expecter) Del(vb interface{}, key interface{}, context ...interface{}) *ClientIface_Del_Call

Del is a helper method to define mock.On call

  • vb uint16
  • key string
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) EnableDataPool added in v0.3.1

func (_e *ClientIface_Expecter) EnableDataPool(getter interface{}, doneCb interface{}) *ClientIface_EnableDataPool_Call

EnableDataPool is a helper method to define mock.On call

  • getter func(uint64)([]byte , error)
  • doneCb func([]byte)

func (*ClientIface_Expecter) EnableFeatures added in v0.3.0

func (_e *ClientIface_Expecter) EnableFeatures(features interface{}) *ClientIface_EnableFeatures_Call

EnableFeatures is a helper method to define mock.On call

  • features memcached.Features

func (*ClientIface_Expecter) EnableMutationToken added in v0.3.0

EnableMutationToken is a helper method to define mock.On call

func (*ClientIface_Expecter) Get added in v0.3.0

func (_e *ClientIface_Expecter) Get(vb interface{}, key interface{}, context ...interface{}) *ClientIface_Get_Call

Get is a helper method to define mock.On call

  • vb uint16
  • key string
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) GetAllVbSeqnos added in v0.3.0

func (_e *ClientIface_Expecter) GetAllVbSeqnos(vbSeqnoMap interface{}, context ...interface{}) *ClientIface_GetAllVbSeqnos_Call

GetAllVbSeqnos is a helper method to define mock.On call

  • vbSeqnoMap map[uint16]uint64
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) GetAndTouch added in v0.3.0

func (_e *ClientIface_Expecter) GetAndTouch(vb interface{}, key interface{}, exp interface{}, context ...interface{}) *ClientIface_GetAndTouch_Call

GetAndTouch is a helper method to define mock.On call

  • vb uint16
  • key string
  • exp int
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) GetBulk added in v0.3.0

func (_e *ClientIface_Expecter) GetBulk(vb interface{}, keys interface{}, rv interface{}, subPaths interface{}, context ...interface{}) *ClientIface_GetBulk_Call

GetBulk is a helper method to define mock.On call

  • vb uint16
  • keys []string
  • rv map[string]*gomemcached.MCResponse
  • subPaths []string
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) GetCollectionsManifest added in v0.3.0

func (_e *ClientIface_Expecter) GetCollectionsManifest() *ClientIface_GetCollectionsManifest_Call

GetCollectionsManifest is a helper method to define mock.On call

func (*ClientIface_Expecter) GetConnName added in v0.3.0

GetConnName is a helper method to define mock.On call

func (*ClientIface_Expecter) GetErrorMap added in v0.3.0

func (_e *ClientIface_Expecter) GetErrorMap(errMapVersion interface{}) *ClientIface_GetErrorMap_Call

GetErrorMap is a helper method to define mock.On call

  • errMapVersion gomemcached.ErrorMapVersion

func (*ClientIface_Expecter) GetMeta added in v0.3.0

func (_e *ClientIface_Expecter) GetMeta(vb interface{}, key interface{}, context ...interface{}) *ClientIface_GetMeta_Call

GetMeta is a helper method to define mock.On call

  • vb uint16
  • key string
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) GetRandomDoc added in v0.3.0

func (_e *ClientIface_Expecter) GetRandomDoc(context ...interface{}) *ClientIface_GetRandomDoc_Call

GetRandomDoc is a helper method to define mock.On call

  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) GetSubdoc added in v0.3.0

func (_e *ClientIface_Expecter) GetSubdoc(vb interface{}, key interface{}, subPaths interface{}, context ...interface{}) *ClientIface_GetSubdoc_Call

GetSubdoc is a helper method to define mock.On call

  • vb uint16
  • key string
  • subPaths []string
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) Hijack added in v0.3.0

Hijack is a helper method to define mock.On call

func (*ClientIface_Expecter) Incr added in v0.3.0

func (_e *ClientIface_Expecter) Incr(vb interface{}, key interface{}, amt interface{}, def interface{}, exp interface{}, context ...interface{}) *ClientIface_Incr_Call

Incr is a helper method to define mock.On call

  • vb uint16
  • key string
  • amt uint64
  • def uint64
  • exp int
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) LastBucket added in v0.3.0

LastBucket is a helper method to define mock.On call

func (*ClientIface_Expecter) NewUprFeed added in v0.3.0

NewUprFeed is a helper method to define mock.On call

func (*ClientIface_Expecter) NewUprFeedIface added in v0.3.0

NewUprFeedIface is a helper method to define mock.On call

func (*ClientIface_Expecter) NewUprFeedWithConfig added in v0.3.0

func (_e *ClientIface_Expecter) NewUprFeedWithConfig(ackByClient interface{}) *ClientIface_NewUprFeedWithConfig_Call

NewUprFeedWithConfig is a helper method to define mock.On call

  • ackByClient bool

func (*ClientIface_Expecter) NewUprFeedWithConfigIface added in v0.3.0

func (_e *ClientIface_Expecter) NewUprFeedWithConfigIface(ackByClient interface{}) *ClientIface_NewUprFeedWithConfigIface_Call

NewUprFeedWithConfigIface is a helper method to define mock.On call

  • ackByClient bool

func (*ClientIface_Expecter) Observe added in v0.3.0

func (_e *ClientIface_Expecter) Observe(vb interface{}, key interface{}) *ClientIface_Observe_Call

Observe is a helper method to define mock.On call

  • vb uint16
  • key string

func (*ClientIface_Expecter) ObserveSeq added in v0.3.0

func (_e *ClientIface_Expecter) ObserveSeq(vb interface{}, vbuuid interface{}) *ClientIface_ObserveSeq_Call

ObserveSeq is a helper method to define mock.On call

  • vb uint16
  • vbuuid uint64

func (*ClientIface_Expecter) Receive added in v0.3.0

Receive is a helper method to define mock.On call

func (*ClientIface_Expecter) ReceiveWithDeadline added in v0.3.0

func (_e *ClientIface_Expecter) ReceiveWithDeadline(deadline interface{}) *ClientIface_ReceiveWithDeadline_Call

ReceiveWithDeadline is a helper method to define mock.On call

  • deadline time.Time

func (*ClientIface_Expecter) Replica added in v0.3.0

Replica is a helper method to define mock.On call

func (*ClientIface_Expecter) SelectBucket added in v0.3.0

func (_e *ClientIface_Expecter) SelectBucket(bucket interface{}) *ClientIface_SelectBucket_Call

SelectBucket is a helper method to define mock.On call

  • bucket string

func (*ClientIface_Expecter) Send added in v0.3.0

func (_e *ClientIface_Expecter) Send(req interface{}) *ClientIface_Send_Call

Send is a helper method to define mock.On call

  • req *gomemcached.MCRequest

func (*ClientIface_Expecter) Set added in v0.3.0

func (_e *ClientIface_Expecter) Set(vb interface{}, key interface{}, flags interface{}, exp interface{}, body interface{}, context ...interface{}) *ClientIface_Set_Call

Set is a helper method to define mock.On call

  • vb uint16
  • key string
  • flags int
  • exp int
  • body []byte
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) SetCas added in v0.3.0

func (_e *ClientIface_Expecter) SetCas(vb interface{}, key interface{}, flags interface{}, exp interface{}, cas interface{}, body interface{}, context ...interface{}) *ClientIface_SetCas_Call

SetCas is a helper method to define mock.On call

  • vb uint16
  • key string
  • flags int
  • exp int
  • cas uint64
  • body []byte
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) SetConnName added in v0.3.0

func (_e *ClientIface_Expecter) SetConnName(name interface{}) *ClientIface_SetConnName_Call

SetConnName is a helper method to define mock.On call

  • name string

func (*ClientIface_Expecter) SetDeadline added in v0.3.0

func (_e *ClientIface_Expecter) SetDeadline(t interface{}) *ClientIface_SetDeadline_Call

SetDeadline is a helper method to define mock.On call

  • t time.Time

func (*ClientIface_Expecter) SetKeepAliveOptions added in v0.3.0

func (_e *ClientIface_Expecter) SetKeepAliveOptions(interval interface{}) *ClientIface_SetKeepAliveOptions_Call

SetKeepAliveOptions is a helper method to define mock.On call

  • interval time.Duration

func (*ClientIface_Expecter) SetReadDeadline added in v0.3.0

func (_e *ClientIface_Expecter) SetReadDeadline(t interface{}) *ClientIface_SetReadDeadline_Call

SetReadDeadline is a helper method to define mock.On call

  • t time.Time

func (*ClientIface_Expecter) SetReplica added in v0.3.0

func (_e *ClientIface_Expecter) SetReplica(r interface{}) *ClientIface_SetReplica_Call

SetReplica is a helper method to define mock.On call

  • r bool

func (*ClientIface_Expecter) SetSubdoc added in v0.3.0

func (_e *ClientIface_Expecter) SetSubdoc(vb interface{}, key interface{}, ops interface{}, context ...interface{}) *ClientIface_SetSubdoc_Call

SetSubdoc is a helper method to define mock.On call

  • vb uint16
  • key string
  • ops []memcached.SubDocOp
  • context ...*memcached.ClientContext

func (*ClientIface_Expecter) Stats added in v0.3.0

func (_e *ClientIface_Expecter) Stats(key interface{}) *ClientIface_Stats_Call

Stats is a helper method to define mock.On call

  • key string

func (*ClientIface_Expecter) StatsFunc added in v0.3.0

func (_e *ClientIface_Expecter) StatsFunc(key interface{}, fn interface{}) *ClientIface_StatsFunc_Call

StatsFunc is a helper method to define mock.On call

  • key string
  • fn func([]byte , []byte)

func (*ClientIface_Expecter) StatsMap added in v0.3.0

func (_e *ClientIface_Expecter) StatsMap(key interface{}) *ClientIface_StatsMap_Call

StatsMap is a helper method to define mock.On call

  • key string

func (*ClientIface_Expecter) StatsMapForSpecifiedStats added in v0.3.0

func (_e *ClientIface_Expecter) StatsMapForSpecifiedStats(key interface{}, statsMap interface{}) *ClientIface_StatsMapForSpecifiedStats_Call

StatsMapForSpecifiedStats is a helper method to define mock.On call

  • key string
  • statsMap map[string]string

func (*ClientIface_Expecter) Transmit added in v0.3.0

func (_e *ClientIface_Expecter) Transmit(req interface{}) *ClientIface_Transmit_Call

Transmit is a helper method to define mock.On call

  • req *gomemcached.MCRequest

func (*ClientIface_Expecter) TransmitResponse added in v0.3.0

func (_e *ClientIface_Expecter) TransmitResponse(res interface{}) *ClientIface_TransmitResponse_Call

TransmitResponse is a helper method to define mock.On call

  • res *gomemcached.MCResponse

func (*ClientIface_Expecter) TransmitWithDeadline added in v0.3.0

func (_e *ClientIface_Expecter) TransmitWithDeadline(req interface{}, deadline interface{}) *ClientIface_TransmitWithDeadline_Call

TransmitWithDeadline is a helper method to define mock.On call

  • req *gomemcached.MCRequest
  • deadline time.Time

func (*ClientIface_Expecter) UprGetFailoverLog added in v0.3.0

func (_e *ClientIface_Expecter) UprGetFailoverLog(vb interface{}) *ClientIface_UprGetFailoverLog_Call

UprGetFailoverLog is a helper method to define mock.On call

  • vb []uint16

func (*ClientIface_Expecter) ValidateKey added in v0.3.0

func (_e *ClientIface_Expecter) ValidateKey(vb interface{}, key interface{}, context ...interface{}) *ClientIface_ValidateKey_Call

ValidateKey is a helper method to define mock.On call

  • vb uint16
  • key string
  • context ...*memcached.ClientContext

type ClientIface_GetAllVbSeqnos_Call added in v0.3.0

type ClientIface_GetAllVbSeqnos_Call struct {
	*mock.Call
}

ClientIface_GetAllVbSeqnos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllVbSeqnos'

func (*ClientIface_GetAllVbSeqnos_Call) Return added in v0.3.0

func (*ClientIface_GetAllVbSeqnos_Call) Run added in v0.3.0

func (*ClientIface_GetAllVbSeqnos_Call) RunAndReturn added in v0.3.0

type ClientIface_GetAndTouch_Call added in v0.3.0

type ClientIface_GetAndTouch_Call struct {
	*mock.Call
}

ClientIface_GetAndTouch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAndTouch'

func (*ClientIface_GetAndTouch_Call) Return added in v0.3.0

func (*ClientIface_GetAndTouch_Call) Run added in v0.3.0

func (*ClientIface_GetAndTouch_Call) RunAndReturn added in v0.3.0

type ClientIface_GetBulk_Call added in v0.3.0

type ClientIface_GetBulk_Call struct {
	*mock.Call
}

ClientIface_GetBulk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBulk'

func (*ClientIface_GetBulk_Call) Return added in v0.3.0

func (*ClientIface_GetBulk_Call) Run added in v0.3.0

func (_c *ClientIface_GetBulk_Call) Run(run func(vb uint16, keys []string, rv map[string]*gomemcached.MCResponse, subPaths []string, context ...*memcached.ClientContext)) *ClientIface_GetBulk_Call

func (*ClientIface_GetBulk_Call) RunAndReturn added in v0.3.0

type ClientIface_GetCollectionsManifest_Call added in v0.3.0

type ClientIface_GetCollectionsManifest_Call struct {
	*mock.Call
}

ClientIface_GetCollectionsManifest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionsManifest'

func (*ClientIface_GetCollectionsManifest_Call) Return added in v0.3.0

func (*ClientIface_GetCollectionsManifest_Call) Run added in v0.3.0

func (*ClientIface_GetCollectionsManifest_Call) RunAndReturn added in v0.3.0

type ClientIface_GetConnName_Call added in v0.3.0

type ClientIface_GetConnName_Call struct {
	*mock.Call
}

ClientIface_GetConnName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConnName'

func (*ClientIface_GetConnName_Call) Return added in v0.3.0

func (*ClientIface_GetConnName_Call) Run added in v0.3.0

func (*ClientIface_GetConnName_Call) RunAndReturn added in v0.3.0

type ClientIface_GetErrorMap_Call added in v0.3.0

type ClientIface_GetErrorMap_Call struct {
	*mock.Call
}

ClientIface_GetErrorMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetErrorMap'

func (*ClientIface_GetErrorMap_Call) Return added in v0.3.0

func (_c *ClientIface_GetErrorMap_Call) Return(_a0 map[string]interface{}, _a1 error) *ClientIface_GetErrorMap_Call

func (*ClientIface_GetErrorMap_Call) Run added in v0.3.0

func (*ClientIface_GetErrorMap_Call) RunAndReturn added in v0.3.0

func (_c *ClientIface_GetErrorMap_Call) RunAndReturn(run func(gomemcached.ErrorMapVersion) (map[string]interface{}, error)) *ClientIface_GetErrorMap_Call

type ClientIface_GetMeta_Call added in v0.3.0

type ClientIface_GetMeta_Call struct {
	*mock.Call
}

ClientIface_GetMeta_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMeta'

func (*ClientIface_GetMeta_Call) Return added in v0.3.0

func (*ClientIface_GetMeta_Call) Run added in v0.3.0

func (_c *ClientIface_GetMeta_Call) Run(run func(vb uint16, key string, context ...*memcached.ClientContext)) *ClientIface_GetMeta_Call

func (*ClientIface_GetMeta_Call) RunAndReturn added in v0.3.0

type ClientIface_GetRandomDoc_Call added in v0.3.0

type ClientIface_GetRandomDoc_Call struct {
	*mock.Call
}

ClientIface_GetRandomDoc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRandomDoc'

func (*ClientIface_GetRandomDoc_Call) Return added in v0.3.0

func (*ClientIface_GetRandomDoc_Call) Run added in v0.3.0

func (*ClientIface_GetRandomDoc_Call) RunAndReturn added in v0.3.0

type ClientIface_GetSubdoc_Call added in v0.3.0

type ClientIface_GetSubdoc_Call struct {
	*mock.Call
}

ClientIface_GetSubdoc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSubdoc'

func (*ClientIface_GetSubdoc_Call) Return added in v0.3.0

func (*ClientIface_GetSubdoc_Call) Run added in v0.3.0

func (_c *ClientIface_GetSubdoc_Call) Run(run func(vb uint16, key string, subPaths []string, context ...*memcached.ClientContext)) *ClientIface_GetSubdoc_Call

func (*ClientIface_GetSubdoc_Call) RunAndReturn added in v0.3.0

type ClientIface_Get_Call added in v0.3.0

type ClientIface_Get_Call struct {
	*mock.Call
}

ClientIface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*ClientIface_Get_Call) Return added in v0.3.0

func (*ClientIface_Get_Call) Run added in v0.3.0

func (_c *ClientIface_Get_Call) Run(run func(vb uint16, key string, context ...*memcached.ClientContext)) *ClientIface_Get_Call

func (*ClientIface_Get_Call) RunAndReturn added in v0.3.0

type ClientIface_Hijack_Call added in v0.3.0

type ClientIface_Hijack_Call struct {
	*mock.Call
}

ClientIface_Hijack_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hijack'

func (*ClientIface_Hijack_Call) Return added in v0.3.0

func (*ClientIface_Hijack_Call) Run added in v0.3.0

func (_c *ClientIface_Hijack_Call) Run(run func()) *ClientIface_Hijack_Call

func (*ClientIface_Hijack_Call) RunAndReturn added in v0.3.0

func (_c *ClientIface_Hijack_Call) RunAndReturn(run func() io.ReadWriteCloser) *ClientIface_Hijack_Call

type ClientIface_Incr_Call added in v0.3.0

type ClientIface_Incr_Call struct {
	*mock.Call
}

ClientIface_Incr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Incr'

func (*ClientIface_Incr_Call) Return added in v0.3.0

func (*ClientIface_Incr_Call) Run added in v0.3.0

func (_c *ClientIface_Incr_Call) Run(run func(vb uint16, key string, amt uint64, def uint64, exp int, context ...*memcached.ClientContext)) *ClientIface_Incr_Call

func (*ClientIface_Incr_Call) RunAndReturn added in v0.3.0

type ClientIface_LastBucket_Call added in v0.3.0

type ClientIface_LastBucket_Call struct {
	*mock.Call
}

ClientIface_LastBucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastBucket'

func (*ClientIface_LastBucket_Call) Return added in v0.3.0

func (*ClientIface_LastBucket_Call) Run added in v0.3.0

func (*ClientIface_LastBucket_Call) RunAndReturn added in v0.3.0

func (_c *ClientIface_LastBucket_Call) RunAndReturn(run func() string) *ClientIface_LastBucket_Call

type ClientIface_NewUprFeedIface_Call added in v0.3.0

type ClientIface_NewUprFeedIface_Call struct {
	*mock.Call
}

ClientIface_NewUprFeedIface_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewUprFeedIface'

func (*ClientIface_NewUprFeedIface_Call) Return added in v0.3.0

func (*ClientIface_NewUprFeedIface_Call) Run added in v0.3.0

func (*ClientIface_NewUprFeedIface_Call) RunAndReturn added in v0.3.0

type ClientIface_NewUprFeedWithConfigIface_Call added in v0.3.0

type ClientIface_NewUprFeedWithConfigIface_Call struct {
	*mock.Call
}

ClientIface_NewUprFeedWithConfigIface_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewUprFeedWithConfigIface'

func (*ClientIface_NewUprFeedWithConfigIface_Call) Return added in v0.3.0

func (*ClientIface_NewUprFeedWithConfigIface_Call) Run added in v0.3.0

func (*ClientIface_NewUprFeedWithConfigIface_Call) RunAndReturn added in v0.3.0

type ClientIface_NewUprFeedWithConfig_Call added in v0.3.0

type ClientIface_NewUprFeedWithConfig_Call struct {
	*mock.Call
}

ClientIface_NewUprFeedWithConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewUprFeedWithConfig'

func (*ClientIface_NewUprFeedWithConfig_Call) Return added in v0.3.0

func (*ClientIface_NewUprFeedWithConfig_Call) Run added in v0.3.0

func (*ClientIface_NewUprFeedWithConfig_Call) RunAndReturn added in v0.3.0

type ClientIface_NewUprFeed_Call added in v0.3.0

type ClientIface_NewUprFeed_Call struct {
	*mock.Call
}

ClientIface_NewUprFeed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewUprFeed'

func (*ClientIface_NewUprFeed_Call) Return added in v0.3.0

func (*ClientIface_NewUprFeed_Call) Run added in v0.3.0

func (*ClientIface_NewUprFeed_Call) RunAndReturn added in v0.3.0

type ClientIface_ObserveSeq_Call added in v0.3.0

type ClientIface_ObserveSeq_Call struct {
	*mock.Call
}

ClientIface_ObserveSeq_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveSeq'

func (*ClientIface_ObserveSeq_Call) Return added in v0.3.0

func (*ClientIface_ObserveSeq_Call) Run added in v0.3.0

func (*ClientIface_ObserveSeq_Call) RunAndReturn added in v0.3.0

type ClientIface_Observe_Call added in v0.3.0

type ClientIface_Observe_Call struct {
	*mock.Call
}

ClientIface_Observe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Observe'

func (*ClientIface_Observe_Call) Return added in v0.3.0

func (*ClientIface_Observe_Call) Run added in v0.3.0

func (_c *ClientIface_Observe_Call) Run(run func(vb uint16, key string)) *ClientIface_Observe_Call

func (*ClientIface_Observe_Call) RunAndReturn added in v0.3.0

type ClientIface_ReceiveWithDeadline_Call added in v0.3.0

type ClientIface_ReceiveWithDeadline_Call struct {
	*mock.Call
}

ClientIface_ReceiveWithDeadline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReceiveWithDeadline'

func (*ClientIface_ReceiveWithDeadline_Call) Return added in v0.3.0

func (*ClientIface_ReceiveWithDeadline_Call) Run added in v0.3.0

func (*ClientIface_ReceiveWithDeadline_Call) RunAndReturn added in v0.3.0

type ClientIface_Receive_Call added in v0.3.0

type ClientIface_Receive_Call struct {
	*mock.Call
}

ClientIface_Receive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Receive'

func (*ClientIface_Receive_Call) Return added in v0.3.0

func (*ClientIface_Receive_Call) Run added in v0.3.0

func (*ClientIface_Receive_Call) RunAndReturn added in v0.3.0

type ClientIface_Replica_Call added in v0.3.0

type ClientIface_Replica_Call struct {
	*mock.Call
}

ClientIface_Replica_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Replica'

func (*ClientIface_Replica_Call) Return added in v0.3.0

func (*ClientIface_Replica_Call) Run added in v0.3.0

func (*ClientIface_Replica_Call) RunAndReturn added in v0.3.0

func (_c *ClientIface_Replica_Call) RunAndReturn(run func() bool) *ClientIface_Replica_Call

type ClientIface_SelectBucket_Call added in v0.3.0

type ClientIface_SelectBucket_Call struct {
	*mock.Call
}

ClientIface_SelectBucket_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectBucket'

func (*ClientIface_SelectBucket_Call) Return added in v0.3.0

func (*ClientIface_SelectBucket_Call) Run added in v0.3.0

func (*ClientIface_SelectBucket_Call) RunAndReturn added in v0.3.0

type ClientIface_Send_Call added in v0.3.0

type ClientIface_Send_Call struct {
	*mock.Call
}

ClientIface_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'

func (*ClientIface_Send_Call) Return added in v0.3.0

func (*ClientIface_Send_Call) Run added in v0.3.0

func (*ClientIface_Send_Call) RunAndReturn added in v0.3.0

type ClientIface_SetCas_Call added in v0.3.0

type ClientIface_SetCas_Call struct {
	*mock.Call
}

ClientIface_SetCas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCas'

func (*ClientIface_SetCas_Call) Return added in v0.3.0

func (*ClientIface_SetCas_Call) Run added in v0.3.0

func (_c *ClientIface_SetCas_Call) Run(run func(vb uint16, key string, flags int, exp int, cas uint64, body []byte, context ...*memcached.ClientContext)) *ClientIface_SetCas_Call

func (*ClientIface_SetCas_Call) RunAndReturn added in v0.3.0

type ClientIface_SetConnName_Call added in v0.3.0

type ClientIface_SetConnName_Call struct {
	*mock.Call
}

ClientIface_SetConnName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConnName'

func (*ClientIface_SetConnName_Call) Return added in v0.3.0

func (*ClientIface_SetConnName_Call) Run added in v0.3.0

func (*ClientIface_SetConnName_Call) RunAndReturn added in v0.3.0

type ClientIface_SetDeadline_Call added in v0.3.0

type ClientIface_SetDeadline_Call struct {
	*mock.Call
}

ClientIface_SetDeadline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDeadline'

func (*ClientIface_SetDeadline_Call) Return added in v0.3.0

func (*ClientIface_SetDeadline_Call) Run added in v0.3.0

func (*ClientIface_SetDeadline_Call) RunAndReturn added in v0.3.0

type ClientIface_SetKeepAliveOptions_Call added in v0.3.0

type ClientIface_SetKeepAliveOptions_Call struct {
	*mock.Call
}

ClientIface_SetKeepAliveOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetKeepAliveOptions'

func (*ClientIface_SetKeepAliveOptions_Call) Return added in v0.3.0

func (*ClientIface_SetKeepAliveOptions_Call) Run added in v0.3.0

func (*ClientIface_SetKeepAliveOptions_Call) RunAndReturn added in v0.3.0

type ClientIface_SetReadDeadline_Call added in v0.3.0

type ClientIface_SetReadDeadline_Call struct {
	*mock.Call
}

ClientIface_SetReadDeadline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetReadDeadline'

func (*ClientIface_SetReadDeadline_Call) Return added in v0.3.0

func (*ClientIface_SetReadDeadline_Call) Run added in v0.3.0

func (*ClientIface_SetReadDeadline_Call) RunAndReturn added in v0.3.0

type ClientIface_SetReplica_Call added in v0.3.0

type ClientIface_SetReplica_Call struct {
	*mock.Call
}

ClientIface_SetReplica_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetReplica'

func (*ClientIface_SetReplica_Call) Return added in v0.3.0

func (*ClientIface_SetReplica_Call) Run added in v0.3.0

func (*ClientIface_SetReplica_Call) RunAndReturn added in v0.3.0

func (_c *ClientIface_SetReplica_Call) RunAndReturn(run func(bool)) *ClientIface_SetReplica_Call

type ClientIface_SetSubdoc_Call added in v0.3.0

type ClientIface_SetSubdoc_Call struct {
	*mock.Call
}

ClientIface_SetSubdoc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSubdoc'

func (*ClientIface_SetSubdoc_Call) Return added in v0.3.0

func (*ClientIface_SetSubdoc_Call) Run added in v0.3.0

func (*ClientIface_SetSubdoc_Call) RunAndReturn added in v0.3.0

type ClientIface_Set_Call added in v0.3.0

type ClientIface_Set_Call struct {
	*mock.Call
}

ClientIface_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'

func (*ClientIface_Set_Call) Return added in v0.3.0

func (*ClientIface_Set_Call) Run added in v0.3.0

func (_c *ClientIface_Set_Call) Run(run func(vb uint16, key string, flags int, exp int, body []byte, context ...*memcached.ClientContext)) *ClientIface_Set_Call

func (*ClientIface_Set_Call) RunAndReturn added in v0.3.0

type ClientIface_StatsFunc_Call added in v0.3.0

type ClientIface_StatsFunc_Call struct {
	*mock.Call
}

ClientIface_StatsFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StatsFunc'

func (*ClientIface_StatsFunc_Call) Return added in v0.3.0

func (*ClientIface_StatsFunc_Call) Run added in v0.3.0

func (_c *ClientIface_StatsFunc_Call) Run(run func(key string, fn func([]byte, []byte))) *ClientIface_StatsFunc_Call

func (*ClientIface_StatsFunc_Call) RunAndReturn added in v0.3.0

func (_c *ClientIface_StatsFunc_Call) RunAndReturn(run func(string, func([]byte, []byte)) error) *ClientIface_StatsFunc_Call

type ClientIface_StatsMapForSpecifiedStats_Call added in v0.3.0

type ClientIface_StatsMapForSpecifiedStats_Call struct {
	*mock.Call
}

ClientIface_StatsMapForSpecifiedStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StatsMapForSpecifiedStats'

func (*ClientIface_StatsMapForSpecifiedStats_Call) Return added in v0.3.0

func (*ClientIface_StatsMapForSpecifiedStats_Call) Run added in v0.3.0

func (*ClientIface_StatsMapForSpecifiedStats_Call) RunAndReturn added in v0.3.0

type ClientIface_StatsMap_Call added in v0.3.0

type ClientIface_StatsMap_Call struct {
	*mock.Call
}

ClientIface_StatsMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StatsMap'

func (*ClientIface_StatsMap_Call) Return added in v0.3.0

func (*ClientIface_StatsMap_Call) Run added in v0.3.0

func (*ClientIface_StatsMap_Call) RunAndReturn added in v0.3.0

func (_c *ClientIface_StatsMap_Call) RunAndReturn(run func(string) (map[string]string, error)) *ClientIface_StatsMap_Call

type ClientIface_Stats_Call added in v0.3.0

type ClientIface_Stats_Call struct {
	*mock.Call
}

ClientIface_Stats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stats'

func (*ClientIface_Stats_Call) Return added in v0.3.0

func (*ClientIface_Stats_Call) Run added in v0.3.0

func (_c *ClientIface_Stats_Call) Run(run func(key string)) *ClientIface_Stats_Call

func (*ClientIface_Stats_Call) RunAndReturn added in v0.3.0

type ClientIface_TransmitResponse_Call added in v0.3.0

type ClientIface_TransmitResponse_Call struct {
	*mock.Call
}

ClientIface_TransmitResponse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransmitResponse'

func (*ClientIface_TransmitResponse_Call) Return added in v0.3.0

func (*ClientIface_TransmitResponse_Call) Run added in v0.3.0

func (*ClientIface_TransmitResponse_Call) RunAndReturn added in v0.3.0

type ClientIface_TransmitWithDeadline_Call added in v0.3.0

type ClientIface_TransmitWithDeadline_Call struct {
	*mock.Call
}

ClientIface_TransmitWithDeadline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransmitWithDeadline'

func (*ClientIface_TransmitWithDeadline_Call) Return added in v0.3.0

func (*ClientIface_TransmitWithDeadline_Call) Run added in v0.3.0

func (*ClientIface_TransmitWithDeadline_Call) RunAndReturn added in v0.3.0

type ClientIface_Transmit_Call added in v0.3.0

type ClientIface_Transmit_Call struct {
	*mock.Call
}

ClientIface_Transmit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transmit'

func (*ClientIface_Transmit_Call) Return added in v0.3.0

func (*ClientIface_Transmit_Call) Run added in v0.3.0

func (*ClientIface_Transmit_Call) RunAndReturn added in v0.3.0

type ClientIface_UprGetFailoverLog_Call added in v0.3.0

type ClientIface_UprGetFailoverLog_Call struct {
	*mock.Call
}

ClientIface_UprGetFailoverLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UprGetFailoverLog'

func (*ClientIface_UprGetFailoverLog_Call) Return added in v0.3.0

func (*ClientIface_UprGetFailoverLog_Call) Run added in v0.3.0

func (*ClientIface_UprGetFailoverLog_Call) RunAndReturn added in v0.3.0

type ClientIface_ValidateKey_Call added in v0.3.0

type ClientIface_ValidateKey_Call struct {
	*mock.Call
}

ClientIface_ValidateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateKey'

func (*ClientIface_ValidateKey_Call) Return added in v0.3.0

func (*ClientIface_ValidateKey_Call) Run added in v0.3.0

func (*ClientIface_ValidateKey_Call) RunAndReturn added in v0.3.0

type CollectionChangedEvent

type CollectionChangedEvent struct {
	mock.Mock
}

CollectionChangedEvent is an autogenerated mock type for the CollectionChangedEvent type

func NewCollectionChangedEvent added in v0.2.1

func NewCollectionChangedEvent(t interface {
	mock.TestingT
	Cleanup(func())
}) *CollectionChangedEvent

NewCollectionChangedEvent creates a new instance of CollectionChangedEvent. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CollectionChangedEvent) EXPECT added in v0.3.0

func (*CollectionChangedEvent) GetCollectionId

func (_m *CollectionChangedEvent) GetCollectionId() (uint32, error)

GetCollectionId provides a mock function with given fields:

func (*CollectionChangedEvent) GetManifestId

func (_m *CollectionChangedEvent) GetManifestId() (uint64, error)

GetManifestId provides a mock function with given fields:

func (*CollectionChangedEvent) GetMaxTTL

func (_m *CollectionChangedEvent) GetMaxTTL() (uint32, error)

GetMaxTTL provides a mock function with given fields:

type CollectionChangedEvent_Expecter added in v0.3.0

type CollectionChangedEvent_Expecter struct {
	// contains filtered or unexported fields
}

func (*CollectionChangedEvent_Expecter) GetCollectionId added in v0.3.0

GetCollectionId is a helper method to define mock.On call

func (*CollectionChangedEvent_Expecter) GetManifestId added in v0.3.0

GetManifestId is a helper method to define mock.On call

func (*CollectionChangedEvent_Expecter) GetMaxTTL added in v0.3.0

GetMaxTTL is a helper method to define mock.On call

type CollectionChangedEvent_GetCollectionId_Call added in v0.3.0

type CollectionChangedEvent_GetCollectionId_Call struct {
	*mock.Call
}

CollectionChangedEvent_GetCollectionId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionId'

func (*CollectionChangedEvent_GetCollectionId_Call) Return added in v0.3.0

func (*CollectionChangedEvent_GetCollectionId_Call) Run added in v0.3.0

func (*CollectionChangedEvent_GetCollectionId_Call) RunAndReturn added in v0.3.0

type CollectionChangedEvent_GetManifestId_Call added in v0.3.0

type CollectionChangedEvent_GetManifestId_Call struct {
	*mock.Call
}

CollectionChangedEvent_GetManifestId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManifestId'

func (*CollectionChangedEvent_GetManifestId_Call) Return added in v0.3.0

func (*CollectionChangedEvent_GetManifestId_Call) Run added in v0.3.0

func (*CollectionChangedEvent_GetManifestId_Call) RunAndReturn added in v0.3.0

type CollectionChangedEvent_GetMaxTTL_Call added in v0.3.0

type CollectionChangedEvent_GetMaxTTL_Call struct {
	*mock.Call
}

CollectionChangedEvent_GetMaxTTL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMaxTTL'

func (*CollectionChangedEvent_GetMaxTTL_Call) Return added in v0.3.0

func (*CollectionChangedEvent_GetMaxTTL_Call) Run added in v0.3.0

func (*CollectionChangedEvent_GetMaxTTL_Call) RunAndReturn added in v0.3.0

type CollectionCreateEvent

type CollectionCreateEvent struct {
	mock.Mock
}

CollectionCreateEvent is an autogenerated mock type for the CollectionCreateEvent type

func NewCollectionCreateEvent added in v0.2.1

func NewCollectionCreateEvent(t interface {
	mock.TestingT
	Cleanup(func())
}) *CollectionCreateEvent

NewCollectionCreateEvent creates a new instance of CollectionCreateEvent. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CollectionCreateEvent) EXPECT added in v0.3.0

func (*CollectionCreateEvent) GetCollectionId

func (_m *CollectionCreateEvent) GetCollectionId() (uint32, error)

GetCollectionId provides a mock function with given fields:

func (*CollectionCreateEvent) GetManifestId

func (_m *CollectionCreateEvent) GetManifestId() (uint64, error)

GetManifestId provides a mock function with given fields:

func (*CollectionCreateEvent) GetMaxTTL

func (_m *CollectionCreateEvent) GetMaxTTL() (uint32, error)

GetMaxTTL provides a mock function with given fields:

func (*CollectionCreateEvent) GetScopeId

func (_m *CollectionCreateEvent) GetScopeId() (uint32, error)

GetScopeId provides a mock function with given fields:

func (*CollectionCreateEvent) GetSystemEventName

func (_m *CollectionCreateEvent) GetSystemEventName() (string, error)

GetSystemEventName provides a mock function with given fields:

type CollectionCreateEvent_Expecter added in v0.3.0

type CollectionCreateEvent_Expecter struct {
	// contains filtered or unexported fields
}

func (*CollectionCreateEvent_Expecter) GetCollectionId added in v0.3.0

GetCollectionId is a helper method to define mock.On call

func (*CollectionCreateEvent_Expecter) GetManifestId added in v0.3.0

GetManifestId is a helper method to define mock.On call

func (*CollectionCreateEvent_Expecter) GetMaxTTL added in v0.3.0

GetMaxTTL is a helper method to define mock.On call

func (*CollectionCreateEvent_Expecter) GetScopeId added in v0.3.0

GetScopeId is a helper method to define mock.On call

func (*CollectionCreateEvent_Expecter) GetSystemEventName added in v0.3.0

GetSystemEventName is a helper method to define mock.On call

type CollectionCreateEvent_GetCollectionId_Call added in v0.3.0

type CollectionCreateEvent_GetCollectionId_Call struct {
	*mock.Call
}

CollectionCreateEvent_GetCollectionId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionId'

func (*CollectionCreateEvent_GetCollectionId_Call) Return added in v0.3.0

func (*CollectionCreateEvent_GetCollectionId_Call) Run added in v0.3.0

func (*CollectionCreateEvent_GetCollectionId_Call) RunAndReturn added in v0.3.0

type CollectionCreateEvent_GetManifestId_Call added in v0.3.0

type CollectionCreateEvent_GetManifestId_Call struct {
	*mock.Call
}

CollectionCreateEvent_GetManifestId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManifestId'

func (*CollectionCreateEvent_GetManifestId_Call) Return added in v0.3.0

func (*CollectionCreateEvent_GetManifestId_Call) Run added in v0.3.0

func (*CollectionCreateEvent_GetManifestId_Call) RunAndReturn added in v0.3.0

type CollectionCreateEvent_GetMaxTTL_Call added in v0.3.0

type CollectionCreateEvent_GetMaxTTL_Call struct {
	*mock.Call
}

CollectionCreateEvent_GetMaxTTL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMaxTTL'

func (*CollectionCreateEvent_GetMaxTTL_Call) Return added in v0.3.0

func (*CollectionCreateEvent_GetMaxTTL_Call) Run added in v0.3.0

func (*CollectionCreateEvent_GetMaxTTL_Call) RunAndReturn added in v0.3.0

type CollectionCreateEvent_GetScopeId_Call added in v0.3.0

type CollectionCreateEvent_GetScopeId_Call struct {
	*mock.Call
}

CollectionCreateEvent_GetScopeId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScopeId'

func (*CollectionCreateEvent_GetScopeId_Call) Return added in v0.3.0

func (*CollectionCreateEvent_GetScopeId_Call) Run added in v0.3.0

func (*CollectionCreateEvent_GetScopeId_Call) RunAndReturn added in v0.3.0

type CollectionCreateEvent_GetSystemEventName_Call added in v0.3.0

type CollectionCreateEvent_GetSystemEventName_Call struct {
	*mock.Call
}

CollectionCreateEvent_GetSystemEventName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemEventName'

func (*CollectionCreateEvent_GetSystemEventName_Call) Return added in v0.3.0

func (*CollectionCreateEvent_GetSystemEventName_Call) Run added in v0.3.0

func (*CollectionCreateEvent_GetSystemEventName_Call) RunAndReturn added in v0.3.0

type CollectionDropEvent

type CollectionDropEvent struct {
	mock.Mock
}

CollectionDropEvent is an autogenerated mock type for the CollectionDropEvent type

func NewCollectionDropEvent added in v0.2.1

func NewCollectionDropEvent(t interface {
	mock.TestingT
	Cleanup(func())
}) *CollectionDropEvent

NewCollectionDropEvent creates a new instance of CollectionDropEvent. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CollectionDropEvent) EXPECT added in v0.3.0

func (*CollectionDropEvent) GetCollectionId

func (_m *CollectionDropEvent) GetCollectionId() (uint32, error)

GetCollectionId provides a mock function with given fields:

func (*CollectionDropEvent) GetManifestId

func (_m *CollectionDropEvent) GetManifestId() (uint64, error)

GetManifestId provides a mock function with given fields:

func (*CollectionDropEvent) GetScopeId

func (_m *CollectionDropEvent) GetScopeId() (uint32, error)

GetScopeId provides a mock function with given fields:

type CollectionDropEvent_Expecter added in v0.3.0

type CollectionDropEvent_Expecter struct {
	// contains filtered or unexported fields
}

func (*CollectionDropEvent_Expecter) GetCollectionId added in v0.3.0

GetCollectionId is a helper method to define mock.On call

func (*CollectionDropEvent_Expecter) GetManifestId added in v0.3.0

GetManifestId is a helper method to define mock.On call

func (*CollectionDropEvent_Expecter) GetScopeId added in v0.3.0

GetScopeId is a helper method to define mock.On call

type CollectionDropEvent_GetCollectionId_Call added in v0.3.0

type CollectionDropEvent_GetCollectionId_Call struct {
	*mock.Call
}

CollectionDropEvent_GetCollectionId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionId'

func (*CollectionDropEvent_GetCollectionId_Call) Return added in v0.3.0

func (*CollectionDropEvent_GetCollectionId_Call) Run added in v0.3.0

func (*CollectionDropEvent_GetCollectionId_Call) RunAndReturn added in v0.3.0

type CollectionDropEvent_GetManifestId_Call added in v0.3.0

type CollectionDropEvent_GetManifestId_Call struct {
	*mock.Call
}

CollectionDropEvent_GetManifestId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManifestId'

func (*CollectionDropEvent_GetManifestId_Call) Return added in v0.3.0

func (*CollectionDropEvent_GetManifestId_Call) Run added in v0.3.0

func (*CollectionDropEvent_GetManifestId_Call) RunAndReturn added in v0.3.0

type CollectionDropEvent_GetScopeId_Call added in v0.3.0

type CollectionDropEvent_GetScopeId_Call struct {
	*mock.Call
}

CollectionDropEvent_GetScopeId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScopeId'

func (*CollectionDropEvent_GetScopeId_Call) Return added in v0.3.0

func (*CollectionDropEvent_GetScopeId_Call) Run added in v0.3.0

func (*CollectionDropEvent_GetScopeId_Call) RunAndReturn added in v0.3.0

type ScopeCreateEvent

type ScopeCreateEvent struct {
	mock.Mock
}

ScopeCreateEvent is an autogenerated mock type for the ScopeCreateEvent type

func NewScopeCreateEvent added in v0.2.1

func NewScopeCreateEvent(t interface {
	mock.TestingT
	Cleanup(func())
}) *ScopeCreateEvent

NewScopeCreateEvent creates a new instance of ScopeCreateEvent. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ScopeCreateEvent) EXPECT added in v0.3.0

func (*ScopeCreateEvent) GetManifestId

func (_m *ScopeCreateEvent) GetManifestId() (uint64, error)

GetManifestId provides a mock function with given fields:

func (*ScopeCreateEvent) GetScopeId

func (_m *ScopeCreateEvent) GetScopeId() (uint32, error)

GetScopeId provides a mock function with given fields:

func (*ScopeCreateEvent) GetSystemEventName

func (_m *ScopeCreateEvent) GetSystemEventName() (string, error)

GetSystemEventName provides a mock function with given fields:

type ScopeCreateEvent_Expecter added in v0.3.0

type ScopeCreateEvent_Expecter struct {
	// contains filtered or unexported fields
}

func (*ScopeCreateEvent_Expecter) GetManifestId added in v0.3.0

GetManifestId is a helper method to define mock.On call

func (*ScopeCreateEvent_Expecter) GetScopeId added in v0.3.0

GetScopeId is a helper method to define mock.On call

func (*ScopeCreateEvent_Expecter) GetSystemEventName added in v0.3.0

GetSystemEventName is a helper method to define mock.On call

type ScopeCreateEvent_GetManifestId_Call added in v0.3.0

type ScopeCreateEvent_GetManifestId_Call struct {
	*mock.Call
}

ScopeCreateEvent_GetManifestId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManifestId'

func (*ScopeCreateEvent_GetManifestId_Call) Return added in v0.3.0

func (*ScopeCreateEvent_GetManifestId_Call) Run added in v0.3.0

func (*ScopeCreateEvent_GetManifestId_Call) RunAndReturn added in v0.3.0

type ScopeCreateEvent_GetScopeId_Call added in v0.3.0

type ScopeCreateEvent_GetScopeId_Call struct {
	*mock.Call
}

ScopeCreateEvent_GetScopeId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScopeId'

func (*ScopeCreateEvent_GetScopeId_Call) Return added in v0.3.0

func (*ScopeCreateEvent_GetScopeId_Call) Run added in v0.3.0

func (*ScopeCreateEvent_GetScopeId_Call) RunAndReturn added in v0.3.0

type ScopeCreateEvent_GetSystemEventName_Call added in v0.3.0

type ScopeCreateEvent_GetSystemEventName_Call struct {
	*mock.Call
}

ScopeCreateEvent_GetSystemEventName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemEventName'

func (*ScopeCreateEvent_GetSystemEventName_Call) Return added in v0.3.0

func (*ScopeCreateEvent_GetSystemEventName_Call) Run added in v0.3.0

func (*ScopeCreateEvent_GetSystemEventName_Call) RunAndReturn added in v0.3.0

type ScopeDropEvent

type ScopeDropEvent struct {
	mock.Mock
}

ScopeDropEvent is an autogenerated mock type for the ScopeDropEvent type

func NewScopeDropEvent added in v0.2.1

func NewScopeDropEvent(t interface {
	mock.TestingT
	Cleanup(func())
}) *ScopeDropEvent

NewScopeDropEvent creates a new instance of ScopeDropEvent. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ScopeDropEvent) EXPECT added in v0.3.0

func (*ScopeDropEvent) GetManifestId

func (_m *ScopeDropEvent) GetManifestId() (uint64, error)

GetManifestId provides a mock function with given fields:

func (*ScopeDropEvent) GetScopeId

func (_m *ScopeDropEvent) GetScopeId() (uint32, error)

GetScopeId provides a mock function with given fields:

type ScopeDropEvent_Expecter added in v0.3.0

type ScopeDropEvent_Expecter struct {
	// contains filtered or unexported fields
}

func (*ScopeDropEvent_Expecter) GetManifestId added in v0.3.0

GetManifestId is a helper method to define mock.On call

func (*ScopeDropEvent_Expecter) GetScopeId added in v0.3.0

GetScopeId is a helper method to define mock.On call

type ScopeDropEvent_GetManifestId_Call added in v0.3.0

type ScopeDropEvent_GetManifestId_Call struct {
	*mock.Call
}

ScopeDropEvent_GetManifestId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetManifestId'

func (*ScopeDropEvent_GetManifestId_Call) Return added in v0.3.0

func (*ScopeDropEvent_GetManifestId_Call) Run added in v0.3.0

func (*ScopeDropEvent_GetManifestId_Call) RunAndReturn added in v0.3.0

type ScopeDropEvent_GetScopeId_Call added in v0.3.0

type ScopeDropEvent_GetScopeId_Call struct {
	*mock.Call
}

ScopeDropEvent_GetScopeId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScopeId'

func (*ScopeDropEvent_GetScopeId_Call) Return added in v0.3.0

func (*ScopeDropEvent_GetScopeId_Call) Run added in v0.3.0

func (*ScopeDropEvent_GetScopeId_Call) RunAndReturn added in v0.3.0

type UprFeedIface

type UprFeedIface struct {
	mock.Mock
}

UprFeedIface is an autogenerated mock type for the UprFeedIface type

func NewUprFeedIface added in v0.2.1

func NewUprFeedIface(t interface {
	mock.TestingT
	Cleanup(func())
}) *UprFeedIface

NewUprFeedIface creates a new instance of UprFeedIface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UprFeedIface) ClientAck

func (_m *UprFeedIface) ClientAck(event *memcached.UprEvent) error

ClientAck provides a mock function with given fields: event

func (*UprFeedIface) Close

func (_m *UprFeedIface) Close()

Close provides a mock function with given fields:

func (*UprFeedIface) CloseStream

func (_m *UprFeedIface) CloseStream(vbno uint16, opaqueMSB uint16) error

CloseStream provides a mock function with given fields: vbno, opaqueMSB

func (*UprFeedIface) Closed

func (_m *UprFeedIface) Closed() bool

Closed provides a mock function with given fields:

func (*UprFeedIface) EXPECT added in v0.3.0

func (_m *UprFeedIface) EXPECT() *UprFeedIface_Expecter

func (*UprFeedIface) GetError

func (_m *UprFeedIface) GetError() error

GetError provides a mock function with given fields:

func (*UprFeedIface) GetUprEventCh

func (_m *UprFeedIface) GetUprEventCh() <-chan *memcached.UprEvent

GetUprEventCh provides a mock function with given fields:

func (*UprFeedIface) GetUprStats

func (_m *UprFeedIface) GetUprStats() *memcached.UprStats

GetUprStats provides a mock function with given fields:

func (*UprFeedIface) SetPriorityAsync

func (_m *UprFeedIface) SetPriorityAsync(p memcached.PriorityType) error

SetPriorityAsync provides a mock function with given fields: p

func (*UprFeedIface) StartFeed

func (_m *UprFeedIface) StartFeed() error

StartFeed provides a mock function with given fields:

func (*UprFeedIface) StartFeedWithConfig

func (_m *UprFeedIface) StartFeedWithConfig(datachan_len int) error

StartFeedWithConfig provides a mock function with given fields: datachan_len

func (*UprFeedIface) UprOpen

func (_m *UprFeedIface) UprOpen(name string, sequence uint32, bufSize uint32) error

UprOpen provides a mock function with given fields: name, sequence, bufSize

func (*UprFeedIface) UprOpenWithFeatures

func (_m *UprFeedIface) UprOpenWithFeatures(name string, sequence uint32, bufSize uint32, features memcached.UprFeatures) (error, memcached.UprFeatures)

UprOpenWithFeatures provides a mock function with given fields: name, sequence, bufSize, features

func (*UprFeedIface) UprOpenWithXATTR

func (_m *UprFeedIface) UprOpenWithXATTR(name string, sequence uint32, bufSize uint32) error

UprOpenWithXATTR provides a mock function with given fields: name, sequence, bufSize

func (*UprFeedIface) UprRequestCollectionsStream

func (_m *UprFeedIface) UprRequestCollectionsStream(vbno uint16, opaqueMSB uint16, flags uint32, vbuuid uint64, startSeq uint64, endSeq uint64, snapStart uint64, snapEnd uint64, filter *memcached.CollectionsFilter) error

UprRequestCollectionsStream provides a mock function with given fields: vbno, opaqueMSB, flags, vbuuid, startSeq, endSeq, snapStart, snapEnd, filter

func (*UprFeedIface) UprRequestStream

func (_m *UprFeedIface) UprRequestStream(vbno uint16, opaqueMSB uint16, flags uint32, vuuid uint64, startSequence uint64, endSequence uint64, snapStart uint64, snapEnd uint64) error

UprRequestStream provides a mock function with given fields: vbno, opaqueMSB, flags, vuuid, startSequence, endSequence, snapStart, snapEnd

type UprFeedIface_ClientAck_Call added in v0.3.0

type UprFeedIface_ClientAck_Call struct {
	*mock.Call
}

UprFeedIface_ClientAck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientAck'

func (*UprFeedIface_ClientAck_Call) Return added in v0.3.0

func (*UprFeedIface_ClientAck_Call) Run added in v0.3.0

func (*UprFeedIface_ClientAck_Call) RunAndReturn added in v0.3.0

type UprFeedIface_CloseStream_Call added in v0.3.0

type UprFeedIface_CloseStream_Call struct {
	*mock.Call
}

UprFeedIface_CloseStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseStream'

func (*UprFeedIface_CloseStream_Call) Return added in v0.3.0

func (*UprFeedIface_CloseStream_Call) Run added in v0.3.0

func (_c *UprFeedIface_CloseStream_Call) Run(run func(vbno uint16, opaqueMSB uint16)) *UprFeedIface_CloseStream_Call

func (*UprFeedIface_CloseStream_Call) RunAndReturn added in v0.3.0

type UprFeedIface_Close_Call added in v0.3.0

type UprFeedIface_Close_Call struct {
	*mock.Call
}

UprFeedIface_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*UprFeedIface_Close_Call) Return added in v0.3.0

func (*UprFeedIface_Close_Call) Run added in v0.3.0

func (_c *UprFeedIface_Close_Call) Run(run func()) *UprFeedIface_Close_Call

func (*UprFeedIface_Close_Call) RunAndReturn added in v0.3.0

func (_c *UprFeedIface_Close_Call) RunAndReturn(run func()) *UprFeedIface_Close_Call

type UprFeedIface_Closed_Call added in v0.3.0

type UprFeedIface_Closed_Call struct {
	*mock.Call
}

UprFeedIface_Closed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Closed'

func (*UprFeedIface_Closed_Call) Return added in v0.3.0

func (*UprFeedIface_Closed_Call) Run added in v0.3.0

func (*UprFeedIface_Closed_Call) RunAndReturn added in v0.3.0

func (_c *UprFeedIface_Closed_Call) RunAndReturn(run func() bool) *UprFeedIface_Closed_Call

type UprFeedIface_Expecter added in v0.3.0

type UprFeedIface_Expecter struct {
	// contains filtered or unexported fields
}

func (*UprFeedIface_Expecter) ClientAck added in v0.3.0

func (_e *UprFeedIface_Expecter) ClientAck(event interface{}) *UprFeedIface_ClientAck_Call

ClientAck is a helper method to define mock.On call

  • event *memcached.UprEvent

func (*UprFeedIface_Expecter) Close added in v0.3.0

Close is a helper method to define mock.On call

func (*UprFeedIface_Expecter) CloseStream added in v0.3.0

func (_e *UprFeedIface_Expecter) CloseStream(vbno interface{}, opaqueMSB interface{}) *UprFeedIface_CloseStream_Call

CloseStream is a helper method to define mock.On call

  • vbno uint16
  • opaqueMSB uint16

func (*UprFeedIface_Expecter) Closed added in v0.3.0

Closed is a helper method to define mock.On call

func (*UprFeedIface_Expecter) GetError added in v0.3.0

GetError is a helper method to define mock.On call

func (*UprFeedIface_Expecter) GetUprEventCh added in v0.3.0

GetUprEventCh is a helper method to define mock.On call

func (*UprFeedIface_Expecter) GetUprStats added in v0.3.0

GetUprStats is a helper method to define mock.On call

func (*UprFeedIface_Expecter) SetPriorityAsync added in v0.3.0

func (_e *UprFeedIface_Expecter) SetPriorityAsync(p interface{}) *UprFeedIface_SetPriorityAsync_Call

SetPriorityAsync is a helper method to define mock.On call

  • p memcached.PriorityType

func (*UprFeedIface_Expecter) StartFeed added in v0.3.0

StartFeed is a helper method to define mock.On call

func (*UprFeedIface_Expecter) StartFeedWithConfig added in v0.3.0

func (_e *UprFeedIface_Expecter) StartFeedWithConfig(datachan_len interface{}) *UprFeedIface_StartFeedWithConfig_Call

StartFeedWithConfig is a helper method to define mock.On call

  • datachan_len int

func (*UprFeedIface_Expecter) UprOpen added in v0.3.0

func (_e *UprFeedIface_Expecter) UprOpen(name interface{}, sequence interface{}, bufSize interface{}) *UprFeedIface_UprOpen_Call

UprOpen is a helper method to define mock.On call

  • name string
  • sequence uint32
  • bufSize uint32

func (*UprFeedIface_Expecter) UprOpenWithFeatures added in v0.3.0

func (_e *UprFeedIface_Expecter) UprOpenWithFeatures(name interface{}, sequence interface{}, bufSize interface{}, features interface{}) *UprFeedIface_UprOpenWithFeatures_Call

UprOpenWithFeatures is a helper method to define mock.On call

  • name string
  • sequence uint32
  • bufSize uint32
  • features memcached.UprFeatures

func (*UprFeedIface_Expecter) UprOpenWithXATTR added in v0.3.0

func (_e *UprFeedIface_Expecter) UprOpenWithXATTR(name interface{}, sequence interface{}, bufSize interface{}) *UprFeedIface_UprOpenWithXATTR_Call

UprOpenWithXATTR is a helper method to define mock.On call

  • name string
  • sequence uint32
  • bufSize uint32

func (*UprFeedIface_Expecter) UprRequestCollectionsStream added in v0.3.0

func (_e *UprFeedIface_Expecter) UprRequestCollectionsStream(vbno interface{}, opaqueMSB interface{}, flags interface{}, vbuuid interface{}, startSeq interface{}, endSeq interface{}, snapStart interface{}, snapEnd interface{}, filter interface{}) *UprFeedIface_UprRequestCollectionsStream_Call

UprRequestCollectionsStream is a helper method to define mock.On call

  • vbno uint16
  • opaqueMSB uint16
  • flags uint32
  • vbuuid uint64
  • startSeq uint64
  • endSeq uint64
  • snapStart uint64
  • snapEnd uint64
  • filter *memcached.CollectionsFilter

func (*UprFeedIface_Expecter) UprRequestStream added in v0.3.0

func (_e *UprFeedIface_Expecter) UprRequestStream(vbno interface{}, opaqueMSB interface{}, flags interface{}, vuuid interface{}, startSequence interface{}, endSequence interface{}, snapStart interface{}, snapEnd interface{}) *UprFeedIface_UprRequestStream_Call

UprRequestStream is a helper method to define mock.On call

  • vbno uint16
  • opaqueMSB uint16
  • flags uint32
  • vuuid uint64
  • startSequence uint64
  • endSequence uint64
  • snapStart uint64
  • snapEnd uint64

type UprFeedIface_GetError_Call added in v0.3.0

type UprFeedIface_GetError_Call struct {
	*mock.Call
}

UprFeedIface_GetError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetError'

func (*UprFeedIface_GetError_Call) Return added in v0.3.0

func (*UprFeedIface_GetError_Call) Run added in v0.3.0

func (*UprFeedIface_GetError_Call) RunAndReturn added in v0.3.0

func (_c *UprFeedIface_GetError_Call) RunAndReturn(run func() error) *UprFeedIface_GetError_Call

type UprFeedIface_GetUprEventCh_Call added in v0.3.0

type UprFeedIface_GetUprEventCh_Call struct {
	*mock.Call
}

UprFeedIface_GetUprEventCh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUprEventCh'

func (*UprFeedIface_GetUprEventCh_Call) Return added in v0.3.0

func (*UprFeedIface_GetUprEventCh_Call) Run added in v0.3.0

func (*UprFeedIface_GetUprEventCh_Call) RunAndReturn added in v0.3.0

type UprFeedIface_GetUprStats_Call added in v0.3.0

type UprFeedIface_GetUprStats_Call struct {
	*mock.Call
}

UprFeedIface_GetUprStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUprStats'

func (*UprFeedIface_GetUprStats_Call) Return added in v0.3.0

func (*UprFeedIface_GetUprStats_Call) Run added in v0.3.0

func (*UprFeedIface_GetUprStats_Call) RunAndReturn added in v0.3.0

type UprFeedIface_SetPriorityAsync_Call added in v0.3.0

type UprFeedIface_SetPriorityAsync_Call struct {
	*mock.Call
}

UprFeedIface_SetPriorityAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPriorityAsync'

func (*UprFeedIface_SetPriorityAsync_Call) Return added in v0.3.0

func (*UprFeedIface_SetPriorityAsync_Call) Run added in v0.3.0

func (*UprFeedIface_SetPriorityAsync_Call) RunAndReturn added in v0.3.0

type UprFeedIface_StartFeedWithConfig_Call added in v0.3.0

type UprFeedIface_StartFeedWithConfig_Call struct {
	*mock.Call
}

UprFeedIface_StartFeedWithConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartFeedWithConfig'

func (*UprFeedIface_StartFeedWithConfig_Call) Return added in v0.3.0

func (*UprFeedIface_StartFeedWithConfig_Call) Run added in v0.3.0

func (*UprFeedIface_StartFeedWithConfig_Call) RunAndReturn added in v0.3.0

type UprFeedIface_StartFeed_Call added in v0.3.0

type UprFeedIface_StartFeed_Call struct {
	*mock.Call
}

UprFeedIface_StartFeed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartFeed'

func (*UprFeedIface_StartFeed_Call) Return added in v0.3.0

func (*UprFeedIface_StartFeed_Call) Run added in v0.3.0

func (*UprFeedIface_StartFeed_Call) RunAndReturn added in v0.3.0

func (_c *UprFeedIface_StartFeed_Call) RunAndReturn(run func() error) *UprFeedIface_StartFeed_Call

type UprFeedIface_UprOpenWithFeatures_Call added in v0.3.0

type UprFeedIface_UprOpenWithFeatures_Call struct {
	*mock.Call
}

UprFeedIface_UprOpenWithFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UprOpenWithFeatures'

func (*UprFeedIface_UprOpenWithFeatures_Call) Return added in v0.3.0

func (*UprFeedIface_UprOpenWithFeatures_Call) Run added in v0.3.0

func (*UprFeedIface_UprOpenWithFeatures_Call) RunAndReturn added in v0.3.0

type UprFeedIface_UprOpenWithXATTR_Call added in v0.3.0

type UprFeedIface_UprOpenWithXATTR_Call struct {
	*mock.Call
}

UprFeedIface_UprOpenWithXATTR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UprOpenWithXATTR'

func (*UprFeedIface_UprOpenWithXATTR_Call) Return added in v0.3.0

func (*UprFeedIface_UprOpenWithXATTR_Call) Run added in v0.3.0

func (*UprFeedIface_UprOpenWithXATTR_Call) RunAndReturn added in v0.3.0

type UprFeedIface_UprOpen_Call added in v0.3.0

type UprFeedIface_UprOpen_Call struct {
	*mock.Call
}

UprFeedIface_UprOpen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UprOpen'

func (*UprFeedIface_UprOpen_Call) Return added in v0.3.0

func (*UprFeedIface_UprOpen_Call) Run added in v0.3.0

func (_c *UprFeedIface_UprOpen_Call) Run(run func(name string, sequence uint32, bufSize uint32)) *UprFeedIface_UprOpen_Call

func (*UprFeedIface_UprOpen_Call) RunAndReturn added in v0.3.0

type UprFeedIface_UprRequestCollectionsStream_Call added in v0.3.0

type UprFeedIface_UprRequestCollectionsStream_Call struct {
	*mock.Call
}

UprFeedIface_UprRequestCollectionsStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UprRequestCollectionsStream'

func (*UprFeedIface_UprRequestCollectionsStream_Call) Return added in v0.3.0

func (*UprFeedIface_UprRequestCollectionsStream_Call) Run added in v0.3.0

func (_c *UprFeedIface_UprRequestCollectionsStream_Call) Run(run func(vbno uint16, opaqueMSB uint16, flags uint32, vbuuid uint64, startSeq uint64, endSeq uint64, snapStart uint64, snapEnd uint64, filter *memcached.CollectionsFilter)) *UprFeedIface_UprRequestCollectionsStream_Call

func (*UprFeedIface_UprRequestCollectionsStream_Call) RunAndReturn added in v0.3.0

type UprFeedIface_UprRequestStream_Call added in v0.3.0

type UprFeedIface_UprRequestStream_Call struct {
	*mock.Call
}

UprFeedIface_UprRequestStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UprRequestStream'

func (*UprFeedIface_UprRequestStream_Call) Return added in v0.3.0

func (*UprFeedIface_UprRequestStream_Call) Run added in v0.3.0

func (_c *UprFeedIface_UprRequestStream_Call) Run(run func(vbno uint16, opaqueMSB uint16, flags uint32, vuuid uint64, startSequence uint64, endSequence uint64, snapStart uint64, snapEnd uint64)) *UprFeedIface_UprRequestStream_Call

func (*UprFeedIface_UprRequestStream_Call) RunAndReturn added in v0.3.0

Jump to

Keyboard shortcuts

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