Documentation ¶
Overview ¶
Package loadermock is a generated GoMock package.
Index ¶
- type MockLoader
- func (m *MockLoader) EXPECT() *MockLoaderMockRecorder
- func (m *MockLoader) Get(key string) ([]byte, error)
- func (m *MockLoader) Import(data []byte) error
- func (m *MockLoader) Initialize() error
- func (m *MockLoader) MustGetBool(key string) bool
- func (m *MockLoader) MustGetDuration(key string) time.Duration
- func (m *MockLoader) MustGetInt(key string) int
- func (m *MockLoader) MustGetString(key string) string
- func (m *MockLoader) Put(key string, value []byte) error
- type MockLoaderMockRecorder
- func (mr *MockLoaderMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) Import(data interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) Initialize() *gomock.Call
- func (mr *MockLoaderMockRecorder) MustGetBool(key interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) MustGetDuration(key interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) MustGetInt(key interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) MustGetString(key interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) Put(key, value interface{}) *gomock.Call
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.
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.