mock_config

package
v0.1.140 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_config is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIConfig

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

MockIConfig is a mock of IConfig interface

func NewMockIConfig

func NewMockIConfig(ctrl *gomock.Controller) *MockIConfig

NewMockIConfig creates a new mock instance

func (*MockIConfig) AddParser

func (m *MockIConfig) AddParser(ext string, parser config.IConfigParser)

AddParser mocks base method

func (*MockIConfig) AddPath

func (m *MockIConfig) AddPath(path string)

AddPath mocks base method

func (*MockIConfig) CheckPath

func (m *MockIConfig) CheckPath() error

CheckPath mocks base method

func (*MockIConfig) EXPECT

func (m *MockIConfig) EXPECT() *MockIConfigMockRecorder

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

func (*MockIConfig) Get

func (m *MockIConfig) Get(key string, dftSplit ...string) interface{}

Get mocks base method

func (*MockIConfig) GetBool

func (m *MockIConfig) GetBool(key string, dft bool, dftSplit ...string) bool

GetBool mocks base method

func (*MockIConfig) GetFloat

func (m *MockIConfig) GetFloat(key string, dft float64, dftSplit ...string) float64

GetFloat mocks base method

func (*MockIConfig) GetInt

func (m *MockIConfig) GetInt(key string, dft int, dftSplit ...string) int

GetInt mocks base method

func (*MockIConfig) GetSliceBool

func (m *MockIConfig) GetSliceBool(key string, dftSplit ...string) []bool

GetSliceBool mocks base method

func (*MockIConfig) GetSliceFloat

func (m *MockIConfig) GetSliceFloat(key string, dftSplit ...string) []float64

GetSliceFloat mocks base method

func (*MockIConfig) GetSliceInt

func (m *MockIConfig) GetSliceInt(key string, dftSplit ...string) []int

GetSliceInt mocks base method

func (*MockIConfig) GetSliceString

func (m *MockIConfig) GetSliceString(key string, dftSplit ...string) []string

GetSliceString mocks base method

func (*MockIConfig) GetString

func (m *MockIConfig) GetString(key, dft string, dftSplit ...string) string

GetString mocks base method

func (*MockIConfig) Set

func (m *MockIConfig) Set(key string, val interface{}, dftSplit ...string)

Set mocks base method

type MockIConfigMockRecorder

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

MockIConfigMockRecorder is the mock recorder for MockIConfig

func (*MockIConfigMockRecorder) AddParser

func (mr *MockIConfigMockRecorder) AddParser(ext, parser interface{}) *gomock.Call

AddParser indicates an expected call of AddParser

func (*MockIConfigMockRecorder) AddPath

func (mr *MockIConfigMockRecorder) AddPath(path interface{}) *gomock.Call

AddPath indicates an expected call of AddPath

func (*MockIConfigMockRecorder) CheckPath

func (mr *MockIConfigMockRecorder) CheckPath() *gomock.Call

CheckPath indicates an expected call of CheckPath

func (*MockIConfigMockRecorder) Get

func (mr *MockIConfigMockRecorder) Get(key interface{}, dftSplit ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockIConfigMockRecorder) GetBool

func (mr *MockIConfigMockRecorder) GetBool(key, dft interface{}, dftSplit ...interface{}) *gomock.Call

GetBool indicates an expected call of GetBool

func (*MockIConfigMockRecorder) GetFloat

func (mr *MockIConfigMockRecorder) GetFloat(key, dft interface{}, dftSplit ...interface{}) *gomock.Call

GetFloat indicates an expected call of GetFloat

func (*MockIConfigMockRecorder) GetInt

func (mr *MockIConfigMockRecorder) GetInt(key, dft interface{}, dftSplit ...interface{}) *gomock.Call

GetInt indicates an expected call of GetInt

func (*MockIConfigMockRecorder) GetSliceBool

func (mr *MockIConfigMockRecorder) GetSliceBool(key interface{}, dftSplit ...interface{}) *gomock.Call

GetSliceBool indicates an expected call of GetSliceBool

func (*MockIConfigMockRecorder) GetSliceFloat

func (mr *MockIConfigMockRecorder) GetSliceFloat(key interface{}, dftSplit ...interface{}) *gomock.Call

GetSliceFloat indicates an expected call of GetSliceFloat

func (*MockIConfigMockRecorder) GetSliceInt

func (mr *MockIConfigMockRecorder) GetSliceInt(key interface{}, dftSplit ...interface{}) *gomock.Call

GetSliceInt indicates an expected call of GetSliceInt

func (*MockIConfigMockRecorder) GetSliceString

func (mr *MockIConfigMockRecorder) GetSliceString(key interface{}, dftSplit ...interface{}) *gomock.Call

GetSliceString indicates an expected call of GetSliceString

func (*MockIConfigMockRecorder) GetString

func (mr *MockIConfigMockRecorder) GetString(key, dft interface{}, dftSplit ...interface{}) *gomock.Call

GetString indicates an expected call of GetString

func (*MockIConfigMockRecorder) Set

func (mr *MockIConfigMockRecorder) Set(key, val interface{}, dftSplit ...interface{}) *gomock.Call

Set indicates an expected call of Set

type MockIConfigParser

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

MockIConfigParser is a mock of IConfigParser interface

func NewMockIConfigParser

func NewMockIConfigParser(ctrl *gomock.Controller) *MockIConfigParser

NewMockIConfigParser creates a new mock instance

func (*MockIConfigParser) EXPECT

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

func (*MockIConfigParser) Parse

func (m *MockIConfigParser) Parse(path string) (map[string]interface{}, error)

Parse mocks base method

type MockIConfigParserMockRecorder

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

MockIConfigParserMockRecorder is the mock recorder for MockIConfigParser

func (*MockIConfigParserMockRecorder) Parse

func (mr *MockIConfigParserMockRecorder) Parse(path interface{}) *gomock.Call

Parse indicates an expected call of Parse

Jump to

Keyboard shortcuts

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