mocks

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 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 MockStoreInterface

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

MockStoreInterface is a mock of StoreInterface interface.

func NewMockStoreInterface

func NewMockStoreInterface(ctrl *gomock.Controller) *MockStoreInterface

NewMockStoreInterface creates a new mock instance.

func (*MockStoreInterface) Clear

func (m *MockStoreInterface) Clear(ctx context.Context) error

Clear mocks base method.

func (*MockStoreInterface) Delete

func (m *MockStoreInterface) Delete(ctx context.Context, key interface{}) error

Delete mocks base method.

func (*MockStoreInterface) EXPECT

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

func (*MockStoreInterface) Get

func (m *MockStoreInterface) Get(ctx context.Context, key interface{}) (interface{}, error)

Get mocks base method.

func (*MockStoreInterface) GetType

func (m *MockStoreInterface) GetType() string

GetType mocks base method.

func (*MockStoreInterface) GetWithTTL

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

GetWithTTL mocks base method.

func (*MockStoreInterface) Invalidate

func (m *MockStoreInterface) Invalidate(ctx context.Context, options store.InvalidateOptions) error

Invalidate mocks base method.

func (*MockStoreInterface) Set

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

Set mocks base method.

type MockStoreInterfaceMockRecorder

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

MockStoreInterfaceMockRecorder is the mock recorder for MockStoreInterface.

func (*MockStoreInterfaceMockRecorder) Clear

func (mr *MockStoreInterfaceMockRecorder) Clear(ctx interface{}) *gomock.Call

Clear indicates an expected call of Clear.

func (*MockStoreInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockStoreInterfaceMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockStoreInterfaceMockRecorder) GetType

GetType indicates an expected call of GetType.

func (*MockStoreInterfaceMockRecorder) GetWithTTL

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

GetWithTTL indicates an expected call of GetWithTTL.

func (*MockStoreInterfaceMockRecorder) Invalidate

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

Invalidate indicates an expected call of Invalidate.

func (*MockStoreInterfaceMockRecorder) Set

func (mr *MockStoreInterfaceMockRecorder) Set(ctx, 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