mocks

package
v0.0.0-...-4d19a26 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func (*Config) Bool

func (_m *Config) Bool(key string) bool

Bool provides a mock function with given fields: key

func (*Config) Float

func (_m *Config) Float(key string) float64

Float provides a mock function with given fields: key

func (*Config) Get

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

Get provides a mock function with given fields: key

func (*Config) Int

func (_m *Config) Int(key string) int

Int provides a mock function with given fields: key

func (*Config) IsSet

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

IsSet provides a mock function with given fields: key

func (*Config) SetDefault

func (_m *Config) SetDefault(key string, val interface{})

SetDefault provides a mock function with given fields: key, val

func (*Config) Slice

func (_m *Config) Slice(key string, delimiter string) []interface{}

Slice provides a mock function with given fields: key, delimiter

func (*Config) String

func (_m *Config) String(key string) string

String provides a mock function with given fields: key

func (*Config) StringMap

func (_m *Config) StringMap(key string) map[string]interface{}

StringMap provides a mock function with given fields: key

func (*Config) UInt

func (_m *Config) UInt(key string) uint

UInt provides a mock function with given fields: key

func (*Config) Unmarshal

func (_m *Config) Unmarshal(v interface{}, prefix string) error

Unmarshal provides a mock function with given fields: v, prefix

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) PluginVariables

func (_m *Manager) PluginVariables(id meta.ID) []config.Variable

PluginVariables provides a mock function with given fields: id

func (*Manager) Register

func (_m *Manager) Register(_a0 meta.Meta) config.Config

Register provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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