Documentation ¶
Overview ¶
Package mock_blocks is a generated GoMock package.
Index ¶
- type MockBlock
- func (m *MockBlock) EXPECT() *MockBlockMockRecorder
- func (m *MockBlock) GetDescription() string
- func (m *MockBlock) GetInputs() blocks.Inputs
- func (m *MockBlock) GetOutputs() blocks.Outputs
- func (m *MockBlock) GetParams() blocks.Params
- func (m *MockBlock) GetType() string
- func (m *MockBlock) GetWarmupPeriod() int
- func (m *MockBlock) Init() error
- func (m *MockBlock) IsWarm() bool
- func (m *MockBlock) Update(arg0 *models.Bar)
- type MockBlockMockRecorder
- func (mr *MockBlockMockRecorder) GetDescription() *gomock.Call
- func (mr *MockBlockMockRecorder) GetInputs() *gomock.Call
- func (mr *MockBlockMockRecorder) GetOutputs() *gomock.Call
- func (mr *MockBlockMockRecorder) GetParams() *gomock.Call
- func (mr *MockBlockMockRecorder) GetType() *gomock.Call
- func (mr *MockBlockMockRecorder) GetWarmupPeriod() *gomock.Call
- func (mr *MockBlockMockRecorder) Init() *gomock.Call
- func (mr *MockBlockMockRecorder) IsWarm() *gomock.Call
- func (mr *MockBlockMockRecorder) Update(arg0 interface{}) *gomock.Call
- type MockInput
- type MockInputMockRecorder
- type MockOutput
- func (m *MockOutput) Connect(arg0 blocks.Input) error
- func (m *MockOutput) DisconnectAll()
- func (m *MockOutput) EXPECT() *MockOutputMockRecorder
- func (m *MockOutput) GetConnected() []blocks.Input
- func (m *MockOutput) GetType() string
- func (m *MockOutput) IsConnected() bool
- func (m *MockOutput) IsValueSet() bool
- type MockOutputMockRecorder
- func (mr *MockOutputMockRecorder) Connect(arg0 interface{}) *gomock.Call
- func (mr *MockOutputMockRecorder) DisconnectAll() *gomock.Call
- func (mr *MockOutputMockRecorder) GetConnected() *gomock.Call
- func (mr *MockOutputMockRecorder) GetType() *gomock.Call
- func (mr *MockOutputMockRecorder) IsConnected() *gomock.Call
- func (mr *MockOutputMockRecorder) IsValueSet() *gomock.Call
- type MockParam
- type MockParamMockRecorder
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 ¶
GetDescription mocks base method.
func (*MockBlock) GetOutputs ¶
GetOutputs mocks base method.
func (*MockBlock) GetWarmupPeriod ¶
GetWarmupPeriod 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) EXPECT ¶
func (m *MockInput) EXPECT() *MockInputMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInput) IsConnected ¶
IsConnected 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) 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.
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.