mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 4 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 MockStoreInterface added in v1.0.0

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

MockStoreInterface is a mock of StoreInterface interface.

func NewMockStoreInterface added in v1.0.0

func NewMockStoreInterface(ctrl *gomock.Controller) *MockStoreInterface

NewMockStoreInterface creates a new mock instance.

func (*MockStoreInterface) Clear added in v1.0.0

func (m *MockStoreInterface) Clear() error

Clear mocks base method.

func (*MockStoreInterface) Delete added in v1.0.0

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

Delete mocks base method.

func (*MockStoreInterface) EXPECT added in v1.0.0

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

func (*MockStoreInterface) Get added in v1.0.0

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

Get mocks base method.

func (*MockStoreInterface) GetType added in v1.0.0

func (m *MockStoreInterface) GetType() string

GetType mocks base method.

func (*MockStoreInterface) GetWithTTL added in v1.1.0

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

GetWithTTL mocks base method.

func (*MockStoreInterface) Invalidate added in v1.0.0

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

Invalidate mocks base method.

func (*MockStoreInterface) Set added in v1.0.0

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

Set mocks base method.

type MockStoreInterfaceMockRecorder added in v1.0.0

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

MockStoreInterfaceMockRecorder is the mock recorder for MockStoreInterface.

func (*MockStoreInterfaceMockRecorder) Clear added in v1.0.0

Clear indicates an expected call of Clear.

func (*MockStoreInterfaceMockRecorder) Delete added in v1.0.0

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

Delete indicates an expected call of Delete.

func (*MockStoreInterfaceMockRecorder) Get added in v1.0.0

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

Get indicates an expected call of Get.

func (*MockStoreInterfaceMockRecorder) GetType added in v1.0.0

GetType indicates an expected call of GetType.

func (*MockStoreInterfaceMockRecorder) GetWithTTL added in v1.1.0

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

GetWithTTL indicates an expected call of GetWithTTL.

func (*MockStoreInterfaceMockRecorder) Invalidate added in v1.0.0

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

Invalidate indicates an expected call of Invalidate.

func (*MockStoreInterfaceMockRecorder) Set added in v1.0.0

func (mr *MockStoreInterfaceMockRecorder) Set(key, value, options interface{}) *gomock.Call

Set indicates an expected call of Set.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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