clientutils

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWorkflowRun

type MockWorkflowRun struct {
	mock.Mock
}

MockWorkflowRun is an autogenerated mock type for the WorkflowRun type

func NewMockWorkflowRun

func NewMockWorkflowRun(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWorkflowRun

NewMockWorkflowRun creates a new instance of MockWorkflowRun. 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 (*MockWorkflowRun) EXPECT

func (*MockWorkflowRun) Get

func (_m *MockWorkflowRun) Get(ctx context.Context, valuePtr interface{}) error

Get provides a mock function with given fields: ctx, valuePtr

func (*MockWorkflowRun) GetID

func (_m *MockWorkflowRun) GetID() string

GetID provides a mock function with given fields:

func (*MockWorkflowRun) GetRunID

func (_m *MockWorkflowRun) GetRunID() string

GetRunID provides a mock function with given fields:

func (*MockWorkflowRun) GetWithOptions

func (_m *MockWorkflowRun) GetWithOptions(ctx context.Context, valuePtr interface{}, options internal.WorkflowRunGetOptions) error

GetWithOptions provides a mock function with given fields: ctx, valuePtr, options

type MockWorkflowRun_Expecter

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

func (*MockWorkflowRun_Expecter) Get

func (_e *MockWorkflowRun_Expecter) Get(ctx interface{}, valuePtr interface{}) *MockWorkflowRun_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • valuePtr interface{}

func (*MockWorkflowRun_Expecter) GetID

GetID is a helper method to define mock.On call

func (*MockWorkflowRun_Expecter) GetRunID

GetRunID is a helper method to define mock.On call

func (*MockWorkflowRun_Expecter) GetWithOptions

func (_e *MockWorkflowRun_Expecter) GetWithOptions(ctx interface{}, valuePtr interface{}, options interface{}) *MockWorkflowRun_GetWithOptions_Call

GetWithOptions is a helper method to define mock.On call

  • ctx context.Context
  • valuePtr interface{}
  • options internal.WorkflowRunGetOptions

type MockWorkflowRun_GetID_Call

type MockWorkflowRun_GetID_Call struct {
	*mock.Call
}

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

func (*MockWorkflowRun_GetID_Call) Return

func (*MockWorkflowRun_GetID_Call) Run

func (*MockWorkflowRun_GetID_Call) RunAndReturn

func (_c *MockWorkflowRun_GetID_Call) RunAndReturn(run func() string) *MockWorkflowRun_GetID_Call

type MockWorkflowRun_GetRunID_Call

type MockWorkflowRun_GetRunID_Call struct {
	*mock.Call
}

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

func (*MockWorkflowRun_GetRunID_Call) Return

func (*MockWorkflowRun_GetRunID_Call) Run

func (*MockWorkflowRun_GetRunID_Call) RunAndReturn

type MockWorkflowRun_GetWithOptions_Call

type MockWorkflowRun_GetWithOptions_Call struct {
	*mock.Call
}

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

func (*MockWorkflowRun_GetWithOptions_Call) Return

func (*MockWorkflowRun_GetWithOptions_Call) Run

func (*MockWorkflowRun_GetWithOptions_Call) RunAndReturn

type MockWorkflowRun_Get_Call

type MockWorkflowRun_Get_Call struct {
	*mock.Call
}

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

func (*MockWorkflowRun_Get_Call) Return

func (*MockWorkflowRun_Get_Call) Run

func (_c *MockWorkflowRun_Get_Call) Run(run func(ctx context.Context, valuePtr interface{})) *MockWorkflowRun_Get_Call

func (*MockWorkflowRun_Get_Call) RunAndReturn

func (_c *MockWorkflowRun_Get_Call) RunAndReturn(run func(context.Context, interface{}) error) *MockWorkflowRun_Get_Call

Jump to

Keyboard shortcuts

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