mock_cfg

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_cfg is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuilder

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

MockBuilder is a mock of Builder interface.

func NewMockBuilder

func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder

NewMockBuilder creates a new mock instance.

func (*MockBuilder) AddExtraConfigFile

func (m *MockBuilder) AddExtraConfigFile(path string) cfg.Builder

AddExtraConfigFile mocks base method.

func (*MockBuilder) Build

func (m *MockBuilder) Build() (cfg.Config, error)

Build mocks base method.

func (*MockBuilder) EXPECT

func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder

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

func (*MockBuilder) SetConfigFile

func (m *MockBuilder) SetConfigFile(path string) cfg.Builder

SetConfigFile mocks base method.

func (*MockBuilder) SetEnvDelimiterReplacer

func (m *MockBuilder) SetEnvDelimiterReplacer(from, to string) cfg.Builder

SetEnvDelimiterReplacer mocks base method.

type MockBuilderMockRecorder

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

MockBuilderMockRecorder is the mock recorder for MockBuilder.

func (*MockBuilderMockRecorder) AddExtraConfigFile

func (mr *MockBuilderMockRecorder) AddExtraConfigFile(path interface{}) *gomock.Call

AddExtraConfigFile indicates an expected call of AddExtraConfigFile.

func (*MockBuilderMockRecorder) Build

func (mr *MockBuilderMockRecorder) Build() *gomock.Call

Build indicates an expected call of Build.

func (*MockBuilderMockRecorder) SetConfigFile

func (mr *MockBuilderMockRecorder) SetConfigFile(path interface{}) *gomock.Call

SetConfigFile indicates an expected call of SetConfigFile.

func (*MockBuilderMockRecorder) SetEnvDelimiterReplacer

func (mr *MockBuilderMockRecorder) SetEnvDelimiterReplacer(from, to interface{}) *gomock.Call

SetEnvDelimiterReplacer indicates an expected call of SetEnvDelimiterReplacer.

type MockConfig

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

MockConfig is a mock of Config interface.

func NewMockConfig

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance.

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Get

func (m *MockConfig) Get(key string) cfg.Value

Get mocks base method.

func (*MockConfig) Implementation

func (m *MockConfig) Implementation() interface{}

Implementation mocks base method.

func (*MockConfig) Map

func (m *MockConfig) Map() map[string]interface{}

Map mocks base method.

func (*MockConfig) Set

func (m *MockConfig) Set(key string, value interface{})

Set mocks base method.

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig.

func (*MockConfigMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockConfigMockRecorder) Implementation

func (mr *MockConfigMockRecorder) Implementation() *gomock.Call

Implementation indicates an expected call of Implementation.

func (*MockConfigMockRecorder) Map

func (mr *MockConfigMockRecorder) Map() *gomock.Call

Map indicates an expected call of Map.

func (*MockConfigMockRecorder) Set

func (mr *MockConfigMockRecorder) Set(key, value interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockValue

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

MockValue is a mock of Value interface.

func NewMockValue

func NewMockValue(ctrl *gomock.Controller) *MockValue

NewMockValue creates a new mock instance.

func (*MockValue) Bool

func (m *MockValue) Bool() bool

Bool mocks base method.

func (*MockValue) Duration

func (m *MockValue) Duration() time.Duration

Duration mocks base method.

func (*MockValue) EXPECT

func (m *MockValue) EXPECT() *MockValueMockRecorder

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

func (*MockValue) Float64

func (m *MockValue) Float64() float64

Float64 mocks base method.

func (*MockValue) Int

func (m *MockValue) Int() int

Int mocks base method.

func (*MockValue) Int32

func (m *MockValue) Int32() int32

Int32 mocks base method.

func (*MockValue) Int64

func (m *MockValue) Int64() int64

Int64 mocks base method.

func (*MockValue) IntSlice

func (m *MockValue) IntSlice() []int

IntSlice mocks base method.

func (*MockValue) IsSet

func (m *MockValue) IsSet() bool

IsSet mocks base method.

func (*MockValue) Raw

func (m *MockValue) Raw() interface{}

Raw mocks base method.

func (*MockValue) String

func (m *MockValue) String() string

String mocks base method.

func (*MockValue) StringMap

func (m *MockValue) StringMap() map[string]interface{}

StringMap mocks base method.

func (*MockValue) StringMapString

func (m *MockValue) StringMapString() map[string]string

StringMapString mocks base method.

func (*MockValue) StringMapStringSlice

func (m *MockValue) StringMapStringSlice() map[string][]string

StringMapStringSlice mocks base method.

func (*MockValue) StringSlice

func (m *MockValue) StringSlice() []string

StringSlice mocks base method.

func (*MockValue) Time

func (m *MockValue) Time() time.Time

Time mocks base method.

func (*MockValue) Uint

func (m *MockValue) Uint() uint

Uint mocks base method.

func (*MockValue) Uint32

func (m *MockValue) Uint32() uint32

Uint32 mocks base method.

func (*MockValue) Uint64

func (m *MockValue) Uint64() uint64

Uint64 mocks base method.

func (*MockValue) Unmarshal

func (m *MockValue) Unmarshal(result interface{}) error

Unmarshal mocks base method.

type MockValueMockRecorder

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

MockValueMockRecorder is the mock recorder for MockValue.

func (*MockValueMockRecorder) Bool

func (mr *MockValueMockRecorder) Bool() *gomock.Call

Bool indicates an expected call of Bool.

func (*MockValueMockRecorder) Duration

func (mr *MockValueMockRecorder) Duration() *gomock.Call

Duration indicates an expected call of Duration.

func (*MockValueMockRecorder) Float64

func (mr *MockValueMockRecorder) Float64() *gomock.Call

Float64 indicates an expected call of Float64.

func (*MockValueMockRecorder) Int

func (mr *MockValueMockRecorder) Int() *gomock.Call

Int indicates an expected call of Int.

func (*MockValueMockRecorder) Int32

func (mr *MockValueMockRecorder) Int32() *gomock.Call

Int32 indicates an expected call of Int32.

func (*MockValueMockRecorder) Int64

func (mr *MockValueMockRecorder) Int64() *gomock.Call

Int64 indicates an expected call of Int64.

func (*MockValueMockRecorder) IntSlice

func (mr *MockValueMockRecorder) IntSlice() *gomock.Call

IntSlice indicates an expected call of IntSlice.

func (*MockValueMockRecorder) IsSet

func (mr *MockValueMockRecorder) IsSet() *gomock.Call

IsSet indicates an expected call of IsSet.

func (*MockValueMockRecorder) Raw

func (mr *MockValueMockRecorder) Raw() *gomock.Call

Raw indicates an expected call of Raw.

func (*MockValueMockRecorder) String

func (mr *MockValueMockRecorder) String() *gomock.Call

String indicates an expected call of String.

func (*MockValueMockRecorder) StringMap

func (mr *MockValueMockRecorder) StringMap() *gomock.Call

StringMap indicates an expected call of StringMap.

func (*MockValueMockRecorder) StringMapString

func (mr *MockValueMockRecorder) StringMapString() *gomock.Call

StringMapString indicates an expected call of StringMapString.

func (*MockValueMockRecorder) StringMapStringSlice

func (mr *MockValueMockRecorder) StringMapStringSlice() *gomock.Call

StringMapStringSlice indicates an expected call of StringMapStringSlice.

func (*MockValueMockRecorder) StringSlice

func (mr *MockValueMockRecorder) StringSlice() *gomock.Call

StringSlice indicates an expected call of StringSlice.

func (*MockValueMockRecorder) Time

func (mr *MockValueMockRecorder) Time() *gomock.Call

Time indicates an expected call of Time.

func (*MockValueMockRecorder) Uint

func (mr *MockValueMockRecorder) Uint() *gomock.Call

Uint indicates an expected call of Uint.

func (*MockValueMockRecorder) Uint32

func (mr *MockValueMockRecorder) Uint32() *gomock.Call

Uint32 indicates an expected call of Uint32.

func (*MockValueMockRecorder) Uint64

func (mr *MockValueMockRecorder) Uint64() *gomock.Call

Uint64 indicates an expected call of Uint64.

func (*MockValueMockRecorder) Unmarshal

func (mr *MockValueMockRecorder) Unmarshal(result interface{}) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

Jump to

Keyboard shortcuts

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