Documentation ¶
Index ¶
- type MockWorkflowRun
- func (_m *MockWorkflowRun) EXPECT() *MockWorkflowRun_Expecter
- func (_m *MockWorkflowRun) Get(ctx context.Context, valuePtr interface{}) error
- func (_m *MockWorkflowRun) GetID() string
- func (_m *MockWorkflowRun) GetRunID() string
- func (_m *MockWorkflowRun) GetWithOptions(ctx context.Context, valuePtr interface{}, ...) error
- type MockWorkflowRun_Expecter
- func (_e *MockWorkflowRun_Expecter) Get(ctx interface{}, valuePtr interface{}) *MockWorkflowRun_Get_Call
- func (_e *MockWorkflowRun_Expecter) GetID() *MockWorkflowRun_GetID_Call
- func (_e *MockWorkflowRun_Expecter) GetRunID() *MockWorkflowRun_GetRunID_Call
- func (_e *MockWorkflowRun_Expecter) GetWithOptions(ctx interface{}, valuePtr interface{}, options interface{}) *MockWorkflowRun_GetWithOptions_Call
- type MockWorkflowRun_GetID_Call
- type MockWorkflowRun_GetRunID_Call
- type MockWorkflowRun_GetWithOptions_Call
- func (_c *MockWorkflowRun_GetWithOptions_Call) Return(_a0 error) *MockWorkflowRun_GetWithOptions_Call
- func (_c *MockWorkflowRun_GetWithOptions_Call) Run(run func(ctx context.Context, valuePtr interface{}, ...)) *MockWorkflowRun_GetWithOptions_Call
- func (_c *MockWorkflowRun_GetWithOptions_Call) RunAndReturn(run func(context.Context, interface{}, internal.WorkflowRunGetOptions) error) *MockWorkflowRun_GetWithOptions_Call
- type MockWorkflowRun_Get_Call
- func (_c *MockWorkflowRun_Get_Call) Return(_a0 error) *MockWorkflowRun_Get_Call
- func (_c *MockWorkflowRun_Get_Call) Run(run func(ctx context.Context, valuePtr interface{})) *MockWorkflowRun_Get_Call
- func (_c *MockWorkflowRun_Get_Call) RunAndReturn(run func(context.Context, interface{}) error) *MockWorkflowRun_Get_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWorkflowRun ¶
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 (_m *MockWorkflowRun) EXPECT() *MockWorkflowRun_Expecter
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 no fields
func (*MockWorkflowRun) GetRunID ¶
func (_m *MockWorkflowRun) GetRunID() string
GetRunID provides a mock function with no 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 ¶
func (_e *MockWorkflowRun_Expecter) GetID() *MockWorkflowRun_GetID_Call
GetID is a helper method to define mock.On call
func (*MockWorkflowRun_Expecter) GetRunID ¶
func (_e *MockWorkflowRun_Expecter) GetRunID() *MockWorkflowRun_GetRunID_Call
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 ¶
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 (_c *MockWorkflowRun_GetID_Call) Return(_a0 string) *MockWorkflowRun_GetID_Call
func (*MockWorkflowRun_GetID_Call) Run ¶
func (_c *MockWorkflowRun_GetID_Call) Run(run func()) *MockWorkflowRun_GetID_Call
func (*MockWorkflowRun_GetID_Call) RunAndReturn ¶
func (_c *MockWorkflowRun_GetID_Call) RunAndReturn(run func() string) *MockWorkflowRun_GetID_Call
type MockWorkflowRun_GetRunID_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 (_c *MockWorkflowRun_GetRunID_Call) Return(_a0 string) *MockWorkflowRun_GetRunID_Call
func (*MockWorkflowRun_GetRunID_Call) Run ¶
func (_c *MockWorkflowRun_GetRunID_Call) Run(run func()) *MockWorkflowRun_GetRunID_Call
func (*MockWorkflowRun_GetRunID_Call) RunAndReturn ¶
func (_c *MockWorkflowRun_GetRunID_Call) RunAndReturn(run func() string) *MockWorkflowRun_GetRunID_Call
type MockWorkflowRun_GetWithOptions_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 (_c *MockWorkflowRun_GetWithOptions_Call) Return(_a0 error) *MockWorkflowRun_GetWithOptions_Call
func (*MockWorkflowRun_GetWithOptions_Call) Run ¶
func (_c *MockWorkflowRun_GetWithOptions_Call) Run(run func(ctx context.Context, valuePtr interface{}, options internal.WorkflowRunGetOptions)) *MockWorkflowRun_GetWithOptions_Call
func (*MockWorkflowRun_GetWithOptions_Call) RunAndReturn ¶
func (_c *MockWorkflowRun_GetWithOptions_Call) RunAndReturn(run func(context.Context, interface{}, internal.WorkflowRunGetOptions) error) *MockWorkflowRun_GetWithOptions_Call
type MockWorkflowRun_Get_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 (_c *MockWorkflowRun_Get_Call) Return(_a0 error) *MockWorkflowRun_Get_Call
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