mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOReadCloser added in v0.2.0

type IOReadCloser struct {
	mock.Mock
}

IOReadCloser is an autogenerated mock type for the IOReadCloser type

func (*IOReadCloser) Close added in v0.2.0

func (_m *IOReadCloser) Close() error

Close provides a mock function with given fields:

func (*IOReadCloser) Read added in v0.2.0

func (_m *IOReadCloser) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

type IOReader added in v0.2.0

type IOReader struct {
	mock.Mock
}

IOReader is an autogenerated mock type for the IOReader type

func (*IOReader) Read added in v0.2.0

func (_m *IOReader) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

type Loader

type Loader struct {
	mock.Mock
}

Loader is an autogenerated mock type for the Loader type

func (*Loader) Load

func (_m *Loader) Load() (config.Provider, error)

Load provides a mock function with given fields:

func (*Loader) Source

func (_m *Loader) Source() string

Source provides a mock function with given fields:

type Logger

type Logger struct {
	mock.Mock
}

Logger is an autogenerated mock type for the Logger type

func (*Logger) Fatal

func (_m *Logger) Fatal(_a0 ...interface{})

Fatal provides a mock function with given fields: _a0

func (*Logger) Fatalf

func (_m *Logger) Fatalf(_a0 string, _a1 ...interface{})

Fatalf provides a mock function with given fields: _a0, _a1

func (*Logger) Fatalln

func (_m *Logger) Fatalln(_a0 ...interface{})

Fatalln provides a mock function with given fields: _a0

func (*Logger) Panic

func (_m *Logger) Panic(_a0 ...interface{})

Panic provides a mock function with given fields: _a0

func (*Logger) Panicf

func (_m *Logger) Panicf(_a0 string, _a1 ...interface{})

Panicf provides a mock function with given fields: _a0, _a1

func (*Logger) Panicln

func (_m *Logger) Panicln(_a0 ...interface{})

Panicln provides a mock function with given fields: _a0

func (*Logger) Print

func (_m *Logger) Print(_a0 ...interface{})

Print provides a mock function with given fields: _a0

func (*Logger) Printf

func (_m *Logger) Printf(_a0 string, _a1 ...interface{})

Printf provides a mock function with given fields: _a0, _a1

func (*Logger) Println

func (_m *Logger) Println(_a0 ...interface{})

Println provides a mock function with given fields: _a0

type Parser

type Parser struct {
	mock.Mock
}

Parser is an autogenerated mock type for the Parser type

func (*Parser) Parse

func (_m *Parser) Parse(_a0 io.Reader) (map[string]interface{}, error)

Parse provides a mock function with given fields: _a0

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func (*Provider) AllSettings

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

AllSettings provides a mock function with given fields:

func (*Provider) Bool

func (_m *Provider) Bool(_a0 string) bool

Bool provides a mock function with given fields: _a0

func (*Provider) Float

func (_m *Provider) Float(_a0 string) float64

Float provides a mock function with given fields: _a0

func (*Provider) Get

func (_m *Provider) Get(_a0 string) (interface{}, bool)

Get provides a mock function with given fields: _a0

func (*Provider) Int

func (_m *Provider) Int(_a0 string) int

Int provides a mock function with given fields: _a0

func (*Provider) IsSet

func (_m *Provider) IsSet(_a0 string) bool

IsSet provides a mock function with given fields: _a0

func (*Provider) Set

func (_m *Provider) Set(_a0 string, _a1 interface{}) interface{}

Set provides a mock function with given fields: _a0, _a1

func (*Provider) Source

func (_m *Provider) Source() string

Source provides a mock function with given fields:

func (*Provider) String

func (_m *Provider) String(_a0 string) string

String provides a mock function with given fields: _a0

func (*Provider) StringSlice

func (_m *Provider) StringSlice(_a0 string) []string

StringSlice provides a mock function with given fields: _a0

type Reader

type Reader struct {
	mock.Mock
}

Reader is an autogenerated mock type for the Reader type

func (*Reader) Read

func (_m *Reader) Read(_a0 string) (io.Reader, error)

Read provides a mock function with given fields: _a0

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) AllSettings

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

AllSettings provides a mock function with given fields:

func (*Repository) Get

func (_m *Repository) Get(_a0 string) (interface{}, bool)

Get provides a mock function with given fields: _a0

func (*Repository) IsSet

func (_m *Repository) IsSet(_a0 string) bool

IsSet provides a mock function with given fields: _a0

func (*Repository) Set

func (_m *Repository) Set(_a0 string, _a1 interface{}) interface{}

Set provides a mock function with given fields: _a0, _a1

type Source

type Source struct {
	mock.Mock
}

Source is an autogenerated mock type for the Source type

func (*Source) Source

func (_m *Source) Source() string

Source provides a mock function with given fields:

type ValueConverter added in v0.3.0

type ValueConverter struct {
	mock.Mock
}

ValueConverter is an autogenerated mock type for the ValueConverter type

func (*ValueConverter) ToBool added in v0.3.0

func (_m *ValueConverter) ToBool(_a0 interface{}) bool

ToBool provides a mock function with given fields: _a0

func (*ValueConverter) ToFloat added in v0.3.0

func (_m *ValueConverter) ToFloat(_a0 interface{}) float64

ToFloat provides a mock function with given fields: _a0

func (*ValueConverter) ToInt added in v0.3.0

func (_m *ValueConverter) ToInt(_a0 interface{}) int

ToInt provides a mock function with given fields: _a0

func (*ValueConverter) ToString added in v0.3.0

func (_m *ValueConverter) ToString(_a0 interface{}) string

ToString provides a mock function with given fields: _a0

func (*ValueConverter) ToStringSlice added in v0.3.0

func (_m *ValueConverter) ToStringSlice(_a0 interface{}) []string

ToStringSlice 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