mocks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

func (*MockCacheInterface) Set added in v1.0.0

func (m *MockCacheInterface) Set(key, object interface{}, options *store.Options) error

Set 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

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

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

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

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

func (*MockSetterCacheInterface) Set added in v1.0.0

func (m *MockSetterCacheInterface) Set(key, object interface{}, options *store.Options) error

Set 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

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

GetCodec indicates an expected call of GetCodec

func (*MockSetterCacheInterfaceMockRecorder) GetType added in v1.0.0

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

Jump to

Keyboard shortcuts

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