Documentation
¶
Index ¶
- type FlyteWorkflow
- type FlyteWorkflow_Expecter
- type FlyteWorkflow_Get_Call
- func (_c *FlyteWorkflow_Get_Call) Return(_a0 *v1alpha1.FlyteWorkflow, _a1 error) *FlyteWorkflow_Get_Call
- func (_c *FlyteWorkflow_Get_Call) Run(run func(ctx context.Context, namespace string, name string)) *FlyteWorkflow_Get_Call
- func (_c *FlyteWorkflow_Get_Call) RunAndReturn(run func(context.Context, string, string) (*v1alpha1.FlyteWorkflow, error)) *FlyteWorkflow_Get_Call
- type FlyteWorkflow_Update_Call
- func (_c *FlyteWorkflow_Update_Call) Return(newWF *v1alpha1.FlyteWorkflow, err error) *FlyteWorkflow_Update_Call
- func (_c *FlyteWorkflow_Update_Call) Run(run func(ctx context.Context, workflow *v1alpha1.FlyteWorkflow)) *FlyteWorkflow_Update_Call
- func (_c *FlyteWorkflow_Update_Call) RunAndReturn(...) *FlyteWorkflow_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlyteWorkflow ¶
FlyteWorkflow is an autogenerated mock type for the FlyteWorkflow type
func NewFlyteWorkflow ¶ added in v1.15.1
func NewFlyteWorkflow(t interface {
mock.TestingT
Cleanup(func())
}) *FlyteWorkflow
NewFlyteWorkflow creates a new instance of FlyteWorkflow. 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 (*FlyteWorkflow) EXPECT ¶ added in v1.15.1
func (_m *FlyteWorkflow) EXPECT() *FlyteWorkflow_Expecter
func (*FlyteWorkflow) Get ¶
func (_m *FlyteWorkflow) Get(ctx context.Context, namespace string, name string) (*v1alpha1.FlyteWorkflow, error)
Get provides a mock function with given fields: ctx, namespace, name
func (*FlyteWorkflow) Update ¶
func (_m *FlyteWorkflow) Update(ctx context.Context, workflow *v1alpha1.FlyteWorkflow) (*v1alpha1.FlyteWorkflow, error)
Update provides a mock function with given fields: ctx, workflow
type FlyteWorkflow_Expecter ¶ added in v1.15.1
type FlyteWorkflow_Expecter struct {
// contains filtered or unexported fields
}
func (*FlyteWorkflow_Expecter) Get ¶ added in v1.15.1
func (_e *FlyteWorkflow_Expecter) Get(ctx interface{}, namespace interface{}, name interface{}) *FlyteWorkflow_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- namespace string
- name string
func (*FlyteWorkflow_Expecter) Update ¶ added in v1.15.1
func (_e *FlyteWorkflow_Expecter) Update(ctx interface{}, workflow interface{}) *FlyteWorkflow_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- workflow *v1alpha1.FlyteWorkflow
type FlyteWorkflow_Get_Call ¶ added in v1.15.1
FlyteWorkflow_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*FlyteWorkflow_Get_Call) Return ¶ added in v1.15.1
func (_c *FlyteWorkflow_Get_Call) Return(_a0 *v1alpha1.FlyteWorkflow, _a1 error) *FlyteWorkflow_Get_Call
func (*FlyteWorkflow_Get_Call) Run ¶ added in v1.15.1
func (_c *FlyteWorkflow_Get_Call) Run(run func(ctx context.Context, namespace string, name string)) *FlyteWorkflow_Get_Call
func (*FlyteWorkflow_Get_Call) RunAndReturn ¶ added in v1.15.1
func (_c *FlyteWorkflow_Get_Call) RunAndReturn(run func(context.Context, string, string) (*v1alpha1.FlyteWorkflow, error)) *FlyteWorkflow_Get_Call
type FlyteWorkflow_Update_Call ¶ added in v1.15.1
FlyteWorkflow_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*FlyteWorkflow_Update_Call) Return ¶ added in v1.15.1
func (_c *FlyteWorkflow_Update_Call) Return(newWF *v1alpha1.FlyteWorkflow, err error) *FlyteWorkflow_Update_Call
func (*FlyteWorkflow_Update_Call) Run ¶ added in v1.15.1
func (_c *FlyteWorkflow_Update_Call) Run(run func(ctx context.Context, workflow *v1alpha1.FlyteWorkflow)) *FlyteWorkflow_Update_Call
func (*FlyteWorkflow_Update_Call) RunAndReturn ¶ added in v1.15.1
func (_c *FlyteWorkflow_Update_Call) RunAndReturn(run func(context.Context, *v1alpha1.FlyteWorkflow) (*v1alpha1.FlyteWorkflow, error)) *FlyteWorkflow_Update_Call