mocks

package
v1.0.1-0...-eacb9a8 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 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

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

MockCacheInterface is a mock of CacheInterface interface

func NewMockCacheInterface

func NewMockCacheInterface(ctrl *gomock.Controller) *MockCacheInterface

NewMockCacheInterface creates a new mock instance

func (*MockCacheInterface) Clear

func (m *MockCacheInterface) Clear() error

Clear mocks base method

func (*MockCacheInterface) Delete

func (m *MockCacheInterface) Delete(key interface{}) error

Delete mocks base method

func (*MockCacheInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCacheInterface) Get

func (m *MockCacheInterface) Get(key interface{}) (interface{}, error)

Get mocks base method

func (*MockCacheInterface) GetType

func (m *MockCacheInterface) GetType() string

GetType mocks base method

func (*MockCacheInterface) Invalidate

func (m *MockCacheInterface) Invalidate(options store.InvalidateOptions) error

Invalidate mocks base method

func (*MockCacheInterface) Set

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

Set mocks base method

type MockCacheInterfaceMockRecorder

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

MockCacheInterfaceMockRecorder is the mock recorder for MockCacheInterface

func (*MockCacheInterfaceMockRecorder) Clear

Clear indicates an expected call of Clear

func (*MockCacheInterfaceMockRecorder) Delete

func (mr *MockCacheInterfaceMockRecorder) Delete(key interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockCacheInterfaceMockRecorder) Get

func (mr *MockCacheInterfaceMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockCacheInterfaceMockRecorder) GetType

GetType indicates an expected call of GetType

func (*MockCacheInterfaceMockRecorder) Invalidate

func (mr *MockCacheInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call

Invalidate indicates an expected call of Invalidate

func (*MockCacheInterfaceMockRecorder) Set

func (mr *MockCacheInterfaceMockRecorder) Set(key, object, options interface{}) *gomock.Call

Set indicates an expected call of Set

type MockSetterCacheInterface

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

MockSetterCacheInterface is a mock of SetterCacheInterface interface

func NewMockSetterCacheInterface

func NewMockSetterCacheInterface(ctrl *gomock.Controller) *MockSetterCacheInterface

NewMockSetterCacheInterface creates a new mock instance

func (*MockSetterCacheInterface) Clear

func (m *MockSetterCacheInterface) Clear() error

Clear mocks base method

func (*MockSetterCacheInterface) Delete

func (m *MockSetterCacheInterface) Delete(key interface{}) error

Delete mocks base method

func (*MockSetterCacheInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSetterCacheInterface) Get

func (m *MockSetterCacheInterface) Get(key interface{}) (interface{}, error)

Get mocks base method

func (*MockSetterCacheInterface) GetCodec

GetCodec mocks base method

func (*MockSetterCacheInterface) GetType

func (m *MockSetterCacheInterface) GetType() string

GetType mocks base method

func (*MockSetterCacheInterface) GetWithTTL

func (m *MockSetterCacheInterface) GetWithTTL(key interface{}) (interface{}, time.Duration, error)

GetWithTTL mocks base method

func (*MockSetterCacheInterface) Invalidate

func (m *MockSetterCacheInterface) Invalidate(options store.InvalidateOptions) error

Invalidate mocks base method

func (*MockSetterCacheInterface) Set

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

Set mocks base method

type MockSetterCacheInterfaceMockRecorder

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

MockSetterCacheInterfaceMockRecorder is the mock recorder for MockSetterCacheInterface

func (*MockSetterCacheInterfaceMockRecorder) Clear

Clear indicates an expected call of Clear

func (*MockSetterCacheInterfaceMockRecorder) Delete

func (mr *MockSetterCacheInterfaceMockRecorder) Delete(key interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSetterCacheInterfaceMockRecorder) Get

func (mr *MockSetterCacheInterfaceMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockSetterCacheInterfaceMockRecorder) GetCodec

GetCodec indicates an expected call of GetCodec

func (*MockSetterCacheInterfaceMockRecorder) GetType

GetType indicates an expected call of GetType

func (*MockSetterCacheInterfaceMockRecorder) GetWithTTL

func (mr *MockSetterCacheInterfaceMockRecorder) GetWithTTL(key interface{}) *gomock.Call

GetWithTTL indicates an expected call of GetWithTTL

func (*MockSetterCacheInterfaceMockRecorder) Invalidate

func (mr *MockSetterCacheInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call

Invalidate indicates an expected call of Invalidate

func (*MockSetterCacheInterfaceMockRecorder) Set

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