mocks

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueueClientInterface

type QueueClientInterface struct {
	mock.Mock
}

QueueClientInterface is an autogenerated mock type for the QueueClientInterface type

func NewQueueClientInterface

func NewQueueClientInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *QueueClientInterface

NewQueueClientInterface creates a new instance of QueueClientInterface. 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 (*QueueClientInterface) AbortQueuedAction

func (_m *QueueClientInterface) AbortQueuedAction(ctx context.Context, actionID *common.ActionIdentifier, reason *string) error

AbortQueuedAction provides a mock function with given fields: ctx, actionID, reason

func (*QueueClientInterface) AbortQueuedRun

func (_m *QueueClientInterface) AbortQueuedRun(ctx context.Context, runID *common.RunIdentifier, reason *string) error

AbortQueuedRun provides a mock function with given fields: ctx, runID, reason

func (*QueueClientInterface) EXPECT

func (*QueueClientInterface) EnqueueAction

EnqueueAction provides a mock function with given fields: ctx, req

type QueueClientInterface_AbortQueuedAction_Call

type QueueClientInterface_AbortQueuedAction_Call struct {
	*mock.Call
}

QueueClientInterface_AbortQueuedAction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AbortQueuedAction'

func (*QueueClientInterface_AbortQueuedAction_Call) Return

func (*QueueClientInterface_AbortQueuedAction_Call) Run

func (*QueueClientInterface_AbortQueuedAction_Call) RunAndReturn

type QueueClientInterface_AbortQueuedRun_Call

type QueueClientInterface_AbortQueuedRun_Call struct {
	*mock.Call
}

QueueClientInterface_AbortQueuedRun_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AbortQueuedRun'

func (*QueueClientInterface_AbortQueuedRun_Call) Return

func (*QueueClientInterface_AbortQueuedRun_Call) Run

func (*QueueClientInterface_AbortQueuedRun_Call) RunAndReturn

type QueueClientInterface_EnqueueAction_Call

type QueueClientInterface_EnqueueAction_Call struct {
	*mock.Call
}

QueueClientInterface_EnqueueAction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnqueueAction'

func (*QueueClientInterface_EnqueueAction_Call) Return

func (*QueueClientInterface_EnqueueAction_Call) Run

func (*QueueClientInterface_EnqueueAction_Call) RunAndReturn

type QueueClientInterface_Expecter

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

func (*QueueClientInterface_Expecter) AbortQueuedAction

func (_e *QueueClientInterface_Expecter) AbortQueuedAction(ctx interface{}, actionID interface{}, reason interface{}) *QueueClientInterface_AbortQueuedAction_Call

AbortQueuedAction is a helper method to define mock.On call

  • ctx context.Context
  • actionID *common.ActionIdentifier
  • reason *string

func (*QueueClientInterface_Expecter) AbortQueuedRun

func (_e *QueueClientInterface_Expecter) AbortQueuedRun(ctx interface{}, runID interface{}, reason interface{}) *QueueClientInterface_AbortQueuedRun_Call

AbortQueuedRun is a helper method to define mock.On call

  • ctx context.Context
  • runID *common.RunIdentifier
  • reason *string

func (*QueueClientInterface_Expecter) EnqueueAction

func (_e *QueueClientInterface_Expecter) EnqueueAction(ctx interface{}, req interface{}) *QueueClientInterface_EnqueueAction_Call

EnqueueAction is a helper method to define mock.On call

  • ctx context.Context
  • req *workflow.EnqueueActionRequest

Jump to

Keyboard shortcuts

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