mocks

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) Bool

func (m *MockConfig) Bool(arg0, arg1 string) config.Bool

Bool mocks base method

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Float

func (m *MockConfig) Float(arg0, arg1 string) config.Float

Float mocks base method

func (*MockConfig) Int

func (m *MockConfig) Int(arg0, arg1 string) config.Int

Int mocks base method

func (*MockConfig) Int32

func (m *MockConfig) Int32(arg0, arg1 string) config.Int32

Int32 mocks base method

func (*MockConfig) Int64

func (m *MockConfig) Int64(arg0, arg1 string) config.Int64

Int64 mocks base method

func (*MockConfig) Int8

func (m *MockConfig) Int8(arg0, arg1 string) config.Int8

Int8 mocks base method

func (*MockConfig) Slice

func (m *MockConfig) Slice(arg0, arg1 string) config.Slice

Slice mocks base method

func (*MockConfig) SliceInt

func (m *MockConfig) SliceInt(arg0, arg1 string) config.SliceInt

SliceInt mocks base method

func (*MockConfig) SliceString

func (m *MockConfig) SliceString(arg0, arg1 string) config.SliceString

SliceString mocks base method

func (*MockConfig) String

func (m *MockConfig) String(arg0, arg1 string) config.String

String mocks base method

func (*MockConfig) StringMap

func (m *MockConfig) StringMap(arg0, arg1 string) config.StringMap

StringMap mocks base method

func (*MockConfig) StringMapInt

func (m *MockConfig) StringMapInt(arg0, arg1 string) config.StringMapInt

StringMapInt mocks base method

func (*MockConfig) StringMapSliceString

func (m *MockConfig) StringMapSliceString(arg0, arg1 string) config.StringMapSliceString

StringMapSliceString mocks base method

func (*MockConfig) StringMapString

func (m *MockConfig) StringMapString(arg0, arg1 string) config.StringMapString

StringMapString mocks base method

func (*MockConfig) UInt

func (m *MockConfig) UInt(arg0, arg1 string) config.UInt

UInt mocks base method

func (*MockConfig) UInt32

func (m *MockConfig) UInt32(arg0, arg1 string) config.UInt32

UInt32 mocks base method

func (*MockConfig) UInt64

func (m *MockConfig) UInt64(arg0, arg1 string) config.UInt64

UInt64 mocks base method

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig

func (*MockConfigMockRecorder) Bool

func (mr *MockConfigMockRecorder) Bool(arg0, arg1 interface{}) *gomock.Call

Bool indicates an expected call of Bool

func (*MockConfigMockRecorder) Float

func (mr *MockConfigMockRecorder) Float(arg0, arg1 interface{}) *gomock.Call

Float indicates an expected call of Float

func (*MockConfigMockRecorder) Int

func (mr *MockConfigMockRecorder) Int(arg0, arg1 interface{}) *gomock.Call

Int indicates an expected call of Int

func (*MockConfigMockRecorder) Int32

func (mr *MockConfigMockRecorder) Int32(arg0, arg1 interface{}) *gomock.Call

Int32 indicates an expected call of Int32

func (*MockConfigMockRecorder) Int64

func (mr *MockConfigMockRecorder) Int64(arg0, arg1 interface{}) *gomock.Call

Int64 indicates an expected call of Int64

func (*MockConfigMockRecorder) Int8

func (mr *MockConfigMockRecorder) Int8(arg0, arg1 interface{}) *gomock.Call

Int8 indicates an expected call of Int8

func (*MockConfigMockRecorder) Slice

func (mr *MockConfigMockRecorder) Slice(arg0, arg1 interface{}) *gomock.Call

Slice indicates an expected call of Slice

func (*MockConfigMockRecorder) SliceInt

func (mr *MockConfigMockRecorder) SliceInt(arg0, arg1 interface{}) *gomock.Call

SliceInt indicates an expected call of SliceInt

func (*MockConfigMockRecorder) SliceString

func (mr *MockConfigMockRecorder) SliceString(arg0, arg1 interface{}) *gomock.Call

SliceString indicates an expected call of SliceString

func (*MockConfigMockRecorder) String

func (mr *MockConfigMockRecorder) String(arg0, arg1 interface{}) *gomock.Call

String indicates an expected call of String

func (*MockConfigMockRecorder) StringMap

func (mr *MockConfigMockRecorder) StringMap(arg0, arg1 interface{}) *gomock.Call

StringMap indicates an expected call of StringMap

func (*MockConfigMockRecorder) StringMapInt

func (mr *MockConfigMockRecorder) StringMapInt(arg0, arg1 interface{}) *gomock.Call

StringMapInt indicates an expected call of StringMapInt

func (*MockConfigMockRecorder) StringMapSliceString

func (mr *MockConfigMockRecorder) StringMapSliceString(arg0, arg1 interface{}) *gomock.Call

StringMapSliceString indicates an expected call of StringMapSliceString

func (*MockConfigMockRecorder) StringMapString

func (mr *MockConfigMockRecorder) StringMapString(arg0, arg1 interface{}) *gomock.Call

StringMapString indicates an expected call of StringMapString

func (*MockConfigMockRecorder) UInt

func (mr *MockConfigMockRecorder) UInt(arg0, arg1 interface{}) *gomock.Call

UInt indicates an expected call of UInt

func (*MockConfigMockRecorder) UInt32

func (mr *MockConfigMockRecorder) UInt32(arg0, arg1 interface{}) *gomock.Call

UInt32 indicates an expected call of UInt32

func (*MockConfigMockRecorder) UInt64

func (mr *MockConfigMockRecorder) UInt64(arg0, arg1 interface{}) *gomock.Call

UInt64 indicates an expected call of UInt64

type MockConstraints

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

MockConstraints is a mock of Constraints interface

func NewMockConstraints

func NewMockConstraints(ctrl *gomock.Controller) *MockConstraints

NewMockConstraints creates a new mock instance

func (*MockConstraints) Check

func (m *MockConstraints) Check(arg0 version.Version) bool

Check mocks base method

func (*MockConstraints) EXPECT

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

func (*MockConstraints) String

func (m *MockConstraints) String() string

String mocks base method

type MockConstraintsMockRecorder

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

MockConstraintsMockRecorder is the mock recorder for MockConstraints

func (*MockConstraintsMockRecorder) Check

func (mr *MockConstraintsMockRecorder) Check(arg0 interface{}) *gomock.Call

Check indicates an expected call of Check

func (*MockConstraintsMockRecorder) String

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

String indicates an expected call of String

type MockHook

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

MockHook is a mock of Hook interface

func NewMockHook

func NewMockHook(ctrl *gomock.Controller) *MockHook

NewMockHook creates a new mock instance

func (*MockHook) EXPECT

func (m *MockHook) EXPECT() *MockHookMockRecorder

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

func (*MockHook) Fire

func (m *MockHook) Fire(arg0 logger.Entry, arg1 ...logger.Field) error

Fire mocks base method

func (*MockHook) Levels

func (m *MockHook) Levels() []logger.Level

Levels mocks base method

type MockHookMockRecorder

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

MockHookMockRecorder is the mock recorder for MockHook

func (*MockHookMockRecorder) Fire

func (mr *MockHookMockRecorder) Fire(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Fire indicates an expected call of Fire

func (*MockHookMockRecorder) Levels

func (mr *MockHookMockRecorder) Levels() *gomock.Call

Levels indicates an expected call of Levels

type MockInstallable

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

MockInstallable is a mock of Installable interface

func NewMockInstallable

func NewMockInstallable(ctrl *gomock.Controller) *MockInstallable

NewMockInstallable creates a new mock instance

func (*MockInstallable) EXPECT

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

func (*MockInstallable) Install

func (m *MockInstallable) Install(arg0 context.Context, arg1 plugin.Registry) error

Install mocks base method

func (*MockInstallable) UnInstall

func (m *MockInstallable) UnInstall(arg0 context.Context, arg1 plugin.Registry) error

UnInstall mocks base method

type MockInstallableMockRecorder

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

MockInstallableMockRecorder is the mock recorder for MockInstallable

func (*MockInstallableMockRecorder) Install

func (mr *MockInstallableMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call

Install indicates an expected call of Install

func (*MockInstallableMockRecorder) UnInstall

func (mr *MockInstallableMockRecorder) UnInstall(arg0, arg1 interface{}) *gomock.Call

UnInstall indicates an expected call of UnInstall

type MockManager

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

MockManager is a mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) PluginVariables

func (m *MockManager) PluginVariables(arg0 meta.ID) []config.Variable

PluginVariables mocks base method

func (*MockManager) Register

func (m *MockManager) Register(arg0 meta.ID) config.Config

Register mocks base method

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager

func (*MockManagerMockRecorder) PluginVariables

func (mr *MockManagerMockRecorder) PluginVariables(arg0 interface{}) *gomock.Call

PluginVariables indicates an expected call of PluginVariables

func (*MockManagerMockRecorder) Register

func (mr *MockManagerMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register

type MockMeta

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

MockMeta is a mock of Meta interface

func NewMockMeta

func NewMockMeta(ctrl *gomock.Controller) *MockMeta

NewMockMeta creates a new mock instance

func (*MockMeta) EXPECT

func (m *MockMeta) EXPECT() *MockMetaMockRecorder

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

func (*MockMeta) GetAuthor

func (m *MockMeta) GetAuthor() meta.Author

GetAuthor mocks base method

func (*MockMeta) GetCore

func (m *MockMeta) GetCore() meta.Core

GetCore mocks base method

func (*MockMeta) GetDependencies

func (m *MockMeta) GetDependencies() []meta.Dependency

GetDependencies mocks base method

func (*MockMeta) GetDescription

func (m *MockMeta) GetDescription() meta.Description

GetDescription mocks base method

func (*MockMeta) GetInterface

func (m *MockMeta) GetInterface() meta.Interface

GetInterface mocks base method

func (*MockMeta) GetLicense

func (m *MockMeta) GetLicense() []meta.License

GetLicense mocks base method

func (m *MockMeta) GetLinks() []meta.Link

GetLinks mocks base method

func (*MockMeta) GetRepository

func (m *MockMeta) GetRepository() meta.Repository

GetRepository mocks base method

func (*MockMeta) GetTags

func (m *MockMeta) GetTags() []string

GetTags mocks base method

func (*MockMeta) Id

func (m *MockMeta) Id() meta.ID

Id mocks base method

type MockMetaMockRecorder

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

MockMetaMockRecorder is the mock recorder for MockMeta

func (*MockMetaMockRecorder) GetAuthor

func (mr *MockMetaMockRecorder) GetAuthor() *gomock.Call

GetAuthor indicates an expected call of GetAuthor

func (*MockMetaMockRecorder) GetCore

func (mr *MockMetaMockRecorder) GetCore() *gomock.Call

GetCore indicates an expected call of GetCore

func (*MockMetaMockRecorder) GetDependencies

func (mr *MockMetaMockRecorder) GetDependencies() *gomock.Call

GetDependencies indicates an expected call of GetDependencies

func (*MockMetaMockRecorder) GetDescription

func (mr *MockMetaMockRecorder) GetDescription() *gomock.Call

GetDescription indicates an expected call of GetDescription

func (*MockMetaMockRecorder) GetInterface

func (mr *MockMetaMockRecorder) GetInterface() *gomock.Call

GetInterface indicates an expected call of GetInterface

func (*MockMetaMockRecorder) GetLicense

func (mr *MockMetaMockRecorder) GetLicense() *gomock.Call

GetLicense indicates an expected call of GetLicense

func (mr *MockMetaMockRecorder) GetLinks() *gomock.Call

GetLinks indicates an expected call of GetLinks

func (*MockMetaMockRecorder) GetRepository

func (mr *MockMetaMockRecorder) GetRepository() *gomock.Call

GetRepository indicates an expected call of GetRepository

func (*MockMetaMockRecorder) GetTags

func (mr *MockMetaMockRecorder) GetTags() *gomock.Call

GetTags indicates an expected call of GetTags

func (*MockMetaMockRecorder) Id

func (mr *MockMetaMockRecorder) Id() *gomock.Call

Id indicates an expected call of Id

type MockPlugin

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

MockPlugin is a mock of Plugin interface

func NewMockPlugin

func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin

NewMockPlugin creates a new mock instance

func (*MockPlugin) EXPECT

func (m *MockPlugin) EXPECT() *MockPluginMockRecorder

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

func (*MockPlugin) Init

func (m *MockPlugin) Init(arg0 context.Context, arg1 config.Config, arg2 logger.FieldLogger) error

Init mocks base method

func (*MockPlugin) Instance

func (m *MockPlugin) Instance() interface{}

Instance mocks base method

func (*MockPlugin) Meta

func (m *MockPlugin) Meta() meta.Meta

Meta mocks base method

func (*MockPlugin) Start

func (m *MockPlugin) Start(arg0 context.Context, arg1 plugin.Registry) error

Start mocks base method

func (*MockPlugin) Stop

func (m *MockPlugin) Stop(arg0 context.Context, arg1 plugin.Registry) error

Stop mocks base method

type MockPluginMockRecorder

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

MockPluginMockRecorder is the mock recorder for MockPlugin

func (*MockPluginMockRecorder) Init

func (mr *MockPluginMockRecorder) Init(arg0, arg1, arg2 interface{}) *gomock.Call

Init indicates an expected call of Init

func (*MockPluginMockRecorder) Instance

func (mr *MockPluginMockRecorder) Instance() *gomock.Call

Instance indicates an expected call of Instance

func (*MockPluginMockRecorder) Meta

func (mr *MockPluginMockRecorder) Meta() *gomock.Call

Meta indicates an expected call of Meta

func (*MockPluginMockRecorder) Start

func (mr *MockPluginMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockPluginMockRecorder) Stop

func (mr *MockPluginMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call

Stop indicates an expected call of Stop

type MockRegistry

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

MockRegistry is a mock of Registry interface

func NewMockRegistry

func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry

NewMockRegistry creates a new mock instance

func (*MockRegistry) EXPECT

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

func (*MockRegistry) ID

func (m *MockRegistry) ID(arg0 meta.ID) (interface{}, error)

ID mocks base method

func (*MockRegistry) Interface

func (m *MockRegistry) Interface(arg0 meta.Interface) (interface{}, error)

Interface mocks base method

func (*MockRegistry) Resolve

func (m *MockRegistry) Resolve(arg0 meta.Dependency) (interface{}, error)

Resolve mocks base method

type MockRegistryMockRecorder

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

MockRegistryMockRecorder is the mock recorder for MockRegistry

func (*MockRegistryMockRecorder) ID

func (mr *MockRegistryMockRecorder) ID(arg0 interface{}) *gomock.Call

ID indicates an expected call of ID

func (*MockRegistryMockRecorder) Interface

func (mr *MockRegistryMockRecorder) Interface(arg0 interface{}) *gomock.Call

Interface indicates an expected call of Interface

func (*MockRegistryMockRecorder) Resolve

func (mr *MockRegistryMockRecorder) Resolve(arg0 interface{}) *gomock.Call

Resolve indicates an expected call of Resolve

type MockVersion

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

MockVersion is a mock of Version interface

func NewMockVersion

func NewMockVersion(ctrl *gomock.Controller) *MockVersion

NewMockVersion creates a new mock instance

func (*MockVersion) Compare

func (m *MockVersion) Compare(arg0 version.Version) int

Compare mocks base method

func (*MockVersion) EXPECT

func (m *MockVersion) EXPECT() *MockVersionMockRecorder

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

func (*MockVersion) Equal

func (m *MockVersion) Equal(arg0 version.Version) bool

Equal mocks base method

func (*MockVersion) Metadata

func (m *MockVersion) Metadata() string

Metadata mocks base method

func (*MockVersion) Original

func (m *MockVersion) Original() string

Original mocks base method

func (*MockVersion) Prerelease

func (m *MockVersion) Prerelease() string

Prerelease mocks base method

func (*MockVersion) Segments

func (m *MockVersion) Segments() []int

Segments mocks base method

func (*MockVersion) String

func (m *MockVersion) String() string

String mocks base method

type MockVersionMockRecorder

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

MockVersionMockRecorder is the mock recorder for MockVersion

func (*MockVersionMockRecorder) Compare

func (mr *MockVersionMockRecorder) Compare(arg0 interface{}) *gomock.Call

Compare indicates an expected call of Compare

func (*MockVersionMockRecorder) Equal

func (mr *MockVersionMockRecorder) Equal(arg0 interface{}) *gomock.Call

Equal indicates an expected call of Equal

func (*MockVersionMockRecorder) Metadata

func (mr *MockVersionMockRecorder) Metadata() *gomock.Call

Metadata indicates an expected call of Metadata

func (*MockVersionMockRecorder) Original

func (mr *MockVersionMockRecorder) Original() *gomock.Call

Original indicates an expected call of Original

func (*MockVersionMockRecorder) Prerelease

func (mr *MockVersionMockRecorder) Prerelease() *gomock.Call

Prerelease indicates an expected call of Prerelease

func (*MockVersionMockRecorder) Segments

func (mr *MockVersionMockRecorder) Segments() *gomock.Call

Segments indicates an expected call of Segments

func (*MockVersionMockRecorder) String

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

String indicates an expected call of String

Jump to

Keyboard shortcuts

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