mock_main

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_main is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKeyValue

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

MockKeyValue is a mock of KeyValue interface.

func NewMockKeyValue

func NewMockKeyValue(ctrl *gomock.Controller) *MockKeyValue

NewMockKeyValue creates a new mock instance.

func (*MockKeyValue) EXPECT

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

func (*MockKeyValue) Get

func (m *MockKeyValue) Get(arg0 context.Context, arg1 string) (string, error)

Get mocks base method.

func (*MockKeyValue) Set

func (m *MockKeyValue) Set(arg0 context.Context, arg1 string, arg2 []byte) error

Set mocks base method.

type MockKeyValueMockRecorder

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

MockKeyValueMockRecorder is the mock recorder for MockKeyValue.

func (*MockKeyValueMockRecorder) Get

func (mr *MockKeyValueMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockKeyValueMockRecorder) Set

func (mr *MockKeyValueMockRecorder) Set(arg0, arg1, arg2 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