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: 6 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(ctx context.Context) error

Clear mocks base method.

func (*MockCacheInterface) Delete

func (m *MockCacheInterface) Delete(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, options store.InvalidateOptions) error

Invalidate mocks base method.

func (*MockCacheInterface) Set

func (m *MockCacheInterface) Set(ctx context.Context, 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

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

Clear indicates an expected call of Clear.

func (*MockCacheInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockCacheInterfaceMockRecorder) Get

func (mr *MockCacheInterfaceMockRecorder) Get(ctx, 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(ctx, options interface{}) *gomock.Call

Invalidate indicates an expected call of Invalidate.

func (*MockCacheInterfaceMockRecorder) Set

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

Clear mocks base method.

func (*MockSetterCacheInterface) Delete

func (m *MockSetterCacheInterface) Delete(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, key interface{}) (interface{}, time.Duration, error)

GetWithTTL mocks base method.

func (*MockSetterCacheInterface) Invalidate

Invalidate mocks base method.

func (*MockSetterCacheInterface) Set

func (m *MockSetterCacheInterface) Set(ctx context.Context, 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

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

Clear indicates an expected call of Clear.

func (*MockSetterCacheInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockSetterCacheInterfaceMockRecorder) Get

func (mr *MockSetterCacheInterfaceMockRecorder) Get(ctx, 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(ctx, key interface{}) *gomock.Call

GetWithTTL indicates an expected call of GetWithTTL.

func (*MockSetterCacheInterfaceMockRecorder) Invalidate

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

Invalidate indicates an expected call of Invalidate.

func (*MockSetterCacheInterfaceMockRecorder) Set

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