mock_blocks

package
v0.0.0-...-bbd37fe Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_blocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlock

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

MockBlock is a mock of Block interface.

func NewMockBlock

func NewMockBlock(ctrl *gomock.Controller) *MockBlock

NewMockBlock creates a new mock instance.

func (*MockBlock) EXPECT

func (m *MockBlock) EXPECT() *MockBlockMockRecorder

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

func (*MockBlock) GetDescription

func (m *MockBlock) GetDescription() string

GetDescription mocks base method.

func (*MockBlock) GetInputs

func (m *MockBlock) GetInputs() blocks.Inputs

GetInputs mocks base method.

func (*MockBlock) GetOutputs

func (m *MockBlock) GetOutputs() blocks.Outputs

GetOutputs mocks base method.

func (*MockBlock) GetParams

func (m *MockBlock) GetParams() blocks.Params

GetParams mocks base method.

func (*MockBlock) GetType

func (m *MockBlock) GetType() string

GetType mocks base method.

func (*MockBlock) GetWarmupPeriod

func (m *MockBlock) GetWarmupPeriod() int

GetWarmupPeriod mocks base method.

func (*MockBlock) Init

func (m *MockBlock) Init() error

Init mocks base method.

func (*MockBlock) IsWarm

func (m *MockBlock) IsWarm() bool

IsWarm mocks base method.

func (*MockBlock) Update

func (m *MockBlock) Update(arg0 *models.Bar)

Update mocks base method.

type MockBlockMockRecorder

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

MockBlockMockRecorder is the mock recorder for MockBlock.

func (*MockBlockMockRecorder) GetDescription

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

GetDescription indicates an expected call of GetDescription.

func (*MockBlockMockRecorder) GetInputs

func (mr *MockBlockMockRecorder) GetInputs() *gomock.Call

GetInputs indicates an expected call of GetInputs.

func (*MockBlockMockRecorder) GetOutputs

func (mr *MockBlockMockRecorder) GetOutputs() *gomock.Call

GetOutputs indicates an expected call of GetOutputs.

func (*MockBlockMockRecorder) GetParams

func (mr *MockBlockMockRecorder) GetParams() *gomock.Call

GetParams indicates an expected call of GetParams.

func (*MockBlockMockRecorder) GetType

func (mr *MockBlockMockRecorder) GetType() *gomock.Call

GetType indicates an expected call of GetType.

func (*MockBlockMockRecorder) GetWarmupPeriod

func (mr *MockBlockMockRecorder) GetWarmupPeriod() *gomock.Call

GetWarmupPeriod indicates an expected call of GetWarmupPeriod.

func (*MockBlockMockRecorder) Init

func (mr *MockBlockMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init.

func (*MockBlockMockRecorder) IsWarm

func (mr *MockBlockMockRecorder) IsWarm() *gomock.Call

IsWarm indicates an expected call of IsWarm.

func (*MockBlockMockRecorder) Update

func (mr *MockBlockMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockInput

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

MockInput is a mock of Input interface.

func NewMockInput

func NewMockInput(ctrl *gomock.Controller) *MockInput

NewMockInput creates a new mock instance.

func (*MockInput) Connect

func (m *MockInput) Connect(arg0 blocks.Output) error

Connect mocks base method.

func (*MockInput) EXPECT

func (m *MockInput) EXPECT() *MockInputMockRecorder

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

func (*MockInput) GetType

func (m *MockInput) GetType() string

GetType mocks base method.

func (*MockInput) IsConnected

func (m *MockInput) IsConnected() bool

IsConnected mocks base method.

func (*MockInput) IsValueSet

func (m *MockInput) IsValueSet() bool

IsValueSet mocks base method.

type MockInputMockRecorder

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

MockInputMockRecorder is the mock recorder for MockInput.

func (*MockInputMockRecorder) Connect

func (mr *MockInputMockRecorder) Connect(arg0 interface{}) *gomock.Call

Connect indicates an expected call of Connect.

func (*MockInputMockRecorder) GetType

func (mr *MockInputMockRecorder) GetType() *gomock.Call

GetType indicates an expected call of GetType.

func (*MockInputMockRecorder) IsConnected

func (mr *MockInputMockRecorder) IsConnected() *gomock.Call

IsConnected indicates an expected call of IsConnected.

func (*MockInputMockRecorder) IsValueSet

func (mr *MockInputMockRecorder) IsValueSet() *gomock.Call

IsValueSet indicates an expected call of IsValueSet.

type MockOutput

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

MockOutput is a mock of Output interface.

func NewMockOutput

func NewMockOutput(ctrl *gomock.Controller) *MockOutput

NewMockOutput creates a new mock instance.

func (*MockOutput) Connect

func (m *MockOutput) Connect(arg0 blocks.Input) error

Connect mocks base method.

func (*MockOutput) DisconnectAll

func (m *MockOutput) DisconnectAll()

DisconnectAll mocks base method.

func (*MockOutput) EXPECT

func (m *MockOutput) EXPECT() *MockOutputMockRecorder

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

func (*MockOutput) GetConnected

func (m *MockOutput) GetConnected() []blocks.Input

GetConnected mocks base method.

func (*MockOutput) GetType

func (m *MockOutput) GetType() string

GetType mocks base method.

func (*MockOutput) IsConnected

func (m *MockOutput) IsConnected() bool

IsConnected mocks base method.

func (*MockOutput) IsValueSet

func (m *MockOutput) IsValueSet() bool

IsValueSet mocks base method.

type MockOutputMockRecorder

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

MockOutputMockRecorder is the mock recorder for MockOutput.

func (*MockOutputMockRecorder) Connect

func (mr *MockOutputMockRecorder) Connect(arg0 interface{}) *gomock.Call

Connect indicates an expected call of Connect.

func (*MockOutputMockRecorder) DisconnectAll

func (mr *MockOutputMockRecorder) DisconnectAll() *gomock.Call

DisconnectAll indicates an expected call of DisconnectAll.

func (*MockOutputMockRecorder) GetConnected

func (mr *MockOutputMockRecorder) GetConnected() *gomock.Call

GetConnected indicates an expected call of GetConnected.

func (*MockOutputMockRecorder) GetType

func (mr *MockOutputMockRecorder) GetType() *gomock.Call

GetType indicates an expected call of GetType.

func (*MockOutputMockRecorder) IsConnected

func (mr *MockOutputMockRecorder) IsConnected() *gomock.Call

IsConnected indicates an expected call of IsConnected.

func (*MockOutputMockRecorder) IsValueSet

func (mr *MockOutputMockRecorder) IsValueSet() *gomock.Call

IsValueSet indicates an expected call of IsValueSet.

type MockParam

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

MockParam is a mock of Param interface.

func NewMockParam

func NewMockParam(ctrl *gomock.Controller) *MockParam

NewMockParam creates a new mock instance.

func (*MockParam) EXPECT

func (m *MockParam) EXPECT() *MockParamMockRecorder

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

func (*MockParam) GetDefault

func (m *MockParam) GetDefault() interface{}

GetDefault mocks base method.

func (*MockParam) GetSchema

func (m *MockParam) GetSchema() map[string]interface{}

GetSchema mocks base method.

func (*MockParam) GetVal

func (m *MockParam) GetVal() interface{}

GetVal mocks base method.

func (*MockParam) SetVal

func (m *MockParam) SetVal(arg0 interface{}) error

SetVal mocks base method.

type MockParamMockRecorder

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

MockParamMockRecorder is the mock recorder for MockParam.

func (*MockParamMockRecorder) GetDefault

func (mr *MockParamMockRecorder) GetDefault() *gomock.Call

GetDefault indicates an expected call of GetDefault.

func (*MockParamMockRecorder) GetSchema

func (mr *MockParamMockRecorder) GetSchema() *gomock.Call

GetSchema indicates an expected call of GetSchema.

func (*MockParamMockRecorder) GetVal

func (mr *MockParamMockRecorder) GetVal() *gomock.Call

GetVal indicates an expected call of GetVal.

func (*MockParamMockRecorder) SetVal

func (mr *MockParamMockRecorder) SetVal(arg0 interface{}) *gomock.Call

SetVal indicates an expected call of SetVal.

Jump to

Keyboard shortcuts

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