mock_config

package
v2.0.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) AllSettings

func (_m *MockInterface) AllSettings() map[string]interface{}

AllSettings mocks base method

func (*MockInterface) EXPECT

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

func (*MockInterface) Get

func (_m *MockInterface) Get(key string) interface{}

Get mocks base method

func (*MockInterface) GetBase64Decoded

func (_m *MockInterface) GetBase64Decoded(key string) (string, error)

GetBase64Decoded mocks base method

func (*MockInterface) GetBool

func (_m *MockInterface) GetBool(key string) bool

GetBool mocks base method

func (*MockInterface) GetInt

func (_m *MockInterface) GetInt(key string) int

GetInt mocks base method

func (*MockInterface) GetString

func (_m *MockInterface) GetString(key string) string

GetString mocks base method

func (*MockInterface) GetStringSlice

func (_m *MockInterface) GetStringSlice(key string) []string

GetStringSlice mocks base method

func (*MockInterface) Init

func (_m *MockInterface) Init() error

Init mocks base method

func (*MockInterface) IsSet

func (_m *MockInterface) IsSet(key string) bool

IsSet mocks base method

func (*MockInterface) ReadConfig

func (_m *MockInterface) ReadConfig(configFilePath string) error

ReadConfig mocks base method

func (*MockInterface) Set

func (_m *MockInterface) Set(key string, value interface{})

Set mocks base method

func (*MockInterface) SetDefault

func (_m *MockInterface) SetDefault(key string, value interface{})

SetDefault mocks base method

func (*MockInterface) UnmarshalKey

func (_m *MockInterface) UnmarshalKey(key string, rawVal interface{}) error

UnmarshalKey mocks base method

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) AllSettings

func (_mr *MockInterfaceMockRecorder) AllSettings() *gomock.Call

AllSettings indicates an expected call of AllSettings

func (*MockInterfaceMockRecorder) Get

func (_mr *MockInterfaceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockInterfaceMockRecorder) GetBase64Decoded

func (_mr *MockInterfaceMockRecorder) GetBase64Decoded(arg0 interface{}) *gomock.Call

GetBase64Decoded indicates an expected call of GetBase64Decoded

func (*MockInterfaceMockRecorder) GetBool

func (_mr *MockInterfaceMockRecorder) GetBool(arg0 interface{}) *gomock.Call

GetBool indicates an expected call of GetBool

func (*MockInterfaceMockRecorder) GetInt

func (_mr *MockInterfaceMockRecorder) GetInt(arg0 interface{}) *gomock.Call

GetInt indicates an expected call of GetInt

func (*MockInterfaceMockRecorder) GetString

func (_mr *MockInterfaceMockRecorder) GetString(arg0 interface{}) *gomock.Call

GetString indicates an expected call of GetString

func (*MockInterfaceMockRecorder) GetStringSlice

func (_mr *MockInterfaceMockRecorder) GetStringSlice(arg0 interface{}) *gomock.Call

GetStringSlice indicates an expected call of GetStringSlice

func (*MockInterfaceMockRecorder) Init

func (_mr *MockInterfaceMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init

func (*MockInterfaceMockRecorder) IsSet

func (_mr *MockInterfaceMockRecorder) IsSet(arg0 interface{}) *gomock.Call

IsSet indicates an expected call of IsSet

func (*MockInterfaceMockRecorder) ReadConfig

func (_mr *MockInterfaceMockRecorder) ReadConfig(arg0 interface{}) *gomock.Call

ReadConfig indicates an expected call of ReadConfig

func (*MockInterfaceMockRecorder) Set

func (_mr *MockInterfaceMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockInterfaceMockRecorder) SetDefault

func (_mr *MockInterfaceMockRecorder) SetDefault(arg0, arg1 interface{}) *gomock.Call

SetDefault indicates an expected call of SetDefault

func (*MockInterfaceMockRecorder) UnmarshalKey

func (_mr *MockInterfaceMockRecorder) UnmarshalKey(arg0, arg1 interface{}) *gomock.Call

UnmarshalKey indicates an expected call of UnmarshalKey

Jump to

Keyboard shortcuts

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