Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEventBusRuntime
- func (m *MockEventBusRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error
- func (m *MockEventBusRuntime) Close()
- func (m *MockEventBusRuntime) EXPECT() *MockEventBusRuntimeMockRecorder
- func (m *MockEventBusRuntime) Execute(arg0 context.Context, arg1 *runtime.ExecuteRequest) (*types.AgentRunResult, error)
- func (m *MockEventBusRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)
- func (m *MockEventBusRuntime) GetEventBus() eventbus.EventBus
- func (m *MockEventBusRuntime) SetEventBus(arg0 eventbus.EventBus)
- type MockEventBusRuntimeMockRecorder
- func (mr *MockEventBusRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEventBusRuntimeMockRecorder) Close() *gomock.Call
- func (mr *MockEventBusRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEventBusRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEventBusRuntimeMockRecorder) GetEventBus() *gomock.Call
- func (mr *MockEventBusRuntimeMockRecorder) SetEventBus(arg0 interface{}) *gomock.Call
- type MockRuntime
- func (m *MockRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error
- func (m *MockRuntime) Close()
- func (m *MockRuntime) EXPECT() *MockRuntimeMockRecorder
- func (m *MockRuntime) Execute(arg0 context.Context, arg1 *runtime.ExecuteRequest) (*types.AgentRunResult, error)
- func (m *MockRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)
- type MockRuntimeMockRecorder
- func (mr *MockRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRuntimeMockRecorder) Close() *gomock.Call
- func (mr *MockRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call
- type MockWorkerRuntime
- func (m *MockWorkerRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error
- func (m *MockWorkerRuntime) Close()
- func (m *MockWorkerRuntime) EXPECT() *MockWorkerRuntimeMockRecorder
- func (m *MockWorkerRuntime) Execute(arg0 context.Context, arg1 *runtime.ExecuteRequest) (*types.AgentRunResult, error)
- func (m *MockWorkerRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)
- func (m *MockWorkerRuntime) Start(arg0 context.Context) error
- func (m *MockWorkerRuntime) Stop()
- type MockWorkerRuntimeMockRecorder
- func (mr *MockWorkerRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWorkerRuntimeMockRecorder) Close() *gomock.Call
- func (mr *MockWorkerRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkerRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkerRuntimeMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockWorkerRuntimeMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventBusRuntime ¶ added in v0.1.1
type MockEventBusRuntime struct {
// contains filtered or unexported fields
}
MockEventBusRuntime is a mock of EventBusRuntime interface.
func NewMockEventBusRuntime ¶ added in v0.1.1
func NewMockEventBusRuntime(ctrl *gomock.Controller) *MockEventBusRuntime
NewMockEventBusRuntime creates a new mock instance.
func (*MockEventBusRuntime) Approve ¶ added in v0.1.1
func (m *MockEventBusRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error
Approve mocks base method.
func (*MockEventBusRuntime) Close ¶ added in v0.1.1
func (m *MockEventBusRuntime) Close()
Close mocks base method.
func (*MockEventBusRuntime) EXPECT ¶ added in v0.1.1
func (m *MockEventBusRuntime) EXPECT() *MockEventBusRuntimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventBusRuntime) Execute ¶ added in v0.1.1
func (m *MockEventBusRuntime) Execute(arg0 context.Context, arg1 *runtime.ExecuteRequest) (*types.AgentRunResult, error)
Execute mocks base method.
func (*MockEventBusRuntime) ExecuteStream ¶ added in v0.1.1
func (m *MockEventBusRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)
ExecuteStream mocks base method.
func (*MockEventBusRuntime) GetEventBus ¶ added in v0.1.1
func (m *MockEventBusRuntime) GetEventBus() eventbus.EventBus
GetEventBus mocks base method.
func (*MockEventBusRuntime) SetEventBus ¶ added in v0.1.1
func (m *MockEventBusRuntime) SetEventBus(arg0 eventbus.EventBus)
SetEventBus mocks base method.
type MockEventBusRuntimeMockRecorder ¶ added in v0.1.1
type MockEventBusRuntimeMockRecorder struct {
// contains filtered or unexported fields
}
MockEventBusRuntimeMockRecorder is the mock recorder for MockEventBusRuntime.
func (*MockEventBusRuntimeMockRecorder) Approve ¶ added in v0.1.1
func (mr *MockEventBusRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call
Approve indicates an expected call of Approve.
func (*MockEventBusRuntimeMockRecorder) Close ¶ added in v0.1.1
func (mr *MockEventBusRuntimeMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockEventBusRuntimeMockRecorder) Execute ¶ added in v0.1.1
func (mr *MockEventBusRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockEventBusRuntimeMockRecorder) ExecuteStream ¶ added in v0.1.1
func (mr *MockEventBusRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call
ExecuteStream indicates an expected call of ExecuteStream.
func (*MockEventBusRuntimeMockRecorder) GetEventBus ¶ added in v0.1.1
func (mr *MockEventBusRuntimeMockRecorder) GetEventBus() *gomock.Call
GetEventBus indicates an expected call of GetEventBus.
func (*MockEventBusRuntimeMockRecorder) SetEventBus ¶ added in v0.1.1
func (mr *MockEventBusRuntimeMockRecorder) SetEventBus(arg0 interface{}) *gomock.Call
SetEventBus indicates an expected call of SetEventBus.
type MockRuntime ¶
type MockRuntime struct {
// contains filtered or unexported fields
}
MockRuntime is a mock of Runtime interface.
func NewMockRuntime ¶
func NewMockRuntime(ctrl *gomock.Controller) *MockRuntime
NewMockRuntime creates a new mock instance.
func (*MockRuntime) Approve ¶
func (m *MockRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error
Approve mocks base method.
func (*MockRuntime) EXPECT ¶
func (m *MockRuntime) EXPECT() *MockRuntimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRuntime) Execute ¶
func (m *MockRuntime) Execute(arg0 context.Context, arg1 *runtime.ExecuteRequest) (*types.AgentRunResult, error)
Execute mocks base method.
func (*MockRuntime) ExecuteStream ¶
func (m *MockRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)
ExecuteStream mocks base method.
type MockRuntimeMockRecorder ¶
type MockRuntimeMockRecorder struct {
// contains filtered or unexported fields
}
MockRuntimeMockRecorder is the mock recorder for MockRuntime.
func (*MockRuntimeMockRecorder) Approve ¶
func (mr *MockRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call
Approve indicates an expected call of Approve.
func (*MockRuntimeMockRecorder) Close ¶
func (mr *MockRuntimeMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRuntimeMockRecorder) Execute ¶
func (mr *MockRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockRuntimeMockRecorder) ExecuteStream ¶
func (mr *MockRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call
ExecuteStream indicates an expected call of ExecuteStream.
type MockWorkerRuntime ¶ added in v0.1.1
type MockWorkerRuntime struct {
// contains filtered or unexported fields
}
MockWorkerRuntime is a mock of WorkerRuntime interface.
func NewMockWorkerRuntime ¶ added in v0.1.1
func NewMockWorkerRuntime(ctrl *gomock.Controller) *MockWorkerRuntime
NewMockWorkerRuntime creates a new mock instance.
func (*MockWorkerRuntime) Approve ¶ added in v0.1.1
func (m *MockWorkerRuntime) Approve(arg0 context.Context, arg1 string, arg2 types.ApprovalStatus) error
Approve mocks base method.
func (*MockWorkerRuntime) Close ¶ added in v0.1.1
func (m *MockWorkerRuntime) Close()
Close mocks base method.
func (*MockWorkerRuntime) EXPECT ¶ added in v0.1.1
func (m *MockWorkerRuntime) EXPECT() *MockWorkerRuntimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkerRuntime) Execute ¶ added in v0.1.1
func (m *MockWorkerRuntime) Execute(arg0 context.Context, arg1 *runtime.ExecuteRequest) (*types.AgentRunResult, error)
Execute mocks base method.
func (*MockWorkerRuntime) ExecuteStream ¶ added in v0.1.1
func (m *MockWorkerRuntime) ExecuteStream(arg0 context.Context, arg1 *runtime.ExecuteRequest) (<-chan events.AgentEvent, error)
ExecuteStream mocks base method.
func (*MockWorkerRuntime) Start ¶ added in v0.1.1
func (m *MockWorkerRuntime) Start(arg0 context.Context) error
Start mocks base method.
func (*MockWorkerRuntime) Stop ¶ added in v0.1.1
func (m *MockWorkerRuntime) Stop()
Stop mocks base method.
type MockWorkerRuntimeMockRecorder ¶ added in v0.1.1
type MockWorkerRuntimeMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkerRuntimeMockRecorder is the mock recorder for MockWorkerRuntime.
func (*MockWorkerRuntimeMockRecorder) Approve ¶ added in v0.1.1
func (mr *MockWorkerRuntimeMockRecorder) Approve(arg0, arg1, arg2 interface{}) *gomock.Call
Approve indicates an expected call of Approve.
func (*MockWorkerRuntimeMockRecorder) Close ¶ added in v0.1.1
func (mr *MockWorkerRuntimeMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockWorkerRuntimeMockRecorder) Execute ¶ added in v0.1.1
func (mr *MockWorkerRuntimeMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockWorkerRuntimeMockRecorder) ExecuteStream ¶ added in v0.1.1
func (mr *MockWorkerRuntimeMockRecorder) ExecuteStream(arg0, arg1 interface{}) *gomock.Call
ExecuteStream indicates an expected call of ExecuteStream.
func (*MockWorkerRuntimeMockRecorder) Start ¶ added in v0.1.1
func (mr *MockWorkerRuntimeMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockWorkerRuntimeMockRecorder) Stop ¶ added in v0.1.1
func (mr *MockWorkerRuntimeMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.