mock

package
v0.0.0-...-bf6f042 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package mock 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) EXPECT

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

func (*MockRepository) GetConfig

func (m *MockRepository) GetConfig(ctx context.Context, obj, defaultValue any) error

GetConfig mocks base method.

func (*MockRepository) UpdateConfig

func (m *MockRepository) UpdateConfig(ctx context.Context, value any) error

UpdateConfig mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) GetConfig

func (mr *MockRepositoryMockRecorder) GetConfig(ctx, obj, defaultValue any) *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockRepositoryMockRecorder) UpdateConfig

func (mr *MockRepositoryMockRecorder) UpdateConfig(ctx, value any) *gomock.Call

UpdateConfig indicates an expected call of UpdateConfig.

Jump to

Keyboard shortcuts

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