Documentation
¶
Index ¶
- type Client
- type Client_Expecter
- type Client_GetCache_Call
- type Client_GetClient_Call
- type ControlFlow
- func (_m *ControlFlow) CurrentNodeExecutionCount() uint32
- func (_m *ControlFlow) CurrentParallelism() uint32
- func (_m *ControlFlow) CurrentTaskExecutionCount() uint32
- func (_m *ControlFlow) EXPECT() *ControlFlow_Expecter
- func (_m *ControlFlow) IncrementNodeExecutionCount() uint32
- func (_m *ControlFlow) IncrementParallelism() uint32
- func (_m *ControlFlow) IncrementTaskExecutionCount() uint32
- type ControlFlow_CurrentNodeExecutionCount_Call
- func (_c *ControlFlow_CurrentNodeExecutionCount_Call) Return(_a0 uint32) *ControlFlow_CurrentNodeExecutionCount_Call
- func (_c *ControlFlow_CurrentNodeExecutionCount_Call) Run(run func()) *ControlFlow_CurrentNodeExecutionCount_Call
- func (_c *ControlFlow_CurrentNodeExecutionCount_Call) RunAndReturn(run func() uint32) *ControlFlow_CurrentNodeExecutionCount_Call
- type ControlFlow_CurrentParallelism_Call
- func (_c *ControlFlow_CurrentParallelism_Call) Return(_a0 uint32) *ControlFlow_CurrentParallelism_Call
- func (_c *ControlFlow_CurrentParallelism_Call) Run(run func()) *ControlFlow_CurrentParallelism_Call
- func (_c *ControlFlow_CurrentParallelism_Call) RunAndReturn(run func() uint32) *ControlFlow_CurrentParallelism_Call
- type ControlFlow_CurrentTaskExecutionCount_Call
- func (_c *ControlFlow_CurrentTaskExecutionCount_Call) Return(_a0 uint32) *ControlFlow_CurrentTaskExecutionCount_Call
- func (_c *ControlFlow_CurrentTaskExecutionCount_Call) Run(run func()) *ControlFlow_CurrentTaskExecutionCount_Call
- func (_c *ControlFlow_CurrentTaskExecutionCount_Call) RunAndReturn(run func() uint32) *ControlFlow_CurrentTaskExecutionCount_Call
- type ControlFlow_Expecter
- func (_e *ControlFlow_Expecter) CurrentNodeExecutionCount() *ControlFlow_CurrentNodeExecutionCount_Call
- func (_e *ControlFlow_Expecter) CurrentParallelism() *ControlFlow_CurrentParallelism_Call
- func (_e *ControlFlow_Expecter) CurrentTaskExecutionCount() *ControlFlow_CurrentTaskExecutionCount_Call
- func (_e *ControlFlow_Expecter) IncrementNodeExecutionCount() *ControlFlow_IncrementNodeExecutionCount_Call
- func (_e *ControlFlow_Expecter) IncrementParallelism() *ControlFlow_IncrementParallelism_Call
- func (_e *ControlFlow_Expecter) IncrementTaskExecutionCount() *ControlFlow_IncrementTaskExecutionCount_Call
- type ControlFlow_IncrementNodeExecutionCount_Call
- func (_c *ControlFlow_IncrementNodeExecutionCount_Call) Return(_a0 uint32) *ControlFlow_IncrementNodeExecutionCount_Call
- func (_c *ControlFlow_IncrementNodeExecutionCount_Call) Run(run func()) *ControlFlow_IncrementNodeExecutionCount_Call
- func (_c *ControlFlow_IncrementNodeExecutionCount_Call) RunAndReturn(run func() uint32) *ControlFlow_IncrementNodeExecutionCount_Call
- type ControlFlow_IncrementParallelism_Call
- func (_c *ControlFlow_IncrementParallelism_Call) Return(_a0 uint32) *ControlFlow_IncrementParallelism_Call
- func (_c *ControlFlow_IncrementParallelism_Call) Run(run func()) *ControlFlow_IncrementParallelism_Call
- func (_c *ControlFlow_IncrementParallelism_Call) RunAndReturn(run func() uint32) *ControlFlow_IncrementParallelism_Call
- type ControlFlow_IncrementTaskExecutionCount_Call
- func (_c *ControlFlow_IncrementTaskExecutionCount_Call) Return(_a0 uint32) *ControlFlow_IncrementTaskExecutionCount_Call
- func (_c *ControlFlow_IncrementTaskExecutionCount_Call) Run(run func()) *ControlFlow_IncrementTaskExecutionCount_Call
- func (_c *ControlFlow_IncrementTaskExecutionCount_Call) RunAndReturn(run func() uint32) *ControlFlow_IncrementTaskExecutionCount_Call
- type DAGStructure
- type DAGStructureWithStartNode
- func (_m *DAGStructureWithStartNode) EXPECT() *DAGStructureWithStartNode_Expecter
- func (_m *DAGStructureWithStartNode) FromNode(id string) ([]string, error)
- func (_m *DAGStructureWithStartNode) StartNode() v1alpha1.ExecutableNode
- func (_m *DAGStructureWithStartNode) ToNode(id string) ([]string, error)
- type DAGStructureWithStartNode_Expecter
- func (_e *DAGStructureWithStartNode_Expecter) FromNode(id interface{}) *DAGStructureWithStartNode_FromNode_Call
- func (_e *DAGStructureWithStartNode_Expecter) StartNode() *DAGStructureWithStartNode_StartNode_Call
- func (_e *DAGStructureWithStartNode_Expecter) ToNode(id interface{}) *DAGStructureWithStartNode_ToNode_Call
- type DAGStructureWithStartNode_FromNode_Call
- func (_c *DAGStructureWithStartNode_FromNode_Call) Return(_a0 []string, _a1 error) *DAGStructureWithStartNode_FromNode_Call
- func (_c *DAGStructureWithStartNode_FromNode_Call) Run(run func(id string)) *DAGStructureWithStartNode_FromNode_Call
- func (_c *DAGStructureWithStartNode_FromNode_Call) RunAndReturn(run func(string) ([]string, error)) *DAGStructureWithStartNode_FromNode_Call
- type DAGStructureWithStartNode_StartNode_Call
- func (_c *DAGStructureWithStartNode_StartNode_Call) Return(_a0 v1alpha1.ExecutableNode) *DAGStructureWithStartNode_StartNode_Call
- func (_c *DAGStructureWithStartNode_StartNode_Call) Run(run func()) *DAGStructureWithStartNode_StartNode_Call
- func (_c *DAGStructureWithStartNode_StartNode_Call) RunAndReturn(run func() v1alpha1.ExecutableNode) *DAGStructureWithStartNode_StartNode_Call
- type DAGStructureWithStartNode_ToNode_Call
- func (_c *DAGStructureWithStartNode_ToNode_Call) Return(_a0 []string, _a1 error) *DAGStructureWithStartNode_ToNode_Call
- func (_c *DAGStructureWithStartNode_ToNode_Call) Run(run func(id string)) *DAGStructureWithStartNode_ToNode_Call
- func (_c *DAGStructureWithStartNode_ToNode_Call) RunAndReturn(run func(string) ([]string, error)) *DAGStructureWithStartNode_ToNode_Call
- type DAGStructure_Expecter
- type DAGStructure_FromNode_Call
- func (_c *DAGStructure_FromNode_Call) Return(_a0 []string, _a1 error) *DAGStructure_FromNode_Call
- func (_c *DAGStructure_FromNode_Call) Run(run func(id string)) *DAGStructure_FromNode_Call
- func (_c *DAGStructure_FromNode_Call) RunAndReturn(run func(string) ([]string, error)) *DAGStructure_FromNode_Call
- type DAGStructure_ToNode_Call
- type ExecutionContext
- func (_m *ExecutionContext) CurrentNodeExecutionCount() uint32
- func (_m *ExecutionContext) CurrentParallelism() uint32
- func (_m *ExecutionContext) CurrentTaskExecutionCount() uint32
- func (_m *ExecutionContext) EXPECT() *ExecutionContext_Expecter
- func (_m *ExecutionContext) FindSubWorkflow(subID string) v1alpha1.ExecutableSubWorkflow
- func (_m *ExecutionContext) GetAnnotations() map[string]string
- func (_m *ExecutionContext) GetConsoleURL() string
- func (_m *ExecutionContext) GetCreationTimestamp() v1.Time
- func (_m *ExecutionContext) GetDefinitionVersion() v1alpha1.WorkflowDefinitionVersion
- func (_m *ExecutionContext) GetEventVersion() v1alpha1.EventVersion
- func (_m *ExecutionContext) GetExecutionConfig() v1alpha1.ExecutionConfig
- func (_m *ExecutionContext) GetExecutionID() v1alpha1.WorkflowExecutionIdentifier
- func (_m *ExecutionContext) GetID() string
- func (_m *ExecutionContext) GetK8sWorkflowID() types.NamespacedName
- func (_m *ExecutionContext) GetLabels() map[string]string
- func (_m *ExecutionContext) GetName() string
- func (_m *ExecutionContext) GetNamespace() string
- func (_m *ExecutionContext) GetOnFailurePolicy() v1alpha1.WorkflowOnFailurePolicy
- func (_m *ExecutionContext) GetOwnerReference() v1.OwnerReference
- func (_m *ExecutionContext) GetParentInfo() executors.ImmutableParentInfo
- func (_m *ExecutionContext) GetRawOutputDataConfig() v1alpha1.RawOutputDataConfig
- func (_m *ExecutionContext) GetSecurityContext() core.SecurityContext
- func (_m *ExecutionContext) GetServiceAccountName() string
- func (_m *ExecutionContext) GetTask(id string) (v1alpha1.ExecutableTask, error)
- func (_m *ExecutionContext) IncrementNodeExecutionCount() uint32
- func (_m *ExecutionContext) IncrementParallelism() uint32
- func (_m *ExecutionContext) IncrementTaskExecutionCount() uint32
- func (_m *ExecutionContext) IsInterruptible() bool
- type ExecutionContext_CurrentNodeExecutionCount_Call
- func (_c *ExecutionContext_CurrentNodeExecutionCount_Call) Return(_a0 uint32) *ExecutionContext_CurrentNodeExecutionCount_Call
- func (_c *ExecutionContext_CurrentNodeExecutionCount_Call) Run(run func()) *ExecutionContext_CurrentNodeExecutionCount_Call
- func (_c *ExecutionContext_CurrentNodeExecutionCount_Call) RunAndReturn(run func() uint32) *ExecutionContext_CurrentNodeExecutionCount_Call
- type ExecutionContext_CurrentParallelism_Call
- func (_c *ExecutionContext_CurrentParallelism_Call) Return(_a0 uint32) *ExecutionContext_CurrentParallelism_Call
- func (_c *ExecutionContext_CurrentParallelism_Call) Run(run func()) *ExecutionContext_CurrentParallelism_Call
- func (_c *ExecutionContext_CurrentParallelism_Call) RunAndReturn(run func() uint32) *ExecutionContext_CurrentParallelism_Call
- type ExecutionContext_CurrentTaskExecutionCount_Call
- func (_c *ExecutionContext_CurrentTaskExecutionCount_Call) Return(_a0 uint32) *ExecutionContext_CurrentTaskExecutionCount_Call
- func (_c *ExecutionContext_CurrentTaskExecutionCount_Call) Run(run func()) *ExecutionContext_CurrentTaskExecutionCount_Call
- func (_c *ExecutionContext_CurrentTaskExecutionCount_Call) RunAndReturn(run func() uint32) *ExecutionContext_CurrentTaskExecutionCount_Call
- type ExecutionContext_Expecter
- func (_e *ExecutionContext_Expecter) CurrentNodeExecutionCount() *ExecutionContext_CurrentNodeExecutionCount_Call
- func (_e *ExecutionContext_Expecter) CurrentParallelism() *ExecutionContext_CurrentParallelism_Call
- func (_e *ExecutionContext_Expecter) CurrentTaskExecutionCount() *ExecutionContext_CurrentTaskExecutionCount_Call
- func (_e *ExecutionContext_Expecter) FindSubWorkflow(subID interface{}) *ExecutionContext_FindSubWorkflow_Call
- func (_e *ExecutionContext_Expecter) GetAnnotations() *ExecutionContext_GetAnnotations_Call
- func (_e *ExecutionContext_Expecter) GetConsoleURL() *ExecutionContext_GetConsoleURL_Call
- func (_e *ExecutionContext_Expecter) GetCreationTimestamp() *ExecutionContext_GetCreationTimestamp_Call
- func (_e *ExecutionContext_Expecter) GetDefinitionVersion() *ExecutionContext_GetDefinitionVersion_Call
- func (_e *ExecutionContext_Expecter) GetEventVersion() *ExecutionContext_GetEventVersion_Call
- func (_e *ExecutionContext_Expecter) GetExecutionConfig() *ExecutionContext_GetExecutionConfig_Call
- func (_e *ExecutionContext_Expecter) GetExecutionID() *ExecutionContext_GetExecutionID_Call
- func (_e *ExecutionContext_Expecter) GetID() *ExecutionContext_GetID_Call
- func (_e *ExecutionContext_Expecter) GetK8sWorkflowID() *ExecutionContext_GetK8sWorkflowID_Call
- func (_e *ExecutionContext_Expecter) GetLabels() *ExecutionContext_GetLabels_Call
- func (_e *ExecutionContext_Expecter) GetName() *ExecutionContext_GetName_Call
- func (_e *ExecutionContext_Expecter) GetNamespace() *ExecutionContext_GetNamespace_Call
- func (_e *ExecutionContext_Expecter) GetOnFailurePolicy() *ExecutionContext_GetOnFailurePolicy_Call
- func (_e *ExecutionContext_Expecter) GetOwnerReference() *ExecutionContext_GetOwnerReference_Call
- func (_e *ExecutionContext_Expecter) GetParentInfo() *ExecutionContext_GetParentInfo_Call
- func (_e *ExecutionContext_Expecter) GetRawOutputDataConfig() *ExecutionContext_GetRawOutputDataConfig_Call
- func (_e *ExecutionContext_Expecter) GetSecurityContext() *ExecutionContext_GetSecurityContext_Call
- func (_e *ExecutionContext_Expecter) GetServiceAccountName() *ExecutionContext_GetServiceAccountName_Call
- func (_e *ExecutionContext_Expecter) GetTask(id interface{}) *ExecutionContext_GetTask_Call
- func (_e *ExecutionContext_Expecter) IncrementNodeExecutionCount() *ExecutionContext_IncrementNodeExecutionCount_Call
- func (_e *ExecutionContext_Expecter) IncrementParallelism() *ExecutionContext_IncrementParallelism_Call
- func (_e *ExecutionContext_Expecter) IncrementTaskExecutionCount() *ExecutionContext_IncrementTaskExecutionCount_Call
- func (_e *ExecutionContext_Expecter) IsInterruptible() *ExecutionContext_IsInterruptible_Call
- type ExecutionContext_FindSubWorkflow_Call
- func (_c *ExecutionContext_FindSubWorkflow_Call) Return(_a0 v1alpha1.ExecutableSubWorkflow) *ExecutionContext_FindSubWorkflow_Call
- func (_c *ExecutionContext_FindSubWorkflow_Call) Run(run func(subID string)) *ExecutionContext_FindSubWorkflow_Call
- func (_c *ExecutionContext_FindSubWorkflow_Call) RunAndReturn(run func(string) v1alpha1.ExecutableSubWorkflow) *ExecutionContext_FindSubWorkflow_Call
- type ExecutionContext_GetAnnotations_Call
- func (_c *ExecutionContext_GetAnnotations_Call) Return(_a0 map[string]string) *ExecutionContext_GetAnnotations_Call
- func (_c *ExecutionContext_GetAnnotations_Call) Run(run func()) *ExecutionContext_GetAnnotations_Call
- func (_c *ExecutionContext_GetAnnotations_Call) RunAndReturn(run func() map[string]string) *ExecutionContext_GetAnnotations_Call
- type ExecutionContext_GetConsoleURL_Call
- func (_c *ExecutionContext_GetConsoleURL_Call) Return(_a0 string) *ExecutionContext_GetConsoleURL_Call
- func (_c *ExecutionContext_GetConsoleURL_Call) Run(run func()) *ExecutionContext_GetConsoleURL_Call
- func (_c *ExecutionContext_GetConsoleURL_Call) RunAndReturn(run func() string) *ExecutionContext_GetConsoleURL_Call
- type ExecutionContext_GetCreationTimestamp_Call
- func (_c *ExecutionContext_GetCreationTimestamp_Call) Return(_a0 v1.Time) *ExecutionContext_GetCreationTimestamp_Call
- func (_c *ExecutionContext_GetCreationTimestamp_Call) Run(run func()) *ExecutionContext_GetCreationTimestamp_Call
- func (_c *ExecutionContext_GetCreationTimestamp_Call) RunAndReturn(run func() v1.Time) *ExecutionContext_GetCreationTimestamp_Call
- type ExecutionContext_GetDefinitionVersion_Call
- func (_c *ExecutionContext_GetDefinitionVersion_Call) Return(_a0 v1alpha1.WorkflowDefinitionVersion) *ExecutionContext_GetDefinitionVersion_Call
- func (_c *ExecutionContext_GetDefinitionVersion_Call) Run(run func()) *ExecutionContext_GetDefinitionVersion_Call
- func (_c *ExecutionContext_GetDefinitionVersion_Call) RunAndReturn(run func() v1alpha1.WorkflowDefinitionVersion) *ExecutionContext_GetDefinitionVersion_Call
- type ExecutionContext_GetEventVersion_Call
- func (_c *ExecutionContext_GetEventVersion_Call) Return(_a0 v1alpha1.EventVersion) *ExecutionContext_GetEventVersion_Call
- func (_c *ExecutionContext_GetEventVersion_Call) Run(run func()) *ExecutionContext_GetEventVersion_Call
- func (_c *ExecutionContext_GetEventVersion_Call) RunAndReturn(run func() v1alpha1.EventVersion) *ExecutionContext_GetEventVersion_Call
- type ExecutionContext_GetExecutionConfig_Call
- func (_c *ExecutionContext_GetExecutionConfig_Call) Return(_a0 v1alpha1.ExecutionConfig) *ExecutionContext_GetExecutionConfig_Call
- func (_c *ExecutionContext_GetExecutionConfig_Call) Run(run func()) *ExecutionContext_GetExecutionConfig_Call
- func (_c *ExecutionContext_GetExecutionConfig_Call) RunAndReturn(run func() v1alpha1.ExecutionConfig) *ExecutionContext_GetExecutionConfig_Call
- type ExecutionContext_GetExecutionID_Call
- func (_c *ExecutionContext_GetExecutionID_Call) Return(_a0 v1alpha1.WorkflowExecutionIdentifier) *ExecutionContext_GetExecutionID_Call
- func (_c *ExecutionContext_GetExecutionID_Call) Run(run func()) *ExecutionContext_GetExecutionID_Call
- func (_c *ExecutionContext_GetExecutionID_Call) RunAndReturn(run func() v1alpha1.WorkflowExecutionIdentifier) *ExecutionContext_GetExecutionID_Call
- type ExecutionContext_GetID_Call
- type ExecutionContext_GetK8sWorkflowID_Call
- func (_c *ExecutionContext_GetK8sWorkflowID_Call) Return(_a0 types.NamespacedName) *ExecutionContext_GetK8sWorkflowID_Call
- func (_c *ExecutionContext_GetK8sWorkflowID_Call) Run(run func()) *ExecutionContext_GetK8sWorkflowID_Call
- func (_c *ExecutionContext_GetK8sWorkflowID_Call) RunAndReturn(run func() types.NamespacedName) *ExecutionContext_GetK8sWorkflowID_Call
- type ExecutionContext_GetLabels_Call
- func (_c *ExecutionContext_GetLabels_Call) Return(_a0 map[string]string) *ExecutionContext_GetLabels_Call
- func (_c *ExecutionContext_GetLabels_Call) Run(run func()) *ExecutionContext_GetLabels_Call
- func (_c *ExecutionContext_GetLabels_Call) RunAndReturn(run func() map[string]string) *ExecutionContext_GetLabels_Call
- type ExecutionContext_GetName_Call
- type ExecutionContext_GetNamespace_Call
- func (_c *ExecutionContext_GetNamespace_Call) Return(_a0 string) *ExecutionContext_GetNamespace_Call
- func (_c *ExecutionContext_GetNamespace_Call) Run(run func()) *ExecutionContext_GetNamespace_Call
- func (_c *ExecutionContext_GetNamespace_Call) RunAndReturn(run func() string) *ExecutionContext_GetNamespace_Call
- type ExecutionContext_GetOnFailurePolicy_Call
- func (_c *ExecutionContext_GetOnFailurePolicy_Call) Return(_a0 v1alpha1.WorkflowOnFailurePolicy) *ExecutionContext_GetOnFailurePolicy_Call
- func (_c *ExecutionContext_GetOnFailurePolicy_Call) Run(run func()) *ExecutionContext_GetOnFailurePolicy_Call
- func (_c *ExecutionContext_GetOnFailurePolicy_Call) RunAndReturn(run func() v1alpha1.WorkflowOnFailurePolicy) *ExecutionContext_GetOnFailurePolicy_Call
- type ExecutionContext_GetOwnerReference_Call
- func (_c *ExecutionContext_GetOwnerReference_Call) Return(_a0 v1.OwnerReference) *ExecutionContext_GetOwnerReference_Call
- func (_c *ExecutionContext_GetOwnerReference_Call) Run(run func()) *ExecutionContext_GetOwnerReference_Call
- func (_c *ExecutionContext_GetOwnerReference_Call) RunAndReturn(run func() v1.OwnerReference) *ExecutionContext_GetOwnerReference_Call
- type ExecutionContext_GetParentInfo_Call
- func (_c *ExecutionContext_GetParentInfo_Call) Return(_a0 executors.ImmutableParentInfo) *ExecutionContext_GetParentInfo_Call
- func (_c *ExecutionContext_GetParentInfo_Call) Run(run func()) *ExecutionContext_GetParentInfo_Call
- func (_c *ExecutionContext_GetParentInfo_Call) RunAndReturn(run func() executors.ImmutableParentInfo) *ExecutionContext_GetParentInfo_Call
- type ExecutionContext_GetRawOutputDataConfig_Call
- func (_c *ExecutionContext_GetRawOutputDataConfig_Call) Return(_a0 v1alpha1.RawOutputDataConfig) *ExecutionContext_GetRawOutputDataConfig_Call
- func (_c *ExecutionContext_GetRawOutputDataConfig_Call) Run(run func()) *ExecutionContext_GetRawOutputDataConfig_Call
- func (_c *ExecutionContext_GetRawOutputDataConfig_Call) RunAndReturn(run func() v1alpha1.RawOutputDataConfig) *ExecutionContext_GetRawOutputDataConfig_Call
- type ExecutionContext_GetSecurityContext_Call
- func (_c *ExecutionContext_GetSecurityContext_Call) Return(_a0 core.SecurityContext) *ExecutionContext_GetSecurityContext_Call
- func (_c *ExecutionContext_GetSecurityContext_Call) Run(run func()) *ExecutionContext_GetSecurityContext_Call
- func (_c *ExecutionContext_GetSecurityContext_Call) RunAndReturn(run func() core.SecurityContext) *ExecutionContext_GetSecurityContext_Call
- type ExecutionContext_GetServiceAccountName_Call
- func (_c *ExecutionContext_GetServiceAccountName_Call) Return(_a0 string) *ExecutionContext_GetServiceAccountName_Call
- func (_c *ExecutionContext_GetServiceAccountName_Call) Run(run func()) *ExecutionContext_GetServiceAccountName_Call
- func (_c *ExecutionContext_GetServiceAccountName_Call) RunAndReturn(run func() string) *ExecutionContext_GetServiceAccountName_Call
- type ExecutionContext_GetTask_Call
- func (_c *ExecutionContext_GetTask_Call) Return(_a0 v1alpha1.ExecutableTask, _a1 error) *ExecutionContext_GetTask_Call
- func (_c *ExecutionContext_GetTask_Call) Run(run func(id string)) *ExecutionContext_GetTask_Call
- func (_c *ExecutionContext_GetTask_Call) RunAndReturn(run func(string) (v1alpha1.ExecutableTask, error)) *ExecutionContext_GetTask_Call
- type ExecutionContext_IncrementNodeExecutionCount_Call
- func (_c *ExecutionContext_IncrementNodeExecutionCount_Call) Return(_a0 uint32) *ExecutionContext_IncrementNodeExecutionCount_Call
- func (_c *ExecutionContext_IncrementNodeExecutionCount_Call) Run(run func()) *ExecutionContext_IncrementNodeExecutionCount_Call
- func (_c *ExecutionContext_IncrementNodeExecutionCount_Call) RunAndReturn(run func() uint32) *ExecutionContext_IncrementNodeExecutionCount_Call
- type ExecutionContext_IncrementParallelism_Call
- func (_c *ExecutionContext_IncrementParallelism_Call) Return(_a0 uint32) *ExecutionContext_IncrementParallelism_Call
- func (_c *ExecutionContext_IncrementParallelism_Call) Run(run func()) *ExecutionContext_IncrementParallelism_Call
- func (_c *ExecutionContext_IncrementParallelism_Call) RunAndReturn(run func() uint32) *ExecutionContext_IncrementParallelism_Call
- type ExecutionContext_IncrementTaskExecutionCount_Call
- func (_c *ExecutionContext_IncrementTaskExecutionCount_Call) Return(_a0 uint32) *ExecutionContext_IncrementTaskExecutionCount_Call
- func (_c *ExecutionContext_IncrementTaskExecutionCount_Call) Run(run func()) *ExecutionContext_IncrementTaskExecutionCount_Call
- func (_c *ExecutionContext_IncrementTaskExecutionCount_Call) RunAndReturn(run func() uint32) *ExecutionContext_IncrementTaskExecutionCount_Call
- type ExecutionContext_IsInterruptible_Call
- func (_c *ExecutionContext_IsInterruptible_Call) Return(_a0 bool) *ExecutionContext_IsInterruptible_Call
- func (_c *ExecutionContext_IsInterruptible_Call) Run(run func()) *ExecutionContext_IsInterruptible_Call
- func (_c *ExecutionContext_IsInterruptible_Call) RunAndReturn(run func() bool) *ExecutionContext_IsInterruptible_Call
- type FakeInformers
- func (f *FakeInformers) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (f *FakeInformers) GetInformer(ctx context.Context, obj client.Object, opts ...cache.InformerGetOption) (cache.Informer, error)
- func (f *FakeInformers) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind, ...) (cache.Informer, error)
- func (f *FakeInformers) IndexField(ctx context.Context, obj client.Object, field string, ...) error
- func (f *FakeInformers) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (f *FakeInformers) Start(ctx context.Context) error
- func (f *FakeInformers) WaitForCacheSync(ctx context.Context) bool
- type ImmutableExecutionContext
- func (_m *ImmutableExecutionContext) EXPECT() *ImmutableExecutionContext_Expecter
- func (_m *ImmutableExecutionContext) GetAnnotations() map[string]string
- func (_m *ImmutableExecutionContext) GetConsoleURL() string
- func (_m *ImmutableExecutionContext) GetCreationTimestamp() v1.Time
- func (_m *ImmutableExecutionContext) GetDefinitionVersion() v1alpha1.WorkflowDefinitionVersion
- func (_m *ImmutableExecutionContext) GetEventVersion() v1alpha1.EventVersion
- func (_m *ImmutableExecutionContext) GetExecutionConfig() v1alpha1.ExecutionConfig
- func (_m *ImmutableExecutionContext) GetExecutionID() v1alpha1.WorkflowExecutionIdentifier
- func (_m *ImmutableExecutionContext) GetID() string
- func (_m *ImmutableExecutionContext) GetK8sWorkflowID() types.NamespacedName
- func (_m *ImmutableExecutionContext) GetLabels() map[string]string
- func (_m *ImmutableExecutionContext) GetName() string
- func (_m *ImmutableExecutionContext) GetNamespace() string
- func (_m *ImmutableExecutionContext) GetOnFailurePolicy() v1alpha1.WorkflowOnFailurePolicy
- func (_m *ImmutableExecutionContext) GetOwnerReference() v1.OwnerReference
- func (_m *ImmutableExecutionContext) GetRawOutputDataConfig() v1alpha1.RawOutputDataConfig
- func (_m *ImmutableExecutionContext) GetSecurityContext() core.SecurityContext
- func (_m *ImmutableExecutionContext) GetServiceAccountName() string
- func (_m *ImmutableExecutionContext) IsInterruptible() bool
- type ImmutableExecutionContext_Expecter
- func (_e *ImmutableExecutionContext_Expecter) GetAnnotations() *ImmutableExecutionContext_GetAnnotations_Call
- func (_e *ImmutableExecutionContext_Expecter) GetConsoleURL() *ImmutableExecutionContext_GetConsoleURL_Call
- func (_e *ImmutableExecutionContext_Expecter) GetCreationTimestamp() *ImmutableExecutionContext_GetCreationTimestamp_Call
- func (_e *ImmutableExecutionContext_Expecter) GetDefinitionVersion() *ImmutableExecutionContext_GetDefinitionVersion_Call
- func (_e *ImmutableExecutionContext_Expecter) GetEventVersion() *ImmutableExecutionContext_GetEventVersion_Call
- func (_e *ImmutableExecutionContext_Expecter) GetExecutionConfig() *ImmutableExecutionContext_GetExecutionConfig_Call
- func (_e *ImmutableExecutionContext_Expecter) GetExecutionID() *ImmutableExecutionContext_GetExecutionID_Call
- func (_e *ImmutableExecutionContext_Expecter) GetID() *ImmutableExecutionContext_GetID_Call
- func (_e *ImmutableExecutionContext_Expecter) GetK8sWorkflowID() *ImmutableExecutionContext_GetK8sWorkflowID_Call
- func (_e *ImmutableExecutionContext_Expecter) GetLabels() *ImmutableExecutionContext_GetLabels_Call
- func (_e *ImmutableExecutionContext_Expecter) GetName() *ImmutableExecutionContext_GetName_Call
- func (_e *ImmutableExecutionContext_Expecter) GetNamespace() *ImmutableExecutionContext_GetNamespace_Call
- func (_e *ImmutableExecutionContext_Expecter) GetOnFailurePolicy() *ImmutableExecutionContext_GetOnFailurePolicy_Call
- func (_e *ImmutableExecutionContext_Expecter) GetOwnerReference() *ImmutableExecutionContext_GetOwnerReference_Call
- func (_e *ImmutableExecutionContext_Expecter) GetRawOutputDataConfig() *ImmutableExecutionContext_GetRawOutputDataConfig_Call
- func (_e *ImmutableExecutionContext_Expecter) GetSecurityContext() *ImmutableExecutionContext_GetSecurityContext_Call
- func (_e *ImmutableExecutionContext_Expecter) GetServiceAccountName() *ImmutableExecutionContext_GetServiceAccountName_Call
- func (_e *ImmutableExecutionContext_Expecter) IsInterruptible() *ImmutableExecutionContext_IsInterruptible_Call
- type ImmutableExecutionContext_GetAnnotations_Call
- func (_c *ImmutableExecutionContext_GetAnnotations_Call) Return(_a0 map[string]string) *ImmutableExecutionContext_GetAnnotations_Call
- func (_c *ImmutableExecutionContext_GetAnnotations_Call) Run(run func()) *ImmutableExecutionContext_GetAnnotations_Call
- func (_c *ImmutableExecutionContext_GetAnnotations_Call) RunAndReturn(run func() map[string]string) *ImmutableExecutionContext_GetAnnotations_Call
- type ImmutableExecutionContext_GetConsoleURL_Call
- func (_c *ImmutableExecutionContext_GetConsoleURL_Call) Return(_a0 string) *ImmutableExecutionContext_GetConsoleURL_Call
- func (_c *ImmutableExecutionContext_GetConsoleURL_Call) Run(run func()) *ImmutableExecutionContext_GetConsoleURL_Call
- func (_c *ImmutableExecutionContext_GetConsoleURL_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetConsoleURL_Call
- type ImmutableExecutionContext_GetCreationTimestamp_Call
- func (_c *ImmutableExecutionContext_GetCreationTimestamp_Call) Return(_a0 v1.Time) *ImmutableExecutionContext_GetCreationTimestamp_Call
- func (_c *ImmutableExecutionContext_GetCreationTimestamp_Call) Run(run func()) *ImmutableExecutionContext_GetCreationTimestamp_Call
- func (_c *ImmutableExecutionContext_GetCreationTimestamp_Call) RunAndReturn(run func() v1.Time) *ImmutableExecutionContext_GetCreationTimestamp_Call
- type ImmutableExecutionContext_GetDefinitionVersion_Call
- func (_c *ImmutableExecutionContext_GetDefinitionVersion_Call) Return(_a0 v1alpha1.WorkflowDefinitionVersion) *ImmutableExecutionContext_GetDefinitionVersion_Call
- func (_c *ImmutableExecutionContext_GetDefinitionVersion_Call) Run(run func()) *ImmutableExecutionContext_GetDefinitionVersion_Call
- func (_c *ImmutableExecutionContext_GetDefinitionVersion_Call) RunAndReturn(run func() v1alpha1.WorkflowDefinitionVersion) *ImmutableExecutionContext_GetDefinitionVersion_Call
- type ImmutableExecutionContext_GetEventVersion_Call
- func (_c *ImmutableExecutionContext_GetEventVersion_Call) Return(_a0 v1alpha1.EventVersion) *ImmutableExecutionContext_GetEventVersion_Call
- func (_c *ImmutableExecutionContext_GetEventVersion_Call) Run(run func()) *ImmutableExecutionContext_GetEventVersion_Call
- func (_c *ImmutableExecutionContext_GetEventVersion_Call) RunAndReturn(run func() v1alpha1.EventVersion) *ImmutableExecutionContext_GetEventVersion_Call
- type ImmutableExecutionContext_GetExecutionConfig_Call
- func (_c *ImmutableExecutionContext_GetExecutionConfig_Call) Return(_a0 v1alpha1.ExecutionConfig) *ImmutableExecutionContext_GetExecutionConfig_Call
- func (_c *ImmutableExecutionContext_GetExecutionConfig_Call) Run(run func()) *ImmutableExecutionContext_GetExecutionConfig_Call
- func (_c *ImmutableExecutionContext_GetExecutionConfig_Call) RunAndReturn(run func() v1alpha1.ExecutionConfig) *ImmutableExecutionContext_GetExecutionConfig_Call
- type ImmutableExecutionContext_GetExecutionID_Call
- func (_c *ImmutableExecutionContext_GetExecutionID_Call) Return(_a0 v1alpha1.WorkflowExecutionIdentifier) *ImmutableExecutionContext_GetExecutionID_Call
- func (_c *ImmutableExecutionContext_GetExecutionID_Call) Run(run func()) *ImmutableExecutionContext_GetExecutionID_Call
- func (_c *ImmutableExecutionContext_GetExecutionID_Call) RunAndReturn(run func() v1alpha1.WorkflowExecutionIdentifier) *ImmutableExecutionContext_GetExecutionID_Call
- type ImmutableExecutionContext_GetID_Call
- func (_c *ImmutableExecutionContext_GetID_Call) Return(_a0 string) *ImmutableExecutionContext_GetID_Call
- func (_c *ImmutableExecutionContext_GetID_Call) Run(run func()) *ImmutableExecutionContext_GetID_Call
- func (_c *ImmutableExecutionContext_GetID_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetID_Call
- type ImmutableExecutionContext_GetK8sWorkflowID_Call
- func (_c *ImmutableExecutionContext_GetK8sWorkflowID_Call) Return(_a0 types.NamespacedName) *ImmutableExecutionContext_GetK8sWorkflowID_Call
- func (_c *ImmutableExecutionContext_GetK8sWorkflowID_Call) Run(run func()) *ImmutableExecutionContext_GetK8sWorkflowID_Call
- func (_c *ImmutableExecutionContext_GetK8sWorkflowID_Call) RunAndReturn(run func() types.NamespacedName) *ImmutableExecutionContext_GetK8sWorkflowID_Call
- type ImmutableExecutionContext_GetLabels_Call
- func (_c *ImmutableExecutionContext_GetLabels_Call) Return(_a0 map[string]string) *ImmutableExecutionContext_GetLabels_Call
- func (_c *ImmutableExecutionContext_GetLabels_Call) Run(run func()) *ImmutableExecutionContext_GetLabels_Call
- func (_c *ImmutableExecutionContext_GetLabels_Call) RunAndReturn(run func() map[string]string) *ImmutableExecutionContext_GetLabels_Call
- type ImmutableExecutionContext_GetName_Call
- func (_c *ImmutableExecutionContext_GetName_Call) Return(_a0 string) *ImmutableExecutionContext_GetName_Call
- func (_c *ImmutableExecutionContext_GetName_Call) Run(run func()) *ImmutableExecutionContext_GetName_Call
- func (_c *ImmutableExecutionContext_GetName_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetName_Call
- type ImmutableExecutionContext_GetNamespace_Call
- func (_c *ImmutableExecutionContext_GetNamespace_Call) Return(_a0 string) *ImmutableExecutionContext_GetNamespace_Call
- func (_c *ImmutableExecutionContext_GetNamespace_Call) Run(run func()) *ImmutableExecutionContext_GetNamespace_Call
- func (_c *ImmutableExecutionContext_GetNamespace_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetNamespace_Call
- type ImmutableExecutionContext_GetOnFailurePolicy_Call
- func (_c *ImmutableExecutionContext_GetOnFailurePolicy_Call) Return(_a0 v1alpha1.WorkflowOnFailurePolicy) *ImmutableExecutionContext_GetOnFailurePolicy_Call
- func (_c *ImmutableExecutionContext_GetOnFailurePolicy_Call) Run(run func()) *ImmutableExecutionContext_GetOnFailurePolicy_Call
- func (_c *ImmutableExecutionContext_GetOnFailurePolicy_Call) RunAndReturn(run func() v1alpha1.WorkflowOnFailurePolicy) *ImmutableExecutionContext_GetOnFailurePolicy_Call
- type ImmutableExecutionContext_GetOwnerReference_Call
- func (_c *ImmutableExecutionContext_GetOwnerReference_Call) Return(_a0 v1.OwnerReference) *ImmutableExecutionContext_GetOwnerReference_Call
- func (_c *ImmutableExecutionContext_GetOwnerReference_Call) Run(run func()) *ImmutableExecutionContext_GetOwnerReference_Call
- func (_c *ImmutableExecutionContext_GetOwnerReference_Call) RunAndReturn(run func() v1.OwnerReference) *ImmutableExecutionContext_GetOwnerReference_Call
- type ImmutableExecutionContext_GetRawOutputDataConfig_Call
- func (_c *ImmutableExecutionContext_GetRawOutputDataConfig_Call) Return(_a0 v1alpha1.RawOutputDataConfig) *ImmutableExecutionContext_GetRawOutputDataConfig_Call
- func (_c *ImmutableExecutionContext_GetRawOutputDataConfig_Call) Run(run func()) *ImmutableExecutionContext_GetRawOutputDataConfig_Call
- func (_c *ImmutableExecutionContext_GetRawOutputDataConfig_Call) RunAndReturn(run func() v1alpha1.RawOutputDataConfig) *ImmutableExecutionContext_GetRawOutputDataConfig_Call
- type ImmutableExecutionContext_GetSecurityContext_Call
- func (_c *ImmutableExecutionContext_GetSecurityContext_Call) Return(_a0 core.SecurityContext) *ImmutableExecutionContext_GetSecurityContext_Call
- func (_c *ImmutableExecutionContext_GetSecurityContext_Call) Run(run func()) *ImmutableExecutionContext_GetSecurityContext_Call
- func (_c *ImmutableExecutionContext_GetSecurityContext_Call) RunAndReturn(run func() core.SecurityContext) *ImmutableExecutionContext_GetSecurityContext_Call
- type ImmutableExecutionContext_GetServiceAccountName_Call
- func (_c *ImmutableExecutionContext_GetServiceAccountName_Call) Return(_a0 string) *ImmutableExecutionContext_GetServiceAccountName_Call
- func (_c *ImmutableExecutionContext_GetServiceAccountName_Call) Run(run func()) *ImmutableExecutionContext_GetServiceAccountName_Call
- func (_c *ImmutableExecutionContext_GetServiceAccountName_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetServiceAccountName_Call
- type ImmutableExecutionContext_IsInterruptible_Call
- func (_c *ImmutableExecutionContext_IsInterruptible_Call) Return(_a0 bool) *ImmutableExecutionContext_IsInterruptible_Call
- func (_c *ImmutableExecutionContext_IsInterruptible_Call) Run(run func()) *ImmutableExecutionContext_IsInterruptible_Call
- func (_c *ImmutableExecutionContext_IsInterruptible_Call) RunAndReturn(run func() bool) *ImmutableExecutionContext_IsInterruptible_Call
- type ImmutableParentInfo
- type ImmutableParentInfo_CurrentAttempt_Call
- func (_c *ImmutableParentInfo_CurrentAttempt_Call) Return(_a0 uint32) *ImmutableParentInfo_CurrentAttempt_Call
- func (_c *ImmutableParentInfo_CurrentAttempt_Call) Run(run func()) *ImmutableParentInfo_CurrentAttempt_Call
- func (_c *ImmutableParentInfo_CurrentAttempt_Call) RunAndReturn(run func() uint32) *ImmutableParentInfo_CurrentAttempt_Call
- type ImmutableParentInfo_Expecter
- type ImmutableParentInfo_GetUniqueID_Call
- func (_c *ImmutableParentInfo_GetUniqueID_Call) Return(_a0 string) *ImmutableParentInfo_GetUniqueID_Call
- func (_c *ImmutableParentInfo_GetUniqueID_Call) Run(run func()) *ImmutableParentInfo_GetUniqueID_Call
- func (_c *ImmutableParentInfo_GetUniqueID_Call) RunAndReturn(run func() string) *ImmutableParentInfo_GetUniqueID_Call
- type ImmutableParentInfo_IsInDynamicChain_Call
- func (_c *ImmutableParentInfo_IsInDynamicChain_Call) Return(_a0 bool) *ImmutableParentInfo_IsInDynamicChain_Call
- func (_c *ImmutableParentInfo_IsInDynamicChain_Call) Run(run func()) *ImmutableParentInfo_IsInDynamicChain_Call
- func (_c *ImmutableParentInfo_IsInDynamicChain_Call) RunAndReturn(run func() bool) *ImmutableParentInfo_IsInDynamicChain_Call
- type NodeLookup
- func (_m *NodeLookup) EXPECT() *NodeLookup_Expecter
- func (_m *NodeLookup) FromNode(id string) ([]string, error)
- func (_m *NodeLookup) GetNode(nodeID string) (v1alpha1.ExecutableNode, bool)
- func (_m *NodeLookup) GetNodeExecutionStatus(ctx context.Context, id string) v1alpha1.ExecutableNodeStatus
- func (_m *NodeLookup) ToNode(id string) ([]string, error)
- type NodeLookup_Expecter
- func (_e *NodeLookup_Expecter) FromNode(id interface{}) *NodeLookup_FromNode_Call
- func (_e *NodeLookup_Expecter) GetNode(nodeID interface{}) *NodeLookup_GetNode_Call
- func (_e *NodeLookup_Expecter) GetNodeExecutionStatus(ctx interface{}, id interface{}) *NodeLookup_GetNodeExecutionStatus_Call
- func (_e *NodeLookup_Expecter) ToNode(id interface{}) *NodeLookup_ToNode_Call
- type NodeLookup_FromNode_Call
- type NodeLookup_GetNodeExecutionStatus_Call
- func (_c *NodeLookup_GetNodeExecutionStatus_Call) Return(_a0 v1alpha1.ExecutableNodeStatus) *NodeLookup_GetNodeExecutionStatus_Call
- func (_c *NodeLookup_GetNodeExecutionStatus_Call) Run(run func(ctx context.Context, id string)) *NodeLookup_GetNodeExecutionStatus_Call
- func (_c *NodeLookup_GetNodeExecutionStatus_Call) RunAndReturn(run func(context.Context, string) v1alpha1.ExecutableNodeStatus) *NodeLookup_GetNodeExecutionStatus_Call
- type NodeLookup_GetNode_Call
- func (_c *NodeLookup_GetNode_Call) Return(_a0 v1alpha1.ExecutableNode, _a1 bool) *NodeLookup_GetNode_Call
- func (_c *NodeLookup_GetNode_Call) Run(run func(nodeID string)) *NodeLookup_GetNode_Call
- func (_c *NodeLookup_GetNode_Call) RunAndReturn(run func(string) (v1alpha1.ExecutableNode, bool)) *NodeLookup_GetNode_Call
- type NodeLookup_ToNode_Call
- type ParentInfoGetter
- type ParentInfoGetter_Expecter
- type ParentInfoGetter_GetParentInfo_Call
- func (_c *ParentInfoGetter_GetParentInfo_Call) Return(_a0 executors.ImmutableParentInfo) *ParentInfoGetter_GetParentInfo_Call
- func (_c *ParentInfoGetter_GetParentInfo_Call) Run(run func()) *ParentInfoGetter_GetParentInfo_Call
- func (_c *ParentInfoGetter_GetParentInfo_Call) RunAndReturn(run func() executors.ImmutableParentInfo) *ParentInfoGetter_GetParentInfo_Call
- type SubWorkflowGetter
- type SubWorkflowGetter_Expecter
- type SubWorkflowGetter_FindSubWorkflow_Call
- func (_c *SubWorkflowGetter_FindSubWorkflow_Call) Return(_a0 v1alpha1.ExecutableSubWorkflow) *SubWorkflowGetter_FindSubWorkflow_Call
- func (_c *SubWorkflowGetter_FindSubWorkflow_Call) Run(run func(subID string)) *SubWorkflowGetter_FindSubWorkflow_Call
- func (_c *SubWorkflowGetter_FindSubWorkflow_Call) RunAndReturn(run func(string) v1alpha1.ExecutableSubWorkflow) *SubWorkflowGetter_FindSubWorkflow_Call
- type TaskDetailsGetter
- type TaskDetailsGetter_Expecter
- type TaskDetailsGetter_GetTask_Call
- func (_c *TaskDetailsGetter_GetTask_Call) Return(_a0 v1alpha1.ExecutableTask, _a1 error) *TaskDetailsGetter_GetTask_Call
- func (_c *TaskDetailsGetter_GetTask_Call) Run(run func(id string)) *TaskDetailsGetter_GetTask_Call
- func (_c *TaskDetailsGetter_GetTask_Call) RunAndReturn(run func(string) (v1alpha1.ExecutableTask, error)) *TaskDetailsGetter_GetTask_Call
- type Workflow
- func (_m *Workflow) EXPECT() *Workflow_Expecter
- func (_m *Workflow) HandleAbortedWorkflow(ctx context.Context, w *v1alpha1.FlyteWorkflow, maxRetries uint32) error
- func (_m *Workflow) HandleFlyteWorkflow(ctx context.Context, w *v1alpha1.FlyteWorkflow) error
- func (_m *Workflow) Initialize(ctx context.Context) error
- type Workflow_Expecter
- func (_e *Workflow_Expecter) HandleAbortedWorkflow(ctx interface{}, w interface{}, maxRetries interface{}) *Workflow_HandleAbortedWorkflow_Call
- func (_e *Workflow_Expecter) HandleFlyteWorkflow(ctx interface{}, w interface{}) *Workflow_HandleFlyteWorkflow_Call
- func (_e *Workflow_Expecter) Initialize(ctx interface{}) *Workflow_Initialize_Call
- type Workflow_HandleAbortedWorkflow_Call
- func (_c *Workflow_HandleAbortedWorkflow_Call) Return(_a0 error) *Workflow_HandleAbortedWorkflow_Call
- func (_c *Workflow_HandleAbortedWorkflow_Call) Run(run func(ctx context.Context, w *v1alpha1.FlyteWorkflow, maxRetries uint32)) *Workflow_HandleAbortedWorkflow_Call
- func (_c *Workflow_HandleAbortedWorkflow_Call) RunAndReturn(run func(context.Context, *v1alpha1.FlyteWorkflow, uint32) error) *Workflow_HandleAbortedWorkflow_Call
- type Workflow_HandleFlyteWorkflow_Call
- func (_c *Workflow_HandleFlyteWorkflow_Call) Return(_a0 error) *Workflow_HandleFlyteWorkflow_Call
- func (_c *Workflow_HandleFlyteWorkflow_Call) Run(run func(ctx context.Context, w *v1alpha1.FlyteWorkflow)) *Workflow_HandleFlyteWorkflow_Call
- func (_c *Workflow_HandleFlyteWorkflow_Call) RunAndReturn(run func(context.Context, *v1alpha1.FlyteWorkflow) error) *Workflow_HandleFlyteWorkflow_Call
- type Workflow_Initialize_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶ added in v1.15.1
NewClient creates a new instance of Client. 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 NewFakeKubeClient ¶
func NewFakeKubeClient() *Client
func (*Client) EXPECT ¶ added in v1.15.1
func (_m *Client) EXPECT() *Client_Expecter
type Client_Expecter ¶ added in v1.15.1
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) GetCache ¶ added in v1.15.1
func (_e *Client_Expecter) GetCache() *Client_GetCache_Call
GetCache is a helper method to define mock.On call
func (*Client_Expecter) GetClient ¶ added in v1.15.1
func (_e *Client_Expecter) GetClient() *Client_GetClient_Call
GetClient is a helper method to define mock.On call
type Client_GetCache_Call ¶ added in v1.15.1
Client_GetCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCache'
func (*Client_GetCache_Call) Return ¶ added in v1.15.1
func (_c *Client_GetCache_Call) Return(_a0 cache.Cache) *Client_GetCache_Call
func (*Client_GetCache_Call) Run ¶ added in v1.15.1
func (_c *Client_GetCache_Call) Run(run func()) *Client_GetCache_Call
func (*Client_GetCache_Call) RunAndReturn ¶ added in v1.15.1
func (_c *Client_GetCache_Call) RunAndReturn(run func() cache.Cache) *Client_GetCache_Call
type Client_GetClient_Call ¶ added in v1.15.1
Client_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'
func (*Client_GetClient_Call) Return ¶ added in v1.15.1
func (_c *Client_GetClient_Call) Return(_a0 client.Client) *Client_GetClient_Call
func (*Client_GetClient_Call) Run ¶ added in v1.15.1
func (_c *Client_GetClient_Call) Run(run func()) *Client_GetClient_Call
func (*Client_GetClient_Call) RunAndReturn ¶ added in v1.15.1
func (_c *Client_GetClient_Call) RunAndReturn(run func() client.Client) *Client_GetClient_Call
type ControlFlow ¶
ControlFlow is an autogenerated mock type for the ControlFlow type
func NewControlFlow ¶ added in v1.15.1
func NewControlFlow(t interface {
mock.TestingT
Cleanup(func())
}) *ControlFlow
NewControlFlow creates a new instance of ControlFlow. 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 (*ControlFlow) CurrentNodeExecutionCount ¶ added in v1.13.1
func (_m *ControlFlow) CurrentNodeExecutionCount() uint32
CurrentNodeExecutionCount provides a mock function with no fields
func (*ControlFlow) CurrentParallelism ¶
func (_m *ControlFlow) CurrentParallelism() uint32
CurrentParallelism provides a mock function with no fields
func (*ControlFlow) CurrentTaskExecutionCount ¶ added in v1.13.1
func (_m *ControlFlow) CurrentTaskExecutionCount() uint32
CurrentTaskExecutionCount provides a mock function with no fields
func (*ControlFlow) EXPECT ¶ added in v1.15.1
func (_m *ControlFlow) EXPECT() *ControlFlow_Expecter
func (*ControlFlow) IncrementNodeExecutionCount ¶ added in v1.13.1
func (_m *ControlFlow) IncrementNodeExecutionCount() uint32
IncrementNodeExecutionCount provides a mock function with no fields
func (*ControlFlow) IncrementParallelism ¶
func (_m *ControlFlow) IncrementParallelism() uint32
IncrementParallelism provides a mock function with no fields
func (*ControlFlow) IncrementTaskExecutionCount ¶ added in v1.13.1
func (_m *ControlFlow) IncrementTaskExecutionCount() uint32
IncrementTaskExecutionCount provides a mock function with no fields
type ControlFlow_CurrentNodeExecutionCount_Call ¶ added in v1.15.1
ControlFlow_CurrentNodeExecutionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentNodeExecutionCount'
func (*ControlFlow_CurrentNodeExecutionCount_Call) Return ¶ added in v1.15.1
func (_c *ControlFlow_CurrentNodeExecutionCount_Call) Return(_a0 uint32) *ControlFlow_CurrentNodeExecutionCount_Call
func (*ControlFlow_CurrentNodeExecutionCount_Call) Run ¶ added in v1.15.1
func (_c *ControlFlow_CurrentNodeExecutionCount_Call) Run(run func()) *ControlFlow_CurrentNodeExecutionCount_Call
func (*ControlFlow_CurrentNodeExecutionCount_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ControlFlow_CurrentNodeExecutionCount_Call) RunAndReturn(run func() uint32) *ControlFlow_CurrentNodeExecutionCount_Call
type ControlFlow_CurrentParallelism_Call ¶ added in v1.15.1
ControlFlow_CurrentParallelism_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentParallelism'
func (*ControlFlow_CurrentParallelism_Call) Return ¶ added in v1.15.1
func (_c *ControlFlow_CurrentParallelism_Call) Return(_a0 uint32) *ControlFlow_CurrentParallelism_Call
func (*ControlFlow_CurrentParallelism_Call) Run ¶ added in v1.15.1
func (_c *ControlFlow_CurrentParallelism_Call) Run(run func()) *ControlFlow_CurrentParallelism_Call
func (*ControlFlow_CurrentParallelism_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ControlFlow_CurrentParallelism_Call) RunAndReturn(run func() uint32) *ControlFlow_CurrentParallelism_Call
type ControlFlow_CurrentTaskExecutionCount_Call ¶ added in v1.15.1
ControlFlow_CurrentTaskExecutionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentTaskExecutionCount'
func (*ControlFlow_CurrentTaskExecutionCount_Call) Return ¶ added in v1.15.1
func (_c *ControlFlow_CurrentTaskExecutionCount_Call) Return(_a0 uint32) *ControlFlow_CurrentTaskExecutionCount_Call
func (*ControlFlow_CurrentTaskExecutionCount_Call) Run ¶ added in v1.15.1
func (_c *ControlFlow_CurrentTaskExecutionCount_Call) Run(run func()) *ControlFlow_CurrentTaskExecutionCount_Call
func (*ControlFlow_CurrentTaskExecutionCount_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ControlFlow_CurrentTaskExecutionCount_Call) RunAndReturn(run func() uint32) *ControlFlow_CurrentTaskExecutionCount_Call
type ControlFlow_Expecter ¶ added in v1.15.1
type ControlFlow_Expecter struct {
// contains filtered or unexported fields
}
func (*ControlFlow_Expecter) CurrentNodeExecutionCount ¶ added in v1.15.1
func (_e *ControlFlow_Expecter) CurrentNodeExecutionCount() *ControlFlow_CurrentNodeExecutionCount_Call
CurrentNodeExecutionCount is a helper method to define mock.On call
func (*ControlFlow_Expecter) CurrentParallelism ¶ added in v1.15.1
func (_e *ControlFlow_Expecter) CurrentParallelism() *ControlFlow_CurrentParallelism_Call
CurrentParallelism is a helper method to define mock.On call
func (*ControlFlow_Expecter) CurrentTaskExecutionCount ¶ added in v1.15.1
func (_e *ControlFlow_Expecter) CurrentTaskExecutionCount() *ControlFlow_CurrentTaskExecutionCount_Call
CurrentTaskExecutionCount is a helper method to define mock.On call
func (*ControlFlow_Expecter) IncrementNodeExecutionCount ¶ added in v1.15.1
func (_e *ControlFlow_Expecter) IncrementNodeExecutionCount() *ControlFlow_IncrementNodeExecutionCount_Call
IncrementNodeExecutionCount is a helper method to define mock.On call
func (*ControlFlow_Expecter) IncrementParallelism ¶ added in v1.15.1
func (_e *ControlFlow_Expecter) IncrementParallelism() *ControlFlow_IncrementParallelism_Call
IncrementParallelism is a helper method to define mock.On call
func (*ControlFlow_Expecter) IncrementTaskExecutionCount ¶ added in v1.15.1
func (_e *ControlFlow_Expecter) IncrementTaskExecutionCount() *ControlFlow_IncrementTaskExecutionCount_Call
IncrementTaskExecutionCount is a helper method to define mock.On call
type ControlFlow_IncrementNodeExecutionCount_Call ¶ added in v1.15.1
ControlFlow_IncrementNodeExecutionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementNodeExecutionCount'
func (*ControlFlow_IncrementNodeExecutionCount_Call) Return ¶ added in v1.15.1
func (_c *ControlFlow_IncrementNodeExecutionCount_Call) Return(_a0 uint32) *ControlFlow_IncrementNodeExecutionCount_Call
func (*ControlFlow_IncrementNodeExecutionCount_Call) Run ¶ added in v1.15.1
func (_c *ControlFlow_IncrementNodeExecutionCount_Call) Run(run func()) *ControlFlow_IncrementNodeExecutionCount_Call
func (*ControlFlow_IncrementNodeExecutionCount_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ControlFlow_IncrementNodeExecutionCount_Call) RunAndReturn(run func() uint32) *ControlFlow_IncrementNodeExecutionCount_Call
type ControlFlow_IncrementParallelism_Call ¶ added in v1.15.1
ControlFlow_IncrementParallelism_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementParallelism'
func (*ControlFlow_IncrementParallelism_Call) Return ¶ added in v1.15.1
func (_c *ControlFlow_IncrementParallelism_Call) Return(_a0 uint32) *ControlFlow_IncrementParallelism_Call
func (*ControlFlow_IncrementParallelism_Call) Run ¶ added in v1.15.1
func (_c *ControlFlow_IncrementParallelism_Call) Run(run func()) *ControlFlow_IncrementParallelism_Call
func (*ControlFlow_IncrementParallelism_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ControlFlow_IncrementParallelism_Call) RunAndReturn(run func() uint32) *ControlFlow_IncrementParallelism_Call
type ControlFlow_IncrementTaskExecutionCount_Call ¶ added in v1.15.1
ControlFlow_IncrementTaskExecutionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementTaskExecutionCount'
func (*ControlFlow_IncrementTaskExecutionCount_Call) Return ¶ added in v1.15.1
func (_c *ControlFlow_IncrementTaskExecutionCount_Call) Return(_a0 uint32) *ControlFlow_IncrementTaskExecutionCount_Call
func (*ControlFlow_IncrementTaskExecutionCount_Call) Run ¶ added in v1.15.1
func (_c *ControlFlow_IncrementTaskExecutionCount_Call) Run(run func()) *ControlFlow_IncrementTaskExecutionCount_Call
func (*ControlFlow_IncrementTaskExecutionCount_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ControlFlow_IncrementTaskExecutionCount_Call) RunAndReturn(run func() uint32) *ControlFlow_IncrementTaskExecutionCount_Call
type DAGStructure ¶
DAGStructure is an autogenerated mock type for the DAGStructure type
func NewDAGStructure ¶ added in v1.15.1
func NewDAGStructure(t interface {
mock.TestingT
Cleanup(func())
}) *DAGStructure
NewDAGStructure creates a new instance of DAGStructure. 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 (*DAGStructure) EXPECT ¶ added in v1.15.1
func (_m *DAGStructure) EXPECT() *DAGStructure_Expecter
type DAGStructureWithStartNode ¶
DAGStructureWithStartNode is an autogenerated mock type for the DAGStructureWithStartNode type
func NewDAGStructureWithStartNode ¶ added in v1.15.1
func NewDAGStructureWithStartNode(t interface {
mock.TestingT
Cleanup(func())
}) *DAGStructureWithStartNode
NewDAGStructureWithStartNode creates a new instance of DAGStructureWithStartNode. 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 (*DAGStructureWithStartNode) EXPECT ¶ added in v1.15.1
func (_m *DAGStructureWithStartNode) EXPECT() *DAGStructureWithStartNode_Expecter
func (*DAGStructureWithStartNode) FromNode ¶
func (_m *DAGStructureWithStartNode) FromNode(id string) ([]string, error)
FromNode provides a mock function with given fields: id
func (*DAGStructureWithStartNode) StartNode ¶
func (_m *DAGStructureWithStartNode) StartNode() v1alpha1.ExecutableNode
StartNode provides a mock function with no fields
type DAGStructureWithStartNode_Expecter ¶ added in v1.15.1
type DAGStructureWithStartNode_Expecter struct {
// contains filtered or unexported fields
}
func (*DAGStructureWithStartNode_Expecter) FromNode ¶ added in v1.15.1
func (_e *DAGStructureWithStartNode_Expecter) FromNode(id interface{}) *DAGStructureWithStartNode_FromNode_Call
FromNode is a helper method to define mock.On call
- id string
func (*DAGStructureWithStartNode_Expecter) StartNode ¶ added in v1.15.1
func (_e *DAGStructureWithStartNode_Expecter) StartNode() *DAGStructureWithStartNode_StartNode_Call
StartNode is a helper method to define mock.On call
func (*DAGStructureWithStartNode_Expecter) ToNode ¶ added in v1.15.1
func (_e *DAGStructureWithStartNode_Expecter) ToNode(id interface{}) *DAGStructureWithStartNode_ToNode_Call
ToNode is a helper method to define mock.On call
- id string
type DAGStructureWithStartNode_FromNode_Call ¶ added in v1.15.1
DAGStructureWithStartNode_FromNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FromNode'
func (*DAGStructureWithStartNode_FromNode_Call) Return ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_FromNode_Call) Return(_a0 []string, _a1 error) *DAGStructureWithStartNode_FromNode_Call
func (*DAGStructureWithStartNode_FromNode_Call) Run ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_FromNode_Call) Run(run func(id string)) *DAGStructureWithStartNode_FromNode_Call
func (*DAGStructureWithStartNode_FromNode_Call) RunAndReturn ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_FromNode_Call) RunAndReturn(run func(string) ([]string, error)) *DAGStructureWithStartNode_FromNode_Call
type DAGStructureWithStartNode_StartNode_Call ¶ added in v1.15.1
DAGStructureWithStartNode_StartNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartNode'
func (*DAGStructureWithStartNode_StartNode_Call) Return ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_StartNode_Call) Return(_a0 v1alpha1.ExecutableNode) *DAGStructureWithStartNode_StartNode_Call
func (*DAGStructureWithStartNode_StartNode_Call) Run ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_StartNode_Call) Run(run func()) *DAGStructureWithStartNode_StartNode_Call
func (*DAGStructureWithStartNode_StartNode_Call) RunAndReturn ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_StartNode_Call) RunAndReturn(run func() v1alpha1.ExecutableNode) *DAGStructureWithStartNode_StartNode_Call
type DAGStructureWithStartNode_ToNode_Call ¶ added in v1.15.1
DAGStructureWithStartNode_ToNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToNode'
func (*DAGStructureWithStartNode_ToNode_Call) Return ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_ToNode_Call) Return(_a0 []string, _a1 error) *DAGStructureWithStartNode_ToNode_Call
func (*DAGStructureWithStartNode_ToNode_Call) Run ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_ToNode_Call) Run(run func(id string)) *DAGStructureWithStartNode_ToNode_Call
func (*DAGStructureWithStartNode_ToNode_Call) RunAndReturn ¶ added in v1.15.1
func (_c *DAGStructureWithStartNode_ToNode_Call) RunAndReturn(run func(string) ([]string, error)) *DAGStructureWithStartNode_ToNode_Call
type DAGStructure_Expecter ¶ added in v1.15.1
type DAGStructure_Expecter struct {
// contains filtered or unexported fields
}
func (*DAGStructure_Expecter) FromNode ¶ added in v1.15.1
func (_e *DAGStructure_Expecter) FromNode(id interface{}) *DAGStructure_FromNode_Call
FromNode is a helper method to define mock.On call
- id string
func (*DAGStructure_Expecter) ToNode ¶ added in v1.15.1
func (_e *DAGStructure_Expecter) ToNode(id interface{}) *DAGStructure_ToNode_Call
ToNode is a helper method to define mock.On call
- id string
type DAGStructure_FromNode_Call ¶ added in v1.15.1
DAGStructure_FromNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FromNode'
func (*DAGStructure_FromNode_Call) Return ¶ added in v1.15.1
func (_c *DAGStructure_FromNode_Call) Return(_a0 []string, _a1 error) *DAGStructure_FromNode_Call
func (*DAGStructure_FromNode_Call) Run ¶ added in v1.15.1
func (_c *DAGStructure_FromNode_Call) Run(run func(id string)) *DAGStructure_FromNode_Call
func (*DAGStructure_FromNode_Call) RunAndReturn ¶ added in v1.15.1
func (_c *DAGStructure_FromNode_Call) RunAndReturn(run func(string) ([]string, error)) *DAGStructure_FromNode_Call
type DAGStructure_ToNode_Call ¶ added in v1.15.1
DAGStructure_ToNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToNode'
func (*DAGStructure_ToNode_Call) Return ¶ added in v1.15.1
func (_c *DAGStructure_ToNode_Call) Return(_a0 []string, _a1 error) *DAGStructure_ToNode_Call
func (*DAGStructure_ToNode_Call) Run ¶ added in v1.15.1
func (_c *DAGStructure_ToNode_Call) Run(run func(id string)) *DAGStructure_ToNode_Call
func (*DAGStructure_ToNode_Call) RunAndReturn ¶ added in v1.15.1
func (_c *DAGStructure_ToNode_Call) RunAndReturn(run func(string) ([]string, error)) *DAGStructure_ToNode_Call
type ExecutionContext ¶
ExecutionContext is an autogenerated mock type for the ExecutionContext type
func NewExecutionContext ¶ added in v1.13.0
func NewExecutionContext(t interface {
mock.TestingT
Cleanup(func())
}) *ExecutionContext
NewExecutionContext creates a new instance of ExecutionContext. 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 (*ExecutionContext) CurrentNodeExecutionCount ¶ added in v1.12.0
func (_m *ExecutionContext) CurrentNodeExecutionCount() uint32
CurrentNodeExecutionCount provides a mock function with no fields
func (*ExecutionContext) CurrentParallelism ¶
func (_m *ExecutionContext) CurrentParallelism() uint32
CurrentParallelism provides a mock function with no fields
func (*ExecutionContext) CurrentTaskExecutionCount ¶ added in v1.12.0
func (_m *ExecutionContext) CurrentTaskExecutionCount() uint32
CurrentTaskExecutionCount provides a mock function with no fields
func (*ExecutionContext) EXPECT ¶ added in v1.13.0
func (_m *ExecutionContext) EXPECT() *ExecutionContext_Expecter
func (*ExecutionContext) FindSubWorkflow ¶
func (_m *ExecutionContext) FindSubWorkflow(subID string) v1alpha1.ExecutableSubWorkflow
FindSubWorkflow provides a mock function with given fields: subID
func (*ExecutionContext) GetAnnotations ¶
func (_m *ExecutionContext) GetAnnotations() map[string]string
GetAnnotations provides a mock function with no fields
func (*ExecutionContext) GetConsoleURL ¶ added in v1.13.0
func (_m *ExecutionContext) GetConsoleURL() string
GetConsoleURL provides a mock function with no fields
func (*ExecutionContext) GetCreationTimestamp ¶
func (_m *ExecutionContext) GetCreationTimestamp() v1.Time
GetCreationTimestamp provides a mock function with no fields
func (*ExecutionContext) GetDefinitionVersion ¶
func (_m *ExecutionContext) GetDefinitionVersion() v1alpha1.WorkflowDefinitionVersion
GetDefinitionVersion provides a mock function with no fields
func (*ExecutionContext) GetEventVersion ¶
func (_m *ExecutionContext) GetEventVersion() v1alpha1.EventVersion
GetEventVersion provides a mock function with no fields
func (*ExecutionContext) GetExecutionConfig ¶
func (_m *ExecutionContext) GetExecutionConfig() v1alpha1.ExecutionConfig
GetExecutionConfig provides a mock function with no fields
func (*ExecutionContext) GetExecutionID ¶
func (_m *ExecutionContext) GetExecutionID() v1alpha1.WorkflowExecutionIdentifier
GetExecutionID provides a mock function with no fields
func (*ExecutionContext) GetID ¶
func (_m *ExecutionContext) GetID() string
GetID provides a mock function with no fields
func (*ExecutionContext) GetK8sWorkflowID ¶
func (_m *ExecutionContext) GetK8sWorkflowID() types.NamespacedName
GetK8sWorkflowID provides a mock function with no fields
func (*ExecutionContext) GetLabels ¶
func (_m *ExecutionContext) GetLabels() map[string]string
GetLabels provides a mock function with no fields
func (*ExecutionContext) GetName ¶
func (_m *ExecutionContext) GetName() string
GetName provides a mock function with no fields
func (*ExecutionContext) GetNamespace ¶
func (_m *ExecutionContext) GetNamespace() string
GetNamespace provides a mock function with no fields
func (*ExecutionContext) GetOnFailurePolicy ¶
func (_m *ExecutionContext) GetOnFailurePolicy() v1alpha1.WorkflowOnFailurePolicy
GetOnFailurePolicy provides a mock function with no fields
func (*ExecutionContext) GetOwnerReference ¶
func (_m *ExecutionContext) GetOwnerReference() v1.OwnerReference
GetOwnerReference provides a mock function with no fields
func (*ExecutionContext) GetParentInfo ¶
func (_m *ExecutionContext) GetParentInfo() executors.ImmutableParentInfo
GetParentInfo provides a mock function with no fields
func (*ExecutionContext) GetRawOutputDataConfig ¶
func (_m *ExecutionContext) GetRawOutputDataConfig() v1alpha1.RawOutputDataConfig
GetRawOutputDataConfig provides a mock function with no fields
func (*ExecutionContext) GetSecurityContext ¶
func (_m *ExecutionContext) GetSecurityContext() core.SecurityContext
GetSecurityContext provides a mock function with no fields
func (*ExecutionContext) GetServiceAccountName ¶
func (_m *ExecutionContext) GetServiceAccountName() string
GetServiceAccountName provides a mock function with no fields
func (*ExecutionContext) GetTask ¶
func (_m *ExecutionContext) GetTask(id string) (v1alpha1.ExecutableTask, error)
GetTask provides a mock function with given fields: id
func (*ExecutionContext) IncrementNodeExecutionCount ¶ added in v1.12.0
func (_m *ExecutionContext) IncrementNodeExecutionCount() uint32
IncrementNodeExecutionCount provides a mock function with no fields
func (*ExecutionContext) IncrementParallelism ¶
func (_m *ExecutionContext) IncrementParallelism() uint32
IncrementParallelism provides a mock function with no fields
func (*ExecutionContext) IncrementTaskExecutionCount ¶ added in v1.12.0
func (_m *ExecutionContext) IncrementTaskExecutionCount() uint32
IncrementTaskExecutionCount provides a mock function with no fields
func (*ExecutionContext) IsInterruptible ¶
func (_m *ExecutionContext) IsInterruptible() bool
IsInterruptible provides a mock function with no fields
type ExecutionContext_CurrentNodeExecutionCount_Call ¶ added in v1.13.0
ExecutionContext_CurrentNodeExecutionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentNodeExecutionCount'
func (*ExecutionContext_CurrentNodeExecutionCount_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentNodeExecutionCount_Call) Return(_a0 uint32) *ExecutionContext_CurrentNodeExecutionCount_Call
func (*ExecutionContext_CurrentNodeExecutionCount_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentNodeExecutionCount_Call) Run(run func()) *ExecutionContext_CurrentNodeExecutionCount_Call
func (*ExecutionContext_CurrentNodeExecutionCount_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentNodeExecutionCount_Call) RunAndReturn(run func() uint32) *ExecutionContext_CurrentNodeExecutionCount_Call
type ExecutionContext_CurrentParallelism_Call ¶ added in v1.13.0
ExecutionContext_CurrentParallelism_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentParallelism'
func (*ExecutionContext_CurrentParallelism_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentParallelism_Call) Return(_a0 uint32) *ExecutionContext_CurrentParallelism_Call
func (*ExecutionContext_CurrentParallelism_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentParallelism_Call) Run(run func()) *ExecutionContext_CurrentParallelism_Call
func (*ExecutionContext_CurrentParallelism_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentParallelism_Call) RunAndReturn(run func() uint32) *ExecutionContext_CurrentParallelism_Call
type ExecutionContext_CurrentTaskExecutionCount_Call ¶ added in v1.13.0
ExecutionContext_CurrentTaskExecutionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentTaskExecutionCount'
func (*ExecutionContext_CurrentTaskExecutionCount_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentTaskExecutionCount_Call) Return(_a0 uint32) *ExecutionContext_CurrentTaskExecutionCount_Call
func (*ExecutionContext_CurrentTaskExecutionCount_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentTaskExecutionCount_Call) Run(run func()) *ExecutionContext_CurrentTaskExecutionCount_Call
func (*ExecutionContext_CurrentTaskExecutionCount_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_CurrentTaskExecutionCount_Call) RunAndReturn(run func() uint32) *ExecutionContext_CurrentTaskExecutionCount_Call
type ExecutionContext_Expecter ¶ added in v1.13.0
type ExecutionContext_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutionContext_Expecter) CurrentNodeExecutionCount ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) CurrentNodeExecutionCount() *ExecutionContext_CurrentNodeExecutionCount_Call
CurrentNodeExecutionCount is a helper method to define mock.On call
func (*ExecutionContext_Expecter) CurrentParallelism ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) CurrentParallelism() *ExecutionContext_CurrentParallelism_Call
CurrentParallelism is a helper method to define mock.On call
func (*ExecutionContext_Expecter) CurrentTaskExecutionCount ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) CurrentTaskExecutionCount() *ExecutionContext_CurrentTaskExecutionCount_Call
CurrentTaskExecutionCount is a helper method to define mock.On call
func (*ExecutionContext_Expecter) FindSubWorkflow ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) FindSubWorkflow(subID interface{}) *ExecutionContext_FindSubWorkflow_Call
FindSubWorkflow is a helper method to define mock.On call
- subID string
func (*ExecutionContext_Expecter) GetAnnotations ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetAnnotations() *ExecutionContext_GetAnnotations_Call
GetAnnotations is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetConsoleURL ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetConsoleURL() *ExecutionContext_GetConsoleURL_Call
GetConsoleURL is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetCreationTimestamp ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetCreationTimestamp() *ExecutionContext_GetCreationTimestamp_Call
GetCreationTimestamp is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetDefinitionVersion ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetDefinitionVersion() *ExecutionContext_GetDefinitionVersion_Call
GetDefinitionVersion is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetEventVersion ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetEventVersion() *ExecutionContext_GetEventVersion_Call
GetEventVersion is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetExecutionConfig ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetExecutionConfig() *ExecutionContext_GetExecutionConfig_Call
GetExecutionConfig is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetExecutionID ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetExecutionID() *ExecutionContext_GetExecutionID_Call
GetExecutionID is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetID ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetID() *ExecutionContext_GetID_Call
GetID is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetK8sWorkflowID ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetK8sWorkflowID() *ExecutionContext_GetK8sWorkflowID_Call
GetK8sWorkflowID is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetLabels ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetLabels() *ExecutionContext_GetLabels_Call
GetLabels is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetName ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetName() *ExecutionContext_GetName_Call
GetName is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetNamespace ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetNamespace() *ExecutionContext_GetNamespace_Call
GetNamespace is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetOnFailurePolicy ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetOnFailurePolicy() *ExecutionContext_GetOnFailurePolicy_Call
GetOnFailurePolicy is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetOwnerReference ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetOwnerReference() *ExecutionContext_GetOwnerReference_Call
GetOwnerReference is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetParentInfo ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetParentInfo() *ExecutionContext_GetParentInfo_Call
GetParentInfo is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetRawOutputDataConfig ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetRawOutputDataConfig() *ExecutionContext_GetRawOutputDataConfig_Call
GetRawOutputDataConfig is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetSecurityContext ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetSecurityContext() *ExecutionContext_GetSecurityContext_Call
GetSecurityContext is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetServiceAccountName ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetServiceAccountName() *ExecutionContext_GetServiceAccountName_Call
GetServiceAccountName is a helper method to define mock.On call
func (*ExecutionContext_Expecter) GetTask ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) GetTask(id interface{}) *ExecutionContext_GetTask_Call
GetTask is a helper method to define mock.On call
- id string
func (*ExecutionContext_Expecter) IncrementNodeExecutionCount ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) IncrementNodeExecutionCount() *ExecutionContext_IncrementNodeExecutionCount_Call
IncrementNodeExecutionCount is a helper method to define mock.On call
func (*ExecutionContext_Expecter) IncrementParallelism ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) IncrementParallelism() *ExecutionContext_IncrementParallelism_Call
IncrementParallelism is a helper method to define mock.On call
func (*ExecutionContext_Expecter) IncrementTaskExecutionCount ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) IncrementTaskExecutionCount() *ExecutionContext_IncrementTaskExecutionCount_Call
IncrementTaskExecutionCount is a helper method to define mock.On call
func (*ExecutionContext_Expecter) IsInterruptible ¶ added in v1.13.0
func (_e *ExecutionContext_Expecter) IsInterruptible() *ExecutionContext_IsInterruptible_Call
IsInterruptible is a helper method to define mock.On call
type ExecutionContext_FindSubWorkflow_Call ¶ added in v1.13.0
ExecutionContext_FindSubWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSubWorkflow'
func (*ExecutionContext_FindSubWorkflow_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_FindSubWorkflow_Call) Return(_a0 v1alpha1.ExecutableSubWorkflow) *ExecutionContext_FindSubWorkflow_Call
func (*ExecutionContext_FindSubWorkflow_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_FindSubWorkflow_Call) Run(run func(subID string)) *ExecutionContext_FindSubWorkflow_Call
func (*ExecutionContext_FindSubWorkflow_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_FindSubWorkflow_Call) RunAndReturn(run func(string) v1alpha1.ExecutableSubWorkflow) *ExecutionContext_FindSubWorkflow_Call
type ExecutionContext_GetAnnotations_Call ¶ added in v1.13.0
ExecutionContext_GetAnnotations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAnnotations'
func (*ExecutionContext_GetAnnotations_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetAnnotations_Call) Return(_a0 map[string]string) *ExecutionContext_GetAnnotations_Call
func (*ExecutionContext_GetAnnotations_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetAnnotations_Call) Run(run func()) *ExecutionContext_GetAnnotations_Call
func (*ExecutionContext_GetAnnotations_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetAnnotations_Call) RunAndReturn(run func() map[string]string) *ExecutionContext_GetAnnotations_Call
type ExecutionContext_GetConsoleURL_Call ¶ added in v1.13.0
ExecutionContext_GetConsoleURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConsoleURL'
func (*ExecutionContext_GetConsoleURL_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetConsoleURL_Call) Return(_a0 string) *ExecutionContext_GetConsoleURL_Call
func (*ExecutionContext_GetConsoleURL_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetConsoleURL_Call) Run(run func()) *ExecutionContext_GetConsoleURL_Call
func (*ExecutionContext_GetConsoleURL_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetConsoleURL_Call) RunAndReturn(run func() string) *ExecutionContext_GetConsoleURL_Call
type ExecutionContext_GetCreationTimestamp_Call ¶ added in v1.13.0
ExecutionContext_GetCreationTimestamp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCreationTimestamp'
func (*ExecutionContext_GetCreationTimestamp_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetCreationTimestamp_Call) Return(_a0 v1.Time) *ExecutionContext_GetCreationTimestamp_Call
func (*ExecutionContext_GetCreationTimestamp_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetCreationTimestamp_Call) Run(run func()) *ExecutionContext_GetCreationTimestamp_Call
func (*ExecutionContext_GetCreationTimestamp_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetCreationTimestamp_Call) RunAndReturn(run func() v1.Time) *ExecutionContext_GetCreationTimestamp_Call
type ExecutionContext_GetDefinitionVersion_Call ¶ added in v1.13.0
ExecutionContext_GetDefinitionVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDefinitionVersion'
func (*ExecutionContext_GetDefinitionVersion_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetDefinitionVersion_Call) Run(run func()) *ExecutionContext_GetDefinitionVersion_Call
func (*ExecutionContext_GetDefinitionVersion_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetDefinitionVersion_Call) RunAndReturn(run func() v1alpha1.WorkflowDefinitionVersion) *ExecutionContext_GetDefinitionVersion_Call
type ExecutionContext_GetEventVersion_Call ¶ added in v1.13.0
ExecutionContext_GetEventVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventVersion'
func (*ExecutionContext_GetEventVersion_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetEventVersion_Call) Return(_a0 v1alpha1.EventVersion) *ExecutionContext_GetEventVersion_Call
func (*ExecutionContext_GetEventVersion_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetEventVersion_Call) Run(run func()) *ExecutionContext_GetEventVersion_Call
func (*ExecutionContext_GetEventVersion_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetEventVersion_Call) RunAndReturn(run func() v1alpha1.EventVersion) *ExecutionContext_GetEventVersion_Call
type ExecutionContext_GetExecutionConfig_Call ¶ added in v1.13.0
ExecutionContext_GetExecutionConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecutionConfig'
func (*ExecutionContext_GetExecutionConfig_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetExecutionConfig_Call) Return(_a0 v1alpha1.ExecutionConfig) *ExecutionContext_GetExecutionConfig_Call
func (*ExecutionContext_GetExecutionConfig_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetExecutionConfig_Call) Run(run func()) *ExecutionContext_GetExecutionConfig_Call
func (*ExecutionContext_GetExecutionConfig_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetExecutionConfig_Call) RunAndReturn(run func() v1alpha1.ExecutionConfig) *ExecutionContext_GetExecutionConfig_Call
type ExecutionContext_GetExecutionID_Call ¶ added in v1.13.0
ExecutionContext_GetExecutionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecutionID'
func (*ExecutionContext_GetExecutionID_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetExecutionID_Call) Return(_a0 v1alpha1.WorkflowExecutionIdentifier) *ExecutionContext_GetExecutionID_Call
func (*ExecutionContext_GetExecutionID_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetExecutionID_Call) Run(run func()) *ExecutionContext_GetExecutionID_Call
func (*ExecutionContext_GetExecutionID_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetExecutionID_Call) RunAndReturn(run func() v1alpha1.WorkflowExecutionIdentifier) *ExecutionContext_GetExecutionID_Call
type ExecutionContext_GetID_Call ¶ added in v1.13.0
ExecutionContext_GetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetID'
func (*ExecutionContext_GetID_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetID_Call) Return(_a0 string) *ExecutionContext_GetID_Call
func (*ExecutionContext_GetID_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetID_Call) Run(run func()) *ExecutionContext_GetID_Call
func (*ExecutionContext_GetID_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetID_Call) RunAndReturn(run func() string) *ExecutionContext_GetID_Call
type ExecutionContext_GetK8sWorkflowID_Call ¶ added in v1.13.0
ExecutionContext_GetK8sWorkflowID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetK8sWorkflowID'
func (*ExecutionContext_GetK8sWorkflowID_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetK8sWorkflowID_Call) Return(_a0 types.NamespacedName) *ExecutionContext_GetK8sWorkflowID_Call
func (*ExecutionContext_GetK8sWorkflowID_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetK8sWorkflowID_Call) Run(run func()) *ExecutionContext_GetK8sWorkflowID_Call
func (*ExecutionContext_GetK8sWorkflowID_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetK8sWorkflowID_Call) RunAndReturn(run func() types.NamespacedName) *ExecutionContext_GetK8sWorkflowID_Call
type ExecutionContext_GetLabels_Call ¶ added in v1.13.0
ExecutionContext_GetLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLabels'
func (*ExecutionContext_GetLabels_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetLabels_Call) Return(_a0 map[string]string) *ExecutionContext_GetLabels_Call
func (*ExecutionContext_GetLabels_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetLabels_Call) Run(run func()) *ExecutionContext_GetLabels_Call
func (*ExecutionContext_GetLabels_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetLabels_Call) RunAndReturn(run func() map[string]string) *ExecutionContext_GetLabels_Call
type ExecutionContext_GetName_Call ¶ added in v1.13.0
ExecutionContext_GetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetName'
func (*ExecutionContext_GetName_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetName_Call) Return(_a0 string) *ExecutionContext_GetName_Call
func (*ExecutionContext_GetName_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetName_Call) Run(run func()) *ExecutionContext_GetName_Call
func (*ExecutionContext_GetName_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetName_Call) RunAndReturn(run func() string) *ExecutionContext_GetName_Call
type ExecutionContext_GetNamespace_Call ¶ added in v1.13.0
ExecutionContext_GetNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNamespace'
func (*ExecutionContext_GetNamespace_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetNamespace_Call) Return(_a0 string) *ExecutionContext_GetNamespace_Call
func (*ExecutionContext_GetNamespace_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetNamespace_Call) Run(run func()) *ExecutionContext_GetNamespace_Call
func (*ExecutionContext_GetNamespace_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetNamespace_Call) RunAndReturn(run func() string) *ExecutionContext_GetNamespace_Call
type ExecutionContext_GetOnFailurePolicy_Call ¶ added in v1.13.0
ExecutionContext_GetOnFailurePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOnFailurePolicy'
func (*ExecutionContext_GetOnFailurePolicy_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetOnFailurePolicy_Call) Run(run func()) *ExecutionContext_GetOnFailurePolicy_Call
func (*ExecutionContext_GetOnFailurePolicy_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetOnFailurePolicy_Call) RunAndReturn(run func() v1alpha1.WorkflowOnFailurePolicy) *ExecutionContext_GetOnFailurePolicy_Call
type ExecutionContext_GetOwnerReference_Call ¶ added in v1.13.0
ExecutionContext_GetOwnerReference_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOwnerReference'
func (*ExecutionContext_GetOwnerReference_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetOwnerReference_Call) Return(_a0 v1.OwnerReference) *ExecutionContext_GetOwnerReference_Call
func (*ExecutionContext_GetOwnerReference_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetOwnerReference_Call) Run(run func()) *ExecutionContext_GetOwnerReference_Call
func (*ExecutionContext_GetOwnerReference_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetOwnerReference_Call) RunAndReturn(run func() v1.OwnerReference) *ExecutionContext_GetOwnerReference_Call
type ExecutionContext_GetParentInfo_Call ¶ added in v1.13.0
ExecutionContext_GetParentInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParentInfo'
func (*ExecutionContext_GetParentInfo_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetParentInfo_Call) Return(_a0 executors.ImmutableParentInfo) *ExecutionContext_GetParentInfo_Call
func (*ExecutionContext_GetParentInfo_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetParentInfo_Call) Run(run func()) *ExecutionContext_GetParentInfo_Call
func (*ExecutionContext_GetParentInfo_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetParentInfo_Call) RunAndReturn(run func() executors.ImmutableParentInfo) *ExecutionContext_GetParentInfo_Call
type ExecutionContext_GetRawOutputDataConfig_Call ¶ added in v1.13.0
ExecutionContext_GetRawOutputDataConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRawOutputDataConfig'
func (*ExecutionContext_GetRawOutputDataConfig_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetRawOutputDataConfig_Call) Run(run func()) *ExecutionContext_GetRawOutputDataConfig_Call
func (*ExecutionContext_GetRawOutputDataConfig_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetRawOutputDataConfig_Call) RunAndReturn(run func() v1alpha1.RawOutputDataConfig) *ExecutionContext_GetRawOutputDataConfig_Call
type ExecutionContext_GetSecurityContext_Call ¶ added in v1.13.0
ExecutionContext_GetSecurityContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecurityContext'
func (*ExecutionContext_GetSecurityContext_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetSecurityContext_Call) Return(_a0 core.SecurityContext) *ExecutionContext_GetSecurityContext_Call
func (*ExecutionContext_GetSecurityContext_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetSecurityContext_Call) Run(run func()) *ExecutionContext_GetSecurityContext_Call
func (*ExecutionContext_GetSecurityContext_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetSecurityContext_Call) RunAndReturn(run func() core.SecurityContext) *ExecutionContext_GetSecurityContext_Call
type ExecutionContext_GetServiceAccountName_Call ¶ added in v1.13.0
ExecutionContext_GetServiceAccountName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServiceAccountName'
func (*ExecutionContext_GetServiceAccountName_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetServiceAccountName_Call) Return(_a0 string) *ExecutionContext_GetServiceAccountName_Call
func (*ExecutionContext_GetServiceAccountName_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetServiceAccountName_Call) Run(run func()) *ExecutionContext_GetServiceAccountName_Call
func (*ExecutionContext_GetServiceAccountName_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetServiceAccountName_Call) RunAndReturn(run func() string) *ExecutionContext_GetServiceAccountName_Call
type ExecutionContext_GetTask_Call ¶ added in v1.13.0
ExecutionContext_GetTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTask'
func (*ExecutionContext_GetTask_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_GetTask_Call) Return(_a0 v1alpha1.ExecutableTask, _a1 error) *ExecutionContext_GetTask_Call
func (*ExecutionContext_GetTask_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_GetTask_Call) Run(run func(id string)) *ExecutionContext_GetTask_Call
func (*ExecutionContext_GetTask_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_GetTask_Call) RunAndReturn(run func(string) (v1alpha1.ExecutableTask, error)) *ExecutionContext_GetTask_Call
type ExecutionContext_IncrementNodeExecutionCount_Call ¶ added in v1.13.0
ExecutionContext_IncrementNodeExecutionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementNodeExecutionCount'
func (*ExecutionContext_IncrementNodeExecutionCount_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementNodeExecutionCount_Call) Return(_a0 uint32) *ExecutionContext_IncrementNodeExecutionCount_Call
func (*ExecutionContext_IncrementNodeExecutionCount_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementNodeExecutionCount_Call) Run(run func()) *ExecutionContext_IncrementNodeExecutionCount_Call
func (*ExecutionContext_IncrementNodeExecutionCount_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementNodeExecutionCount_Call) RunAndReturn(run func() uint32) *ExecutionContext_IncrementNodeExecutionCount_Call
type ExecutionContext_IncrementParallelism_Call ¶ added in v1.13.0
ExecutionContext_IncrementParallelism_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementParallelism'
func (*ExecutionContext_IncrementParallelism_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementParallelism_Call) Return(_a0 uint32) *ExecutionContext_IncrementParallelism_Call
func (*ExecutionContext_IncrementParallelism_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementParallelism_Call) Run(run func()) *ExecutionContext_IncrementParallelism_Call
func (*ExecutionContext_IncrementParallelism_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementParallelism_Call) RunAndReturn(run func() uint32) *ExecutionContext_IncrementParallelism_Call
type ExecutionContext_IncrementTaskExecutionCount_Call ¶ added in v1.13.0
ExecutionContext_IncrementTaskExecutionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementTaskExecutionCount'
func (*ExecutionContext_IncrementTaskExecutionCount_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementTaskExecutionCount_Call) Return(_a0 uint32) *ExecutionContext_IncrementTaskExecutionCount_Call
func (*ExecutionContext_IncrementTaskExecutionCount_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementTaskExecutionCount_Call) Run(run func()) *ExecutionContext_IncrementTaskExecutionCount_Call
func (*ExecutionContext_IncrementTaskExecutionCount_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_IncrementTaskExecutionCount_Call) RunAndReturn(run func() uint32) *ExecutionContext_IncrementTaskExecutionCount_Call
type ExecutionContext_IsInterruptible_Call ¶ added in v1.13.0
ExecutionContext_IsInterruptible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsInterruptible'
func (*ExecutionContext_IsInterruptible_Call) Return ¶ added in v1.13.0
func (_c *ExecutionContext_IsInterruptible_Call) Return(_a0 bool) *ExecutionContext_IsInterruptible_Call
func (*ExecutionContext_IsInterruptible_Call) Run ¶ added in v1.13.0
func (_c *ExecutionContext_IsInterruptible_Call) Run(run func()) *ExecutionContext_IsInterruptible_Call
func (*ExecutionContext_IsInterruptible_Call) RunAndReturn ¶ added in v1.13.0
func (_c *ExecutionContext_IsInterruptible_Call) RunAndReturn(run func() bool) *ExecutionContext_IsInterruptible_Call
type FakeInformers ¶
type FakeInformers struct {
}
FakeInformers is a fake implementation of Informers. Implement a fake informer cache to avoid race condition in informertest.FakeInformers
func (*FakeInformers) GetInformer ¶
func (f *FakeInformers) GetInformer(ctx context.Context, obj client.Object, opts ...cache.InformerGetOption) (cache.Informer, error)
func (*FakeInformers) GetInformerForKind ¶
func (f *FakeInformers) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind, opts ...cache.InformerGetOption) (cache.Informer, error)
func (*FakeInformers) IndexField ¶
func (f *FakeInformers) IndexField(ctx context.Context, obj client.Object, field string, extractValue client.IndexerFunc) error
func (*FakeInformers) List ¶
func (f *FakeInformers) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
func (*FakeInformers) WaitForCacheSync ¶
func (f *FakeInformers) WaitForCacheSync(ctx context.Context) bool
type ImmutableExecutionContext ¶
ImmutableExecutionContext is an autogenerated mock type for the ImmutableExecutionContext type
func NewImmutableExecutionContext ¶ added in v1.15.1
func NewImmutableExecutionContext(t interface {
mock.TestingT
Cleanup(func())
}) *ImmutableExecutionContext
NewImmutableExecutionContext creates a new instance of ImmutableExecutionContext. 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 (*ImmutableExecutionContext) EXPECT ¶ added in v1.15.1
func (_m *ImmutableExecutionContext) EXPECT() *ImmutableExecutionContext_Expecter
func (*ImmutableExecutionContext) GetAnnotations ¶
func (_m *ImmutableExecutionContext) GetAnnotations() map[string]string
GetAnnotations provides a mock function with no fields
func (*ImmutableExecutionContext) GetConsoleURL ¶ added in v1.13.1
func (_m *ImmutableExecutionContext) GetConsoleURL() string
GetConsoleURL provides a mock function with no fields
func (*ImmutableExecutionContext) GetCreationTimestamp ¶
func (_m *ImmutableExecutionContext) GetCreationTimestamp() v1.Time
GetCreationTimestamp provides a mock function with no fields
func (*ImmutableExecutionContext) GetDefinitionVersion ¶
func (_m *ImmutableExecutionContext) GetDefinitionVersion() v1alpha1.WorkflowDefinitionVersion
GetDefinitionVersion provides a mock function with no fields
func (*ImmutableExecutionContext) GetEventVersion ¶
func (_m *ImmutableExecutionContext) GetEventVersion() v1alpha1.EventVersion
GetEventVersion provides a mock function with no fields
func (*ImmutableExecutionContext) GetExecutionConfig ¶
func (_m *ImmutableExecutionContext) GetExecutionConfig() v1alpha1.ExecutionConfig
GetExecutionConfig provides a mock function with no fields
func (*ImmutableExecutionContext) GetExecutionID ¶
func (_m *ImmutableExecutionContext) GetExecutionID() v1alpha1.WorkflowExecutionIdentifier
GetExecutionID provides a mock function with no fields
func (*ImmutableExecutionContext) GetID ¶
func (_m *ImmutableExecutionContext) GetID() string
GetID provides a mock function with no fields
func (*ImmutableExecutionContext) GetK8sWorkflowID ¶
func (_m *ImmutableExecutionContext) GetK8sWorkflowID() types.NamespacedName
GetK8sWorkflowID provides a mock function with no fields
func (*ImmutableExecutionContext) GetLabels ¶
func (_m *ImmutableExecutionContext) GetLabels() map[string]string
GetLabels provides a mock function with no fields
func (*ImmutableExecutionContext) GetName ¶
func (_m *ImmutableExecutionContext) GetName() string
GetName provides a mock function with no fields
func (*ImmutableExecutionContext) GetNamespace ¶
func (_m *ImmutableExecutionContext) GetNamespace() string
GetNamespace provides a mock function with no fields
func (*ImmutableExecutionContext) GetOnFailurePolicy ¶
func (_m *ImmutableExecutionContext) GetOnFailurePolicy() v1alpha1.WorkflowOnFailurePolicy
GetOnFailurePolicy provides a mock function with no fields
func (*ImmutableExecutionContext) GetOwnerReference ¶
func (_m *ImmutableExecutionContext) GetOwnerReference() v1.OwnerReference
GetOwnerReference provides a mock function with no fields
func (*ImmutableExecutionContext) GetRawOutputDataConfig ¶
func (_m *ImmutableExecutionContext) GetRawOutputDataConfig() v1alpha1.RawOutputDataConfig
GetRawOutputDataConfig provides a mock function with no fields
func (*ImmutableExecutionContext) GetSecurityContext ¶
func (_m *ImmutableExecutionContext) GetSecurityContext() core.SecurityContext
GetSecurityContext provides a mock function with no fields
func (*ImmutableExecutionContext) GetServiceAccountName ¶
func (_m *ImmutableExecutionContext) GetServiceAccountName() string
GetServiceAccountName provides a mock function with no fields
func (*ImmutableExecutionContext) IsInterruptible ¶
func (_m *ImmutableExecutionContext) IsInterruptible() bool
IsInterruptible provides a mock function with no fields
type ImmutableExecutionContext_Expecter ¶ added in v1.15.1
type ImmutableExecutionContext_Expecter struct {
// contains filtered or unexported fields
}
func (*ImmutableExecutionContext_Expecter) GetAnnotations ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetAnnotations() *ImmutableExecutionContext_GetAnnotations_Call
GetAnnotations is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetConsoleURL ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetConsoleURL() *ImmutableExecutionContext_GetConsoleURL_Call
GetConsoleURL is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetCreationTimestamp ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetCreationTimestamp() *ImmutableExecutionContext_GetCreationTimestamp_Call
GetCreationTimestamp is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetDefinitionVersion ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetDefinitionVersion() *ImmutableExecutionContext_GetDefinitionVersion_Call
GetDefinitionVersion is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetEventVersion ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetEventVersion() *ImmutableExecutionContext_GetEventVersion_Call
GetEventVersion is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetExecutionConfig ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetExecutionConfig() *ImmutableExecutionContext_GetExecutionConfig_Call
GetExecutionConfig is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetExecutionID ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetExecutionID() *ImmutableExecutionContext_GetExecutionID_Call
GetExecutionID is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetID ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetID() *ImmutableExecutionContext_GetID_Call
GetID is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetK8sWorkflowID ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetK8sWorkflowID() *ImmutableExecutionContext_GetK8sWorkflowID_Call
GetK8sWorkflowID is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetLabels ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetLabels() *ImmutableExecutionContext_GetLabels_Call
GetLabels is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetName ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetName() *ImmutableExecutionContext_GetName_Call
GetName is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetNamespace ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetNamespace() *ImmutableExecutionContext_GetNamespace_Call
GetNamespace is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetOnFailurePolicy ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetOnFailurePolicy() *ImmutableExecutionContext_GetOnFailurePolicy_Call
GetOnFailurePolicy is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetOwnerReference ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetOwnerReference() *ImmutableExecutionContext_GetOwnerReference_Call
GetOwnerReference is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetRawOutputDataConfig ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetRawOutputDataConfig() *ImmutableExecutionContext_GetRawOutputDataConfig_Call
GetRawOutputDataConfig is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetSecurityContext ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetSecurityContext() *ImmutableExecutionContext_GetSecurityContext_Call
GetSecurityContext is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) GetServiceAccountName ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) GetServiceAccountName() *ImmutableExecutionContext_GetServiceAccountName_Call
GetServiceAccountName is a helper method to define mock.On call
func (*ImmutableExecutionContext_Expecter) IsInterruptible ¶ added in v1.15.1
func (_e *ImmutableExecutionContext_Expecter) IsInterruptible() *ImmutableExecutionContext_IsInterruptible_Call
IsInterruptible is a helper method to define mock.On call
type ImmutableExecutionContext_GetAnnotations_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetAnnotations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAnnotations'
func (*ImmutableExecutionContext_GetAnnotations_Call) Return ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetAnnotations_Call) Return(_a0 map[string]string) *ImmutableExecutionContext_GetAnnotations_Call
func (*ImmutableExecutionContext_GetAnnotations_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetAnnotations_Call) Run(run func()) *ImmutableExecutionContext_GetAnnotations_Call
func (*ImmutableExecutionContext_GetAnnotations_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetAnnotations_Call) RunAndReturn(run func() map[string]string) *ImmutableExecutionContext_GetAnnotations_Call
type ImmutableExecutionContext_GetConsoleURL_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetConsoleURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConsoleURL'
func (*ImmutableExecutionContext_GetConsoleURL_Call) Return ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetConsoleURL_Call) Return(_a0 string) *ImmutableExecutionContext_GetConsoleURL_Call
func (*ImmutableExecutionContext_GetConsoleURL_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetConsoleURL_Call) Run(run func()) *ImmutableExecutionContext_GetConsoleURL_Call
func (*ImmutableExecutionContext_GetConsoleURL_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetConsoleURL_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetConsoleURL_Call
type ImmutableExecutionContext_GetCreationTimestamp_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetCreationTimestamp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCreationTimestamp'
func (*ImmutableExecutionContext_GetCreationTimestamp_Call) Return ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetCreationTimestamp_Call) Return(_a0 v1.Time) *ImmutableExecutionContext_GetCreationTimestamp_Call
func (*ImmutableExecutionContext_GetCreationTimestamp_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetCreationTimestamp_Call) Run(run func()) *ImmutableExecutionContext_GetCreationTimestamp_Call
func (*ImmutableExecutionContext_GetCreationTimestamp_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetCreationTimestamp_Call) RunAndReturn(run func() v1.Time) *ImmutableExecutionContext_GetCreationTimestamp_Call
type ImmutableExecutionContext_GetDefinitionVersion_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetDefinitionVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDefinitionVersion'
func (*ImmutableExecutionContext_GetDefinitionVersion_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetDefinitionVersion_Call) Run(run func()) *ImmutableExecutionContext_GetDefinitionVersion_Call
func (*ImmutableExecutionContext_GetDefinitionVersion_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetDefinitionVersion_Call) RunAndReturn(run func() v1alpha1.WorkflowDefinitionVersion) *ImmutableExecutionContext_GetDefinitionVersion_Call
type ImmutableExecutionContext_GetEventVersion_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetEventVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventVersion'
func (*ImmutableExecutionContext_GetEventVersion_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetEventVersion_Call) Run(run func()) *ImmutableExecutionContext_GetEventVersion_Call
func (*ImmutableExecutionContext_GetEventVersion_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetEventVersion_Call) RunAndReturn(run func() v1alpha1.EventVersion) *ImmutableExecutionContext_GetEventVersion_Call
type ImmutableExecutionContext_GetExecutionConfig_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetExecutionConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecutionConfig'
func (*ImmutableExecutionContext_GetExecutionConfig_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetExecutionConfig_Call) Run(run func()) *ImmutableExecutionContext_GetExecutionConfig_Call
func (*ImmutableExecutionContext_GetExecutionConfig_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetExecutionConfig_Call) RunAndReturn(run func() v1alpha1.ExecutionConfig) *ImmutableExecutionContext_GetExecutionConfig_Call
type ImmutableExecutionContext_GetExecutionID_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetExecutionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecutionID'
func (*ImmutableExecutionContext_GetExecutionID_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetExecutionID_Call) Run(run func()) *ImmutableExecutionContext_GetExecutionID_Call
func (*ImmutableExecutionContext_GetExecutionID_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetExecutionID_Call) RunAndReturn(run func() v1alpha1.WorkflowExecutionIdentifier) *ImmutableExecutionContext_GetExecutionID_Call
type ImmutableExecutionContext_GetID_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetID'
func (*ImmutableExecutionContext_GetID_Call) Return ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetID_Call) Return(_a0 string) *ImmutableExecutionContext_GetID_Call
func (*ImmutableExecutionContext_GetID_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetID_Call) Run(run func()) *ImmutableExecutionContext_GetID_Call
func (*ImmutableExecutionContext_GetID_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetID_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetID_Call
type ImmutableExecutionContext_GetK8sWorkflowID_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetK8sWorkflowID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetK8sWorkflowID'
func (*ImmutableExecutionContext_GetK8sWorkflowID_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetK8sWorkflowID_Call) Run(run func()) *ImmutableExecutionContext_GetK8sWorkflowID_Call
func (*ImmutableExecutionContext_GetK8sWorkflowID_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetK8sWorkflowID_Call) RunAndReturn(run func() types.NamespacedName) *ImmutableExecutionContext_GetK8sWorkflowID_Call
type ImmutableExecutionContext_GetLabels_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLabels'
func (*ImmutableExecutionContext_GetLabels_Call) Return ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetLabels_Call) Return(_a0 map[string]string) *ImmutableExecutionContext_GetLabels_Call
func (*ImmutableExecutionContext_GetLabels_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetLabels_Call) Run(run func()) *ImmutableExecutionContext_GetLabels_Call
func (*ImmutableExecutionContext_GetLabels_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetLabels_Call) RunAndReturn(run func() map[string]string) *ImmutableExecutionContext_GetLabels_Call
type ImmutableExecutionContext_GetName_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetName'
func (*ImmutableExecutionContext_GetName_Call) Return ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetName_Call) Return(_a0 string) *ImmutableExecutionContext_GetName_Call
func (*ImmutableExecutionContext_GetName_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetName_Call) Run(run func()) *ImmutableExecutionContext_GetName_Call
func (*ImmutableExecutionContext_GetName_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetName_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetName_Call
type ImmutableExecutionContext_GetNamespace_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNamespace'
func (*ImmutableExecutionContext_GetNamespace_Call) Return ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetNamespace_Call) Return(_a0 string) *ImmutableExecutionContext_GetNamespace_Call
func (*ImmutableExecutionContext_GetNamespace_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetNamespace_Call) Run(run func()) *ImmutableExecutionContext_GetNamespace_Call
func (*ImmutableExecutionContext_GetNamespace_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetNamespace_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetNamespace_Call
type ImmutableExecutionContext_GetOnFailurePolicy_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetOnFailurePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOnFailurePolicy'
func (*ImmutableExecutionContext_GetOnFailurePolicy_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetOnFailurePolicy_Call) Run(run func()) *ImmutableExecutionContext_GetOnFailurePolicy_Call
func (*ImmutableExecutionContext_GetOnFailurePolicy_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetOnFailurePolicy_Call) RunAndReturn(run func() v1alpha1.WorkflowOnFailurePolicy) *ImmutableExecutionContext_GetOnFailurePolicy_Call
type ImmutableExecutionContext_GetOwnerReference_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetOwnerReference_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOwnerReference'
func (*ImmutableExecutionContext_GetOwnerReference_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetOwnerReference_Call) Run(run func()) *ImmutableExecutionContext_GetOwnerReference_Call
func (*ImmutableExecutionContext_GetOwnerReference_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetOwnerReference_Call) RunAndReturn(run func() v1.OwnerReference) *ImmutableExecutionContext_GetOwnerReference_Call
type ImmutableExecutionContext_GetRawOutputDataConfig_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetRawOutputDataConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRawOutputDataConfig'
func (*ImmutableExecutionContext_GetRawOutputDataConfig_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetRawOutputDataConfig_Call) Run(run func()) *ImmutableExecutionContext_GetRawOutputDataConfig_Call
func (*ImmutableExecutionContext_GetRawOutputDataConfig_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetRawOutputDataConfig_Call) RunAndReturn(run func() v1alpha1.RawOutputDataConfig) *ImmutableExecutionContext_GetRawOutputDataConfig_Call
type ImmutableExecutionContext_GetSecurityContext_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetSecurityContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecurityContext'
func (*ImmutableExecutionContext_GetSecurityContext_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetSecurityContext_Call) Run(run func()) *ImmutableExecutionContext_GetSecurityContext_Call
func (*ImmutableExecutionContext_GetSecurityContext_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetSecurityContext_Call) RunAndReturn(run func() core.SecurityContext) *ImmutableExecutionContext_GetSecurityContext_Call
type ImmutableExecutionContext_GetServiceAccountName_Call ¶ added in v1.15.1
ImmutableExecutionContext_GetServiceAccountName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServiceAccountName'
func (*ImmutableExecutionContext_GetServiceAccountName_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetServiceAccountName_Call) Run(run func()) *ImmutableExecutionContext_GetServiceAccountName_Call
func (*ImmutableExecutionContext_GetServiceAccountName_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_GetServiceAccountName_Call) RunAndReturn(run func() string) *ImmutableExecutionContext_GetServiceAccountName_Call
type ImmutableExecutionContext_IsInterruptible_Call ¶ added in v1.15.1
ImmutableExecutionContext_IsInterruptible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsInterruptible'
func (*ImmutableExecutionContext_IsInterruptible_Call) Return ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_IsInterruptible_Call) Return(_a0 bool) *ImmutableExecutionContext_IsInterruptible_Call
func (*ImmutableExecutionContext_IsInterruptible_Call) Run ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_IsInterruptible_Call) Run(run func()) *ImmutableExecutionContext_IsInterruptible_Call
func (*ImmutableExecutionContext_IsInterruptible_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableExecutionContext_IsInterruptible_Call) RunAndReturn(run func() bool) *ImmutableExecutionContext_IsInterruptible_Call
type ImmutableParentInfo ¶
ImmutableParentInfo is an autogenerated mock type for the ImmutableParentInfo type
func NewImmutableParentInfo ¶ added in v1.15.1
func NewImmutableParentInfo(t interface {
mock.TestingT
Cleanup(func())
}) *ImmutableParentInfo
NewImmutableParentInfo creates a new instance of ImmutableParentInfo. 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 (*ImmutableParentInfo) CurrentAttempt ¶
func (_m *ImmutableParentInfo) CurrentAttempt() uint32
CurrentAttempt provides a mock function with no fields
func (*ImmutableParentInfo) EXPECT ¶ added in v1.15.1
func (_m *ImmutableParentInfo) EXPECT() *ImmutableParentInfo_Expecter
func (*ImmutableParentInfo) GetUniqueID ¶
func (_m *ImmutableParentInfo) GetUniqueID() string
GetUniqueID provides a mock function with no fields
func (*ImmutableParentInfo) IsInDynamicChain ¶ added in v1.13.0
func (_m *ImmutableParentInfo) IsInDynamicChain() bool
IsInDynamicChain provides a mock function with no fields
type ImmutableParentInfo_CurrentAttempt_Call ¶ added in v1.15.1
ImmutableParentInfo_CurrentAttempt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentAttempt'
func (*ImmutableParentInfo_CurrentAttempt_Call) Return ¶ added in v1.15.1
func (_c *ImmutableParentInfo_CurrentAttempt_Call) Return(_a0 uint32) *ImmutableParentInfo_CurrentAttempt_Call
func (*ImmutableParentInfo_CurrentAttempt_Call) Run ¶ added in v1.15.1
func (_c *ImmutableParentInfo_CurrentAttempt_Call) Run(run func()) *ImmutableParentInfo_CurrentAttempt_Call
func (*ImmutableParentInfo_CurrentAttempt_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableParentInfo_CurrentAttempt_Call) RunAndReturn(run func() uint32) *ImmutableParentInfo_CurrentAttempt_Call
type ImmutableParentInfo_Expecter ¶ added in v1.15.1
type ImmutableParentInfo_Expecter struct {
// contains filtered or unexported fields
}
func (*ImmutableParentInfo_Expecter) CurrentAttempt ¶ added in v1.15.1
func (_e *ImmutableParentInfo_Expecter) CurrentAttempt() *ImmutableParentInfo_CurrentAttempt_Call
CurrentAttempt is a helper method to define mock.On call
func (*ImmutableParentInfo_Expecter) GetUniqueID ¶ added in v1.15.1
func (_e *ImmutableParentInfo_Expecter) GetUniqueID() *ImmutableParentInfo_GetUniqueID_Call
GetUniqueID is a helper method to define mock.On call
func (*ImmutableParentInfo_Expecter) IsInDynamicChain ¶ added in v1.15.1
func (_e *ImmutableParentInfo_Expecter) IsInDynamicChain() *ImmutableParentInfo_IsInDynamicChain_Call
IsInDynamicChain is a helper method to define mock.On call
type ImmutableParentInfo_GetUniqueID_Call ¶ added in v1.15.1
ImmutableParentInfo_GetUniqueID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUniqueID'
func (*ImmutableParentInfo_GetUniqueID_Call) Return ¶ added in v1.15.1
func (_c *ImmutableParentInfo_GetUniqueID_Call) Return(_a0 string) *ImmutableParentInfo_GetUniqueID_Call
func (*ImmutableParentInfo_GetUniqueID_Call) Run ¶ added in v1.15.1
func (_c *ImmutableParentInfo_GetUniqueID_Call) Run(run func()) *ImmutableParentInfo_GetUniqueID_Call
func (*ImmutableParentInfo_GetUniqueID_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableParentInfo_GetUniqueID_Call) RunAndReturn(run func() string) *ImmutableParentInfo_GetUniqueID_Call
type ImmutableParentInfo_IsInDynamicChain_Call ¶ added in v1.15.1
ImmutableParentInfo_IsInDynamicChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsInDynamicChain'
func (*ImmutableParentInfo_IsInDynamicChain_Call) Return ¶ added in v1.15.1
func (_c *ImmutableParentInfo_IsInDynamicChain_Call) Return(_a0 bool) *ImmutableParentInfo_IsInDynamicChain_Call
func (*ImmutableParentInfo_IsInDynamicChain_Call) Run ¶ added in v1.15.1
func (_c *ImmutableParentInfo_IsInDynamicChain_Call) Run(run func()) *ImmutableParentInfo_IsInDynamicChain_Call
func (*ImmutableParentInfo_IsInDynamicChain_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ImmutableParentInfo_IsInDynamicChain_Call) RunAndReturn(run func() bool) *ImmutableParentInfo_IsInDynamicChain_Call
type NodeLookup ¶
NodeLookup is an autogenerated mock type for the NodeLookup type
func NewNodeLookup ¶ added in v1.15.1
func NewNodeLookup(t interface {
mock.TestingT
Cleanup(func())
}) *NodeLookup
NewNodeLookup creates a new instance of NodeLookup. 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 (*NodeLookup) EXPECT ¶ added in v1.15.1
func (_m *NodeLookup) EXPECT() *NodeLookup_Expecter
func (*NodeLookup) FromNode ¶
func (_m *NodeLookup) FromNode(id string) ([]string, error)
FromNode provides a mock function with given fields: id
func (*NodeLookup) GetNode ¶
func (_m *NodeLookup) GetNode(nodeID string) (v1alpha1.ExecutableNode, bool)
GetNode provides a mock function with given fields: nodeID
func (*NodeLookup) GetNodeExecutionStatus ¶
func (_m *NodeLookup) GetNodeExecutionStatus(ctx context.Context, id string) v1alpha1.ExecutableNodeStatus
GetNodeExecutionStatus provides a mock function with given fields: ctx, id
type NodeLookup_Expecter ¶ added in v1.15.1
type NodeLookup_Expecter struct {
// contains filtered or unexported fields
}
func (*NodeLookup_Expecter) FromNode ¶ added in v1.15.1
func (_e *NodeLookup_Expecter) FromNode(id interface{}) *NodeLookup_FromNode_Call
FromNode is a helper method to define mock.On call
- id string
func (*NodeLookup_Expecter) GetNode ¶ added in v1.15.1
func (_e *NodeLookup_Expecter) GetNode(nodeID interface{}) *NodeLookup_GetNode_Call
GetNode is a helper method to define mock.On call
- nodeID string
func (*NodeLookup_Expecter) GetNodeExecutionStatus ¶ added in v1.15.1
func (_e *NodeLookup_Expecter) GetNodeExecutionStatus(ctx interface{}, id interface{}) *NodeLookup_GetNodeExecutionStatus_Call
GetNodeExecutionStatus is a helper method to define mock.On call
- ctx context.Context
- id string
func (*NodeLookup_Expecter) ToNode ¶ added in v1.15.1
func (_e *NodeLookup_Expecter) ToNode(id interface{}) *NodeLookup_ToNode_Call
ToNode is a helper method to define mock.On call
- id string
type NodeLookup_FromNode_Call ¶ added in v1.15.1
NodeLookup_FromNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FromNode'
func (*NodeLookup_FromNode_Call) Return ¶ added in v1.15.1
func (_c *NodeLookup_FromNode_Call) Return(_a0 []string, _a1 error) *NodeLookup_FromNode_Call
func (*NodeLookup_FromNode_Call) Run ¶ added in v1.15.1
func (_c *NodeLookup_FromNode_Call) Run(run func(id string)) *NodeLookup_FromNode_Call
func (*NodeLookup_FromNode_Call) RunAndReturn ¶ added in v1.15.1
func (_c *NodeLookup_FromNode_Call) RunAndReturn(run func(string) ([]string, error)) *NodeLookup_FromNode_Call
type NodeLookup_GetNodeExecutionStatus_Call ¶ added in v1.15.1
NodeLookup_GetNodeExecutionStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNodeExecutionStatus'
func (*NodeLookup_GetNodeExecutionStatus_Call) Return ¶ added in v1.15.1
func (_c *NodeLookup_GetNodeExecutionStatus_Call) Return(_a0 v1alpha1.ExecutableNodeStatus) *NodeLookup_GetNodeExecutionStatus_Call
func (*NodeLookup_GetNodeExecutionStatus_Call) Run ¶ added in v1.15.1
func (_c *NodeLookup_GetNodeExecutionStatus_Call) Run(run func(ctx context.Context, id string)) *NodeLookup_GetNodeExecutionStatus_Call
func (*NodeLookup_GetNodeExecutionStatus_Call) RunAndReturn ¶ added in v1.15.1
func (_c *NodeLookup_GetNodeExecutionStatus_Call) RunAndReturn(run func(context.Context, string) v1alpha1.ExecutableNodeStatus) *NodeLookup_GetNodeExecutionStatus_Call
type NodeLookup_GetNode_Call ¶ added in v1.15.1
NodeLookup_GetNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNode'
func (*NodeLookup_GetNode_Call) Return ¶ added in v1.15.1
func (_c *NodeLookup_GetNode_Call) Return(_a0 v1alpha1.ExecutableNode, _a1 bool) *NodeLookup_GetNode_Call
func (*NodeLookup_GetNode_Call) Run ¶ added in v1.15.1
func (_c *NodeLookup_GetNode_Call) Run(run func(nodeID string)) *NodeLookup_GetNode_Call
func (*NodeLookup_GetNode_Call) RunAndReturn ¶ added in v1.15.1
func (_c *NodeLookup_GetNode_Call) RunAndReturn(run func(string) (v1alpha1.ExecutableNode, bool)) *NodeLookup_GetNode_Call
type NodeLookup_ToNode_Call ¶ added in v1.15.1
NodeLookup_ToNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToNode'
func (*NodeLookup_ToNode_Call) Return ¶ added in v1.15.1
func (_c *NodeLookup_ToNode_Call) Return(_a0 []string, _a1 error) *NodeLookup_ToNode_Call
func (*NodeLookup_ToNode_Call) Run ¶ added in v1.15.1
func (_c *NodeLookup_ToNode_Call) Run(run func(id string)) *NodeLookup_ToNode_Call
func (*NodeLookup_ToNode_Call) RunAndReturn ¶ added in v1.15.1
func (_c *NodeLookup_ToNode_Call) RunAndReturn(run func(string) ([]string, error)) *NodeLookup_ToNode_Call
type ParentInfoGetter ¶
ParentInfoGetter is an autogenerated mock type for the ParentInfoGetter type
func NewParentInfoGetter ¶ added in v1.15.1
func NewParentInfoGetter(t interface {
mock.TestingT
Cleanup(func())
}) *ParentInfoGetter
NewParentInfoGetter creates a new instance of ParentInfoGetter. 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 (*ParentInfoGetter) EXPECT ¶ added in v1.15.1
func (_m *ParentInfoGetter) EXPECT() *ParentInfoGetter_Expecter
func (*ParentInfoGetter) GetParentInfo ¶
func (_m *ParentInfoGetter) GetParentInfo() executors.ImmutableParentInfo
GetParentInfo provides a mock function with no fields
type ParentInfoGetter_Expecter ¶ added in v1.15.1
type ParentInfoGetter_Expecter struct {
// contains filtered or unexported fields
}
func (*ParentInfoGetter_Expecter) GetParentInfo ¶ added in v1.15.1
func (_e *ParentInfoGetter_Expecter) GetParentInfo() *ParentInfoGetter_GetParentInfo_Call
GetParentInfo is a helper method to define mock.On call
type ParentInfoGetter_GetParentInfo_Call ¶ added in v1.15.1
ParentInfoGetter_GetParentInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParentInfo'
func (*ParentInfoGetter_GetParentInfo_Call) Return ¶ added in v1.15.1
func (_c *ParentInfoGetter_GetParentInfo_Call) Return(_a0 executors.ImmutableParentInfo) *ParentInfoGetter_GetParentInfo_Call
func (*ParentInfoGetter_GetParentInfo_Call) Run ¶ added in v1.15.1
func (_c *ParentInfoGetter_GetParentInfo_Call) Run(run func()) *ParentInfoGetter_GetParentInfo_Call
func (*ParentInfoGetter_GetParentInfo_Call) RunAndReturn ¶ added in v1.15.1
func (_c *ParentInfoGetter_GetParentInfo_Call) RunAndReturn(run func() executors.ImmutableParentInfo) *ParentInfoGetter_GetParentInfo_Call
type SubWorkflowGetter ¶
SubWorkflowGetter is an autogenerated mock type for the SubWorkflowGetter type
func NewSubWorkflowGetter ¶ added in v1.15.1
func NewSubWorkflowGetter(t interface {
mock.TestingT
Cleanup(func())
}) *SubWorkflowGetter
NewSubWorkflowGetter creates a new instance of SubWorkflowGetter. 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 (*SubWorkflowGetter) EXPECT ¶ added in v1.15.1
func (_m *SubWorkflowGetter) EXPECT() *SubWorkflowGetter_Expecter
func (*SubWorkflowGetter) FindSubWorkflow ¶
func (_m *SubWorkflowGetter) FindSubWorkflow(subID string) v1alpha1.ExecutableSubWorkflow
FindSubWorkflow provides a mock function with given fields: subID
type SubWorkflowGetter_Expecter ¶ added in v1.15.1
type SubWorkflowGetter_Expecter struct {
// contains filtered or unexported fields
}
func (*SubWorkflowGetter_Expecter) FindSubWorkflow ¶ added in v1.15.1
func (_e *SubWorkflowGetter_Expecter) FindSubWorkflow(subID interface{}) *SubWorkflowGetter_FindSubWorkflow_Call
FindSubWorkflow is a helper method to define mock.On call
- subID string
type SubWorkflowGetter_FindSubWorkflow_Call ¶ added in v1.15.1
SubWorkflowGetter_FindSubWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSubWorkflow'
func (*SubWorkflowGetter_FindSubWorkflow_Call) Return ¶ added in v1.15.1
func (_c *SubWorkflowGetter_FindSubWorkflow_Call) Return(_a0 v1alpha1.ExecutableSubWorkflow) *SubWorkflowGetter_FindSubWorkflow_Call
func (*SubWorkflowGetter_FindSubWorkflow_Call) Run ¶ added in v1.15.1
func (_c *SubWorkflowGetter_FindSubWorkflow_Call) Run(run func(subID string)) *SubWorkflowGetter_FindSubWorkflow_Call
func (*SubWorkflowGetter_FindSubWorkflow_Call) RunAndReturn ¶ added in v1.15.1
func (_c *SubWorkflowGetter_FindSubWorkflow_Call) RunAndReturn(run func(string) v1alpha1.ExecutableSubWorkflow) *SubWorkflowGetter_FindSubWorkflow_Call
type TaskDetailsGetter ¶
TaskDetailsGetter is an autogenerated mock type for the TaskDetailsGetter type
func NewTaskDetailsGetter ¶ added in v1.15.1
func NewTaskDetailsGetter(t interface {
mock.TestingT
Cleanup(func())
}) *TaskDetailsGetter
NewTaskDetailsGetter creates a new instance of TaskDetailsGetter. 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 (*TaskDetailsGetter) EXPECT ¶ added in v1.15.1
func (_m *TaskDetailsGetter) EXPECT() *TaskDetailsGetter_Expecter
func (*TaskDetailsGetter) GetTask ¶
func (_m *TaskDetailsGetter) GetTask(id string) (v1alpha1.ExecutableTask, error)
GetTask provides a mock function with given fields: id
type TaskDetailsGetter_Expecter ¶ added in v1.15.1
type TaskDetailsGetter_Expecter struct {
// contains filtered or unexported fields
}
func (*TaskDetailsGetter_Expecter) GetTask ¶ added in v1.15.1
func (_e *TaskDetailsGetter_Expecter) GetTask(id interface{}) *TaskDetailsGetter_GetTask_Call
GetTask is a helper method to define mock.On call
- id string
type TaskDetailsGetter_GetTask_Call ¶ added in v1.15.1
TaskDetailsGetter_GetTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTask'
func (*TaskDetailsGetter_GetTask_Call) Return ¶ added in v1.15.1
func (_c *TaskDetailsGetter_GetTask_Call) Return(_a0 v1alpha1.ExecutableTask, _a1 error) *TaskDetailsGetter_GetTask_Call
func (*TaskDetailsGetter_GetTask_Call) Run ¶ added in v1.15.1
func (_c *TaskDetailsGetter_GetTask_Call) Run(run func(id string)) *TaskDetailsGetter_GetTask_Call
func (*TaskDetailsGetter_GetTask_Call) RunAndReturn ¶ added in v1.15.1
func (_c *TaskDetailsGetter_GetTask_Call) RunAndReturn(run func(string) (v1alpha1.ExecutableTask, error)) *TaskDetailsGetter_GetTask_Call
type Workflow ¶
Workflow is an autogenerated mock type for the Workflow type
func NewWorkflow ¶ added in v1.15.1
NewWorkflow creates a new instance of Workflow. 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 (*Workflow) EXPECT ¶ added in v1.15.1
func (_m *Workflow) EXPECT() *Workflow_Expecter
func (*Workflow) HandleAbortedWorkflow ¶
func (_m *Workflow) HandleAbortedWorkflow(ctx context.Context, w *v1alpha1.FlyteWorkflow, maxRetries uint32) error
HandleAbortedWorkflow provides a mock function with given fields: ctx, w, maxRetries
func (*Workflow) HandleFlyteWorkflow ¶
HandleFlyteWorkflow provides a mock function with given fields: ctx, w
type Workflow_Expecter ¶ added in v1.15.1
type Workflow_Expecter struct {
// contains filtered or unexported fields
}
func (*Workflow_Expecter) HandleAbortedWorkflow ¶ added in v1.15.1
func (_e *Workflow_Expecter) HandleAbortedWorkflow(ctx interface{}, w interface{}, maxRetries interface{}) *Workflow_HandleAbortedWorkflow_Call
HandleAbortedWorkflow is a helper method to define mock.On call
- ctx context.Context
- w *v1alpha1.FlyteWorkflow
- maxRetries uint32
func (*Workflow_Expecter) HandleFlyteWorkflow ¶ added in v1.15.1
func (_e *Workflow_Expecter) HandleFlyteWorkflow(ctx interface{}, w interface{}) *Workflow_HandleFlyteWorkflow_Call
HandleFlyteWorkflow is a helper method to define mock.On call
- ctx context.Context
- w *v1alpha1.FlyteWorkflow
func (*Workflow_Expecter) Initialize ¶ added in v1.15.1
func (_e *Workflow_Expecter) Initialize(ctx interface{}) *Workflow_Initialize_Call
Initialize is a helper method to define mock.On call
- ctx context.Context
type Workflow_HandleAbortedWorkflow_Call ¶ added in v1.15.1
Workflow_HandleAbortedWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleAbortedWorkflow'
func (*Workflow_HandleAbortedWorkflow_Call) Return ¶ added in v1.15.1
func (_c *Workflow_HandleAbortedWorkflow_Call) Return(_a0 error) *Workflow_HandleAbortedWorkflow_Call
func (*Workflow_HandleAbortedWorkflow_Call) Run ¶ added in v1.15.1
func (_c *Workflow_HandleAbortedWorkflow_Call) Run(run func(ctx context.Context, w *v1alpha1.FlyteWorkflow, maxRetries uint32)) *Workflow_HandleAbortedWorkflow_Call
func (*Workflow_HandleAbortedWorkflow_Call) RunAndReturn ¶ added in v1.15.1
func (_c *Workflow_HandleAbortedWorkflow_Call) RunAndReturn(run func(context.Context, *v1alpha1.FlyteWorkflow, uint32) error) *Workflow_HandleAbortedWorkflow_Call
type Workflow_HandleFlyteWorkflow_Call ¶ added in v1.15.1
Workflow_HandleFlyteWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HandleFlyteWorkflow'
func (*Workflow_HandleFlyteWorkflow_Call) Return ¶ added in v1.15.1
func (_c *Workflow_HandleFlyteWorkflow_Call) Return(_a0 error) *Workflow_HandleFlyteWorkflow_Call
func (*Workflow_HandleFlyteWorkflow_Call) Run ¶ added in v1.15.1
func (_c *Workflow_HandleFlyteWorkflow_Call) Run(run func(ctx context.Context, w *v1alpha1.FlyteWorkflow)) *Workflow_HandleFlyteWorkflow_Call
func (*Workflow_HandleFlyteWorkflow_Call) RunAndReturn ¶ added in v1.15.1
func (_c *Workflow_HandleFlyteWorkflow_Call) RunAndReturn(run func(context.Context, *v1alpha1.FlyteWorkflow) error) *Workflow_HandleFlyteWorkflow_Call
type Workflow_Initialize_Call ¶ added in v1.15.1
Workflow_Initialize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Initialize'
func (*Workflow_Initialize_Call) Return ¶ added in v1.15.1
func (_c *Workflow_Initialize_Call) Return(_a0 error) *Workflow_Initialize_Call
func (*Workflow_Initialize_Call) Run ¶ added in v1.15.1
func (_c *Workflow_Initialize_Call) Run(run func(ctx context.Context)) *Workflow_Initialize_Call
func (*Workflow_Initialize_Call) RunAndReturn ¶ added in v1.15.1
func (_c *Workflow_Initialize_Call) RunAndReturn(run func(context.Context) error) *Workflow_Initialize_Call