mocks

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeExecutionEventWriter

type NodeExecutionEventWriter struct {
	mock.Mock
}

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 (*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

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

type NodeExecutionEventWriter_Run_Call struct {
	*mock.Call
}

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 (*NodeExecutionEventWriter_Run_Call) Run added in v1.15.0

func (*NodeExecutionEventWriter_Run_Call) RunAndReturn added in v1.15.0

type NodeExecutionEventWriter_Write_Call added in v1.15.0

type NodeExecutionEventWriter_Write_Call struct {
	*mock.Call
}

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 (*NodeExecutionEventWriter_Write_Call) Run added in v1.15.0

func (*NodeExecutionEventWriter_Write_Call) RunAndReturn added in v1.15.0

type WorkflowExecutionEventWriter

type WorkflowExecutionEventWriter struct {
	mock.Mock
}

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 (*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

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

type WorkflowExecutionEventWriter_Run_Call struct {
	*mock.Call
}

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 (*WorkflowExecutionEventWriter_Run_Call) Run added in v1.15.0

func (*WorkflowExecutionEventWriter_Run_Call) RunAndReturn added in v1.15.0

type WorkflowExecutionEventWriter_Write_Call added in v1.15.0

type WorkflowExecutionEventWriter_Write_Call struct {
	*mock.Call
}

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 (*WorkflowExecutionEventWriter_Write_Call) Run added in v1.15.0

func (*WorkflowExecutionEventWriter_Write_Call) RunAndReturn added in v1.15.0

Jump to

Keyboard shortcuts

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