mock_userkv

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_userkv is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Clean

func (m *MockRepository) Clean(ctx context.Context, ccid string) error

Clean mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) Get

func (m *MockRepository) Get(ctx context.Context, owner, key string) (string, error)

Get mocks base method.

func (*MockRepository) Upsert

func (m *MockRepository) Upsert(ctx context.Context, owner, key, value string) error

Upsert mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Clean

func (mr *MockRepositoryMockRecorder) Clean(ctx, ccid any) *gomock.Call

Clean indicates an expected call of Clean.

func (*MockRepositoryMockRecorder) Get

func (mr *MockRepositoryMockRecorder) Get(ctx, owner, key any) *gomock.Call

Get indicates an expected call of Get.

func (*MockRepositoryMockRecorder) Upsert

func (mr *MockRepositoryMockRecorder) Upsert(ctx, owner, key, value any) *gomock.Call

Upsert indicates an expected call of Upsert.

Jump to

Keyboard shortcuts

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