Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCacheInterface
- func (m *MockCacheInterface) Clear() error
- func (m *MockCacheInterface) Delete(key interface{}) error
- func (m *MockCacheInterface) EXPECT() *MockCacheInterfaceMockRecorder
- func (m *MockCacheInterface) Get(key interface{}) (interface{}, error)
- func (m *MockCacheInterface) GetType() string
- func (m *MockCacheInterface) Invalidate(options store.InvalidateOptions) error
- func (m *MockCacheInterface) Set(key, object interface{}, options *store.Options) error
- type MockCacheInterfaceMockRecorder
- func (mr *MockCacheInterfaceMockRecorder) Clear() *gomock.Call
- func (mr *MockCacheInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
- func (mr *MockCacheInterfaceMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockCacheInterfaceMockRecorder) GetType() *gomock.Call
- func (mr *MockCacheInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call
- func (mr *MockCacheInterfaceMockRecorder) Set(key, object, options interface{}) *gomock.Call
- type MockSetterCacheInterface
- func (m *MockSetterCacheInterface) Clear() error
- func (m *MockSetterCacheInterface) Delete(key interface{}) error
- func (m *MockSetterCacheInterface) EXPECT() *MockSetterCacheInterfaceMockRecorder
- func (m *MockSetterCacheInterface) Get(key interface{}) (interface{}, error)
- func (m *MockSetterCacheInterface) GetCodec() codec.CodecInterface
- func (m *MockSetterCacheInterface) GetType() string
- func (m *MockSetterCacheInterface) GetWithTTL(key interface{}) (interface{}, time.Duration, error)
- func (m *MockSetterCacheInterface) Invalidate(options store.InvalidateOptions) error
- func (m *MockSetterCacheInterface) Set(key, object interface{}, options *store.Options) error
- type MockSetterCacheInterfaceMockRecorder
- func (mr *MockSetterCacheInterfaceMockRecorder) Clear() *gomock.Call
- func (mr *MockSetterCacheInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
- func (mr *MockSetterCacheInterfaceMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockSetterCacheInterfaceMockRecorder) GetCodec() *gomock.Call
- func (mr *MockSetterCacheInterfaceMockRecorder) GetType() *gomock.Call
- func (mr *MockSetterCacheInterfaceMockRecorder) GetWithTTL(key interface{}) *gomock.Call
- func (mr *MockSetterCacheInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call
- func (mr *MockSetterCacheInterfaceMockRecorder) Set(key, object, options interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCacheInterface ¶ added in v1.0.0
type MockCacheInterface struct {
// contains filtered or unexported fields
}
MockCacheInterface is a mock of CacheInterface interface
func NewMockCacheInterface ¶ added in v1.0.0
func NewMockCacheInterface(ctrl *gomock.Controller) *MockCacheInterface
NewMockCacheInterface creates a new mock instance
func (*MockCacheInterface) Clear ¶ added in v1.0.0
func (m *MockCacheInterface) Clear() error
Clear mocks base method
func (*MockCacheInterface) Delete ¶ added in v1.0.0
func (m *MockCacheInterface) Delete(key interface{}) error
Delete mocks base method
func (*MockCacheInterface) EXPECT ¶ added in v1.0.0
func (m *MockCacheInterface) EXPECT() *MockCacheInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCacheInterface) Get ¶ added in v1.0.0
func (m *MockCacheInterface) Get(key interface{}) (interface{}, error)
Get mocks base method
func (*MockCacheInterface) GetType ¶ added in v1.0.0
func (m *MockCacheInterface) GetType() string
GetType mocks base method
func (*MockCacheInterface) Invalidate ¶ added in v1.0.0
func (m *MockCacheInterface) Invalidate(options store.InvalidateOptions) error
Invalidate mocks base method
type MockCacheInterfaceMockRecorder ¶ added in v1.0.0
type MockCacheInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheInterfaceMockRecorder is the mock recorder for MockCacheInterface
func (*MockCacheInterfaceMockRecorder) Clear ¶ added in v1.0.0
func (mr *MockCacheInterfaceMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear
func (*MockCacheInterfaceMockRecorder) Delete ¶ added in v1.0.0
func (mr *MockCacheInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockCacheInterfaceMockRecorder) Get ¶ added in v1.0.0
func (mr *MockCacheInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockCacheInterfaceMockRecorder) GetType ¶ added in v1.0.0
func (mr *MockCacheInterfaceMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType
func (*MockCacheInterfaceMockRecorder) Invalidate ¶ added in v1.0.0
func (mr *MockCacheInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call
Invalidate indicates an expected call of Invalidate
func (*MockCacheInterfaceMockRecorder) Set ¶ added in v1.0.0
func (mr *MockCacheInterfaceMockRecorder) Set(key, object, options interface{}) *gomock.Call
Set indicates an expected call of Set
type MockSetterCacheInterface ¶ added in v1.0.0
type MockSetterCacheInterface struct {
// contains filtered or unexported fields
}
MockSetterCacheInterface is a mock of SetterCacheInterface interface
func NewMockSetterCacheInterface ¶ added in v1.0.0
func NewMockSetterCacheInterface(ctrl *gomock.Controller) *MockSetterCacheInterface
NewMockSetterCacheInterface creates a new mock instance
func (*MockSetterCacheInterface) Clear ¶ added in v1.0.0
func (m *MockSetterCacheInterface) Clear() error
Clear mocks base method
func (*MockSetterCacheInterface) Delete ¶ added in v1.0.0
func (m *MockSetterCacheInterface) Delete(key interface{}) error
Delete mocks base method
func (*MockSetterCacheInterface) EXPECT ¶ added in v1.0.0
func (m *MockSetterCacheInterface) EXPECT() *MockSetterCacheInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSetterCacheInterface) Get ¶ added in v1.0.0
func (m *MockSetterCacheInterface) Get(key interface{}) (interface{}, error)
Get mocks base method
func (*MockSetterCacheInterface) GetCodec ¶ added in v1.0.0
func (m *MockSetterCacheInterface) GetCodec() codec.CodecInterface
GetCodec mocks base method
func (*MockSetterCacheInterface) GetType ¶ added in v1.0.0
func (m *MockSetterCacheInterface) GetType() string
GetType mocks base method
func (*MockSetterCacheInterface) GetWithTTL ¶ added in v1.1.0
func (m *MockSetterCacheInterface) GetWithTTL(key interface{}) (interface{}, time.Duration, error)
GetWithTTL mocks base method
func (*MockSetterCacheInterface) Invalidate ¶ added in v1.0.0
func (m *MockSetterCacheInterface) Invalidate(options store.InvalidateOptions) error
Invalidate mocks base method
type MockSetterCacheInterfaceMockRecorder ¶ added in v1.0.0
type MockSetterCacheInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSetterCacheInterfaceMockRecorder is the mock recorder for MockSetterCacheInterface
func (*MockSetterCacheInterfaceMockRecorder) Clear ¶ added in v1.0.0
func (mr *MockSetterCacheInterfaceMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear
func (*MockSetterCacheInterfaceMockRecorder) Delete ¶ added in v1.0.0
func (mr *MockSetterCacheInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockSetterCacheInterfaceMockRecorder) Get ¶ added in v1.0.0
func (mr *MockSetterCacheInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockSetterCacheInterfaceMockRecorder) GetCodec ¶ added in v1.0.0
func (mr *MockSetterCacheInterfaceMockRecorder) GetCodec() *gomock.Call
GetCodec indicates an expected call of GetCodec
func (*MockSetterCacheInterfaceMockRecorder) GetType ¶ added in v1.0.0
func (mr *MockSetterCacheInterfaceMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType
func (*MockSetterCacheInterfaceMockRecorder) GetWithTTL ¶ added in v1.1.0
func (mr *MockSetterCacheInterfaceMockRecorder) GetWithTTL(key interface{}) *gomock.Call
GetWithTTL indicates an expected call of GetWithTTL
func (*MockSetterCacheInterfaceMockRecorder) Invalidate ¶ added in v1.0.0
func (mr *MockSetterCacheInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call
Invalidate indicates an expected call of Invalidate
func (*MockSetterCacheInterfaceMockRecorder) Set ¶ added in v1.0.0
func (mr *MockSetterCacheInterfaceMockRecorder) Set(key, object, options interface{}) *gomock.Call
Set indicates an expected call of Set