Documentation
¶
Index ¶
- type NodeExecutionEventWriter
- type NodeExecutionEventWriter_Expecter
- type NodeExecutionEventWriter_Run_Call
- type NodeExecutionEventWriter_Write_Call
- func (_c *NodeExecutionEventWriter_Write_Call) Return() *NodeExecutionEventWriter_Write_Call
- func (_c *NodeExecutionEventWriter_Write_Call) Run(run func(nodeExecutionEvent *admin.NodeExecutionEventRequest)) *NodeExecutionEventWriter_Write_Call
- func (_c *NodeExecutionEventWriter_Write_Call) RunAndReturn(run func(*admin.NodeExecutionEventRequest)) *NodeExecutionEventWriter_Write_Call
- type WorkflowExecutionEventWriter
- type WorkflowExecutionEventWriter_Expecter
- type WorkflowExecutionEventWriter_Run_Call
- func (_c *WorkflowExecutionEventWriter_Run_Call) Return() *WorkflowExecutionEventWriter_Run_Call
- func (_c *WorkflowExecutionEventWriter_Run_Call) Run(run func()) *WorkflowExecutionEventWriter_Run_Call
- func (_c *WorkflowExecutionEventWriter_Run_Call) RunAndReturn(run func()) *WorkflowExecutionEventWriter_Run_Call
- type WorkflowExecutionEventWriter_Write_Call
- func (_c *WorkflowExecutionEventWriter_Write_Call) Return() *WorkflowExecutionEventWriter_Write_Call
- func (_c *WorkflowExecutionEventWriter_Write_Call) Run(run func(workflowExecutionEvent *admin.WorkflowExecutionEventRequest)) *WorkflowExecutionEventWriter_Write_Call
- func (_c *WorkflowExecutionEventWriter_Write_Call) RunAndReturn(run func(*admin.WorkflowExecutionEventRequest)) *WorkflowExecutionEventWriter_Write_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeExecutionEventWriter ¶
NodeExecutionEventWriter is an autogenerated mock type for the NodeExecutionEventWriter type
func NewNodeExecutionEventWriter ¶ added in v1.15.0
func NewNodeExecutionEventWriter(t interface {
mock.TestingT
Cleanup(func())
}) *NodeExecutionEventWriter
NewNodeExecutionEventWriter creates a new instance of NodeExecutionEventWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NodeExecutionEventWriter) EXPECT ¶ added in v1.15.0
func (_m *NodeExecutionEventWriter) EXPECT() *NodeExecutionEventWriter_Expecter
func (*NodeExecutionEventWriter) Run ¶
func (_m *NodeExecutionEventWriter) Run()
Run provides a mock function with given fields:
func (*NodeExecutionEventWriter) Write ¶
func (_m *NodeExecutionEventWriter) Write(nodeExecutionEvent *admin.NodeExecutionEventRequest)
Write provides a mock function with given fields: nodeExecutionEvent
type NodeExecutionEventWriter_Expecter ¶ added in v1.15.0
type NodeExecutionEventWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*NodeExecutionEventWriter_Expecter) Run ¶ added in v1.15.0
func (_e *NodeExecutionEventWriter_Expecter) Run() *NodeExecutionEventWriter_Run_Call
Run is a helper method to define mock.On call
func (*NodeExecutionEventWriter_Expecter) Write ¶ added in v1.15.0
func (_e *NodeExecutionEventWriter_Expecter) Write(nodeExecutionEvent interface{}) *NodeExecutionEventWriter_Write_Call
Write is a helper method to define mock.On call
- nodeExecutionEvent *admin.NodeExecutionEventRequest
type NodeExecutionEventWriter_Run_Call ¶ added in v1.15.0
NodeExecutionEventWriter_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*NodeExecutionEventWriter_Run_Call) Return ¶ added in v1.15.0
func (_c *NodeExecutionEventWriter_Run_Call) Return() *NodeExecutionEventWriter_Run_Call
func (*NodeExecutionEventWriter_Run_Call) Run ¶ added in v1.15.0
func (_c *NodeExecutionEventWriter_Run_Call) Run(run func()) *NodeExecutionEventWriter_Run_Call
func (*NodeExecutionEventWriter_Run_Call) RunAndReturn ¶ added in v1.15.0
func (_c *NodeExecutionEventWriter_Run_Call) RunAndReturn(run func()) *NodeExecutionEventWriter_Run_Call
type NodeExecutionEventWriter_Write_Call ¶ added in v1.15.0
NodeExecutionEventWriter_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*NodeExecutionEventWriter_Write_Call) Return ¶ added in v1.15.0
func (_c *NodeExecutionEventWriter_Write_Call) Return() *NodeExecutionEventWriter_Write_Call
func (*NodeExecutionEventWriter_Write_Call) Run ¶ added in v1.15.0
func (_c *NodeExecutionEventWriter_Write_Call) Run(run func(nodeExecutionEvent *admin.NodeExecutionEventRequest)) *NodeExecutionEventWriter_Write_Call
func (*NodeExecutionEventWriter_Write_Call) RunAndReturn ¶ added in v1.15.0
func (_c *NodeExecutionEventWriter_Write_Call) RunAndReturn(run func(*admin.NodeExecutionEventRequest)) *NodeExecutionEventWriter_Write_Call
type WorkflowExecutionEventWriter ¶
WorkflowExecutionEventWriter is an autogenerated mock type for the WorkflowExecutionEventWriter type
func NewWorkflowExecutionEventWriter ¶ added in v1.15.0
func NewWorkflowExecutionEventWriter(t interface {
mock.TestingT
Cleanup(func())
}) *WorkflowExecutionEventWriter
NewWorkflowExecutionEventWriter creates a new instance of WorkflowExecutionEventWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*WorkflowExecutionEventWriter) EXPECT ¶ added in v1.15.0
func (_m *WorkflowExecutionEventWriter) EXPECT() *WorkflowExecutionEventWriter_Expecter
func (*WorkflowExecutionEventWriter) Run ¶
func (_m *WorkflowExecutionEventWriter) Run()
Run provides a mock function with given fields:
func (*WorkflowExecutionEventWriter) Write ¶
func (_m *WorkflowExecutionEventWriter) Write(workflowExecutionEvent *admin.WorkflowExecutionEventRequest)
Write provides a mock function with given fields: workflowExecutionEvent
type WorkflowExecutionEventWriter_Expecter ¶ added in v1.15.0
type WorkflowExecutionEventWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*WorkflowExecutionEventWriter_Expecter) Run ¶ added in v1.15.0
func (_e *WorkflowExecutionEventWriter_Expecter) Run() *WorkflowExecutionEventWriter_Run_Call
Run is a helper method to define mock.On call
func (*WorkflowExecutionEventWriter_Expecter) Write ¶ added in v1.15.0
func (_e *WorkflowExecutionEventWriter_Expecter) Write(workflowExecutionEvent interface{}) *WorkflowExecutionEventWriter_Write_Call
Write is a helper method to define mock.On call
- workflowExecutionEvent *admin.WorkflowExecutionEventRequest
type WorkflowExecutionEventWriter_Run_Call ¶ added in v1.15.0
WorkflowExecutionEventWriter_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*WorkflowExecutionEventWriter_Run_Call) Return ¶ added in v1.15.0
func (_c *WorkflowExecutionEventWriter_Run_Call) Return() *WorkflowExecutionEventWriter_Run_Call
func (*WorkflowExecutionEventWriter_Run_Call) Run ¶ added in v1.15.0
func (_c *WorkflowExecutionEventWriter_Run_Call) Run(run func()) *WorkflowExecutionEventWriter_Run_Call
func (*WorkflowExecutionEventWriter_Run_Call) RunAndReturn ¶ added in v1.15.0
func (_c *WorkflowExecutionEventWriter_Run_Call) RunAndReturn(run func()) *WorkflowExecutionEventWriter_Run_Call
type WorkflowExecutionEventWriter_Write_Call ¶ added in v1.15.0
WorkflowExecutionEventWriter_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*WorkflowExecutionEventWriter_Write_Call) Return ¶ added in v1.15.0
func (_c *WorkflowExecutionEventWriter_Write_Call) Return() *WorkflowExecutionEventWriter_Write_Call
func (*WorkflowExecutionEventWriter_Write_Call) Run ¶ added in v1.15.0
func (_c *WorkflowExecutionEventWriter_Write_Call) Run(run func(workflowExecutionEvent *admin.WorkflowExecutionEventRequest)) *WorkflowExecutionEventWriter_Write_Call
func (*WorkflowExecutionEventWriter_Write_Call) RunAndReturn ¶ added in v1.15.0
func (_c *WorkflowExecutionEventWriter_Write_Call) RunAndReturn(run func(*admin.WorkflowExecutionEventRequest)) *WorkflowExecutionEventWriter_Write_Call