loadermock

package
v0.0.0-...-6146efe Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package loadermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLoader

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

MockLoader is a mock of Loader interface.

func NewMockLoader

func NewMockLoader(ctrl *gomock.Controller) *MockLoader

NewMockLoader creates a new mock instance.

func (*MockLoader) EXPECT

func (m *MockLoader) EXPECT() *MockLoaderMockRecorder

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

func (*MockLoader) Get

func (m *MockLoader) Get(key string) ([]byte, error)

Get mocks base method.

func (*MockLoader) Import

func (m *MockLoader) Import(data []byte) error

Import mocks base method.

func (*MockLoader) Initialize

func (m *MockLoader) Initialize() error

Initialize mocks base method.

func (*MockLoader) MustGetBool

func (m *MockLoader) MustGetBool(key string) bool

MustGetBool mocks base method.

func (*MockLoader) MustGetDuration

func (m *MockLoader) MustGetDuration(key string) time.Duration

MustGetDuration mocks base method.

func (*MockLoader) MustGetInt

func (m *MockLoader) MustGetInt(key string) int

MustGetInt mocks base method.

func (*MockLoader) MustGetString

func (m *MockLoader) MustGetString(key string) string

MustGetString mocks base method.

func (*MockLoader) Put

func (m *MockLoader) Put(key string, value []byte) error

Put mocks base method.

type MockLoaderMockRecorder

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

MockLoaderMockRecorder is the mock recorder for MockLoader.

func (*MockLoaderMockRecorder) Get

func (mr *MockLoaderMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockLoaderMockRecorder) Import

func (mr *MockLoaderMockRecorder) Import(data interface{}) *gomock.Call

Import indicates an expected call of Import.

func (*MockLoaderMockRecorder) Initialize

func (mr *MockLoaderMockRecorder) Initialize() *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockLoaderMockRecorder) MustGetBool

func (mr *MockLoaderMockRecorder) MustGetBool(key interface{}) *gomock.Call

MustGetBool indicates an expected call of MustGetBool.

func (*MockLoaderMockRecorder) MustGetDuration

func (mr *MockLoaderMockRecorder) MustGetDuration(key interface{}) *gomock.Call

MustGetDuration indicates an expected call of MustGetDuration.

func (*MockLoaderMockRecorder) MustGetInt

func (mr *MockLoaderMockRecorder) MustGetInt(key interface{}) *gomock.Call

MustGetInt indicates an expected call of MustGetInt.

func (*MockLoaderMockRecorder) MustGetString

func (mr *MockLoaderMockRecorder) MustGetString(key interface{}) *gomock.Call

MustGetString indicates an expected call of MustGetString.

func (*MockLoaderMockRecorder) Put

func (mr *MockLoaderMockRecorder) Put(key, value interface{}) *gomock.Call

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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