mocks

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type InterfaceProvider ¶

type InterfaceProvider struct {
	mock.Mock
}

InterfaceProvider is an autogenerated mock type for the InterfaceProvider type

func (*InterfaceProvider) GetExpectedInputs ¶

func (_m *InterfaceProvider) GetExpectedInputs() *core.ParameterMap

GetExpectedInputs provides a mock function with given fields:

func (*InterfaceProvider) GetExpectedOutputs ¶

func (_m *InterfaceProvider) GetExpectedOutputs() *core.VariableMap

GetExpectedOutputs provides a mock function with given fields:

func (*InterfaceProvider) GetID ¶

func (_m *InterfaceProvider) GetID() *core.Identifier

GetID provides a mock function with given fields:

func (*InterfaceProvider) OnGetExpectedInputs ¶ added in v0.1.13

func (_m *InterfaceProvider) OnGetExpectedInputs() *InterfaceProvider_GetExpectedInputs

func (*InterfaceProvider) OnGetExpectedInputsMatch ¶ added in v0.1.13

func (_m *InterfaceProvider) OnGetExpectedInputsMatch(matchers ...interface{}) *InterfaceProvider_GetExpectedInputs

func (*InterfaceProvider) OnGetExpectedOutputs ¶ added in v0.1.13

func (_m *InterfaceProvider) OnGetExpectedOutputs() *InterfaceProvider_GetExpectedOutputs

func (*InterfaceProvider) OnGetExpectedOutputsMatch ¶ added in v0.1.13

func (_m *InterfaceProvider) OnGetExpectedOutputsMatch(matchers ...interface{}) *InterfaceProvider_GetExpectedOutputs

func (*InterfaceProvider) OnGetID ¶ added in v0.1.13

func (*InterfaceProvider) OnGetIDMatch ¶ added in v0.1.13

func (_m *InterfaceProvider) OnGetIDMatch(matchers ...interface{}) *InterfaceProvider_GetID

type InterfaceProvider_GetExpectedInputs ¶ added in v0.1.13

type InterfaceProvider_GetExpectedInputs struct {
	*mock.Call
}

func (InterfaceProvider_GetExpectedInputs) Return ¶ added in v0.1.13

type InterfaceProvider_GetExpectedOutputs ¶ added in v0.1.13

type InterfaceProvider_GetExpectedOutputs struct {
	*mock.Call
}

func (InterfaceProvider_GetExpectedOutputs) Return ¶ added in v0.1.13

type InterfaceProvider_GetID ¶ added in v0.1.13

type InterfaceProvider_GetID struct {
	*mock.Call
}

func (InterfaceProvider_GetID) Return ¶ added in v0.1.13

type Node ¶

type Node struct {
	mock.Mock
}

Node is an autogenerated mock type for the Node type

func (*Node) GetBranchNode ¶

func (_m *Node) GetBranchNode() *core.BranchNode

GetBranchNode provides a mock function with given fields:

func (*Node) GetCoreNode ¶

func (_m *Node) GetCoreNode() *core.Node

GetCoreNode provides a mock function with given fields:

func (*Node) GetId ¶

func (_m *Node) GetId() string

GetId provides a mock function with given fields:

func (*Node) GetInputs ¶

func (_m *Node) GetInputs() []*core.Binding

GetInputs provides a mock function with given fields:

func (*Node) GetInterface ¶

func (_m *Node) GetInterface() *core.TypedInterface

GetInterface provides a mock function with given fields:

func (*Node) GetMetadata ¶

func (_m *Node) GetMetadata() *core.NodeMetadata

GetMetadata provides a mock function with given fields:

func (*Node) GetOutputAliases ¶

func (_m *Node) GetOutputAliases() []*core.Alias

GetOutputAliases provides a mock function with given fields:

func (*Node) GetSubWorkflow ¶

func (_m *Node) GetSubWorkflow() common.Workflow

GetSubWorkflow provides a mock function with given fields:

func (*Node) GetTask ¶

func (_m *Node) GetTask() common.Task

GetTask provides a mock function with given fields:

func (*Node) GetTaskNode ¶

func (_m *Node) GetTaskNode() *core.TaskNode

GetTaskNode provides a mock function with given fields:

func (*Node) GetUpstreamNodeIds ¶

func (_m *Node) GetUpstreamNodeIds() []string

GetUpstreamNodeIds provides a mock function with given fields:

func (*Node) GetWorkflowNode ¶

func (_m *Node) GetWorkflowNode() *core.WorkflowNode

GetWorkflowNode provides a mock function with given fields:

func (*Node) OnGetBranchNode ¶ added in v0.1.13

func (_m *Node) OnGetBranchNode() *Node_GetBranchNode

func (*Node) OnGetBranchNodeMatch ¶ added in v0.1.13

func (_m *Node) OnGetBranchNodeMatch(matchers ...interface{}) *Node_GetBranchNode

func (*Node) OnGetCoreNode ¶ added in v0.1.13

func (_m *Node) OnGetCoreNode() *Node_GetCoreNode

func (*Node) OnGetCoreNodeMatch ¶ added in v0.1.13

func (_m *Node) OnGetCoreNodeMatch(matchers ...interface{}) *Node_GetCoreNode

func (*Node) OnGetId ¶ added in v0.1.13

func (_m *Node) OnGetId() *Node_GetId

func (*Node) OnGetIdMatch ¶ added in v0.1.13

func (_m *Node) OnGetIdMatch(matchers ...interface{}) *Node_GetId

func (*Node) OnGetInputs ¶ added in v0.1.13

func (_m *Node) OnGetInputs() *Node_GetInputs

func (*Node) OnGetInputsMatch ¶ added in v0.1.13

func (_m *Node) OnGetInputsMatch(matchers ...interface{}) *Node_GetInputs

func (*Node) OnGetInterface ¶ added in v0.1.13

func (_m *Node) OnGetInterface() *Node_GetInterface

func (*Node) OnGetInterfaceMatch ¶ added in v0.1.13

func (_m *Node) OnGetInterfaceMatch(matchers ...interface{}) *Node_GetInterface

func (*Node) OnGetMetadata ¶ added in v0.1.13

func (_m *Node) OnGetMetadata() *Node_GetMetadata

func (*Node) OnGetMetadataMatch ¶ added in v0.1.13

func (_m *Node) OnGetMetadataMatch(matchers ...interface{}) *Node_GetMetadata

func (*Node) OnGetOutputAliases ¶ added in v0.1.13

func (_m *Node) OnGetOutputAliases() *Node_GetOutputAliases

func (*Node) OnGetOutputAliasesMatch ¶ added in v0.1.13

func (_m *Node) OnGetOutputAliasesMatch(matchers ...interface{}) *Node_GetOutputAliases

func (*Node) OnGetSubWorkflow ¶ added in v0.1.13

func (_m *Node) OnGetSubWorkflow() *Node_GetSubWorkflow

func (*Node) OnGetSubWorkflowMatch ¶ added in v0.1.13

func (_m *Node) OnGetSubWorkflowMatch(matchers ...interface{}) *Node_GetSubWorkflow

func (*Node) OnGetTask ¶ added in v0.1.13

func (_m *Node) OnGetTask() *Node_GetTask

func (*Node) OnGetTaskMatch ¶ added in v0.1.13

func (_m *Node) OnGetTaskMatch(matchers ...interface{}) *Node_GetTask

func (*Node) OnGetTaskNode ¶ added in v0.1.13

func (_m *Node) OnGetTaskNode() *Node_GetTaskNode

func (*Node) OnGetTaskNodeMatch ¶ added in v0.1.13

func (_m *Node) OnGetTaskNodeMatch(matchers ...interface{}) *Node_GetTaskNode

func (*Node) OnGetUpstreamNodeIds ¶ added in v0.1.13

func (_m *Node) OnGetUpstreamNodeIds() *Node_GetUpstreamNodeIds

func (*Node) OnGetUpstreamNodeIdsMatch ¶ added in v0.1.13

func (_m *Node) OnGetUpstreamNodeIdsMatch(matchers ...interface{}) *Node_GetUpstreamNodeIds

func (*Node) OnGetWorkflowNode ¶ added in v0.1.13

func (_m *Node) OnGetWorkflowNode() *Node_GetWorkflowNode

func (*Node) OnGetWorkflowNodeMatch ¶ added in v0.1.13

func (_m *Node) OnGetWorkflowNodeMatch(matchers ...interface{}) *Node_GetWorkflowNode

type NodeBuilder ¶

type NodeBuilder struct {
	mock.Mock
}

NodeBuilder is an autogenerated mock type for the NodeBuilder type

func (*NodeBuilder) GetBranchNode ¶

func (_m *NodeBuilder) GetBranchNode() *core.BranchNode

GetBranchNode provides a mock function with given fields:

func (*NodeBuilder) GetCoreNode ¶

func (_m *NodeBuilder) GetCoreNode() *core.Node

GetCoreNode provides a mock function with given fields:

func (*NodeBuilder) GetId ¶

func (_m *NodeBuilder) GetId() string

GetId provides a mock function with given fields:

func (*NodeBuilder) GetInputs ¶

func (_m *NodeBuilder) GetInputs() []*core.Binding

GetInputs provides a mock function with given fields:

func (*NodeBuilder) GetInterface ¶

func (_m *NodeBuilder) GetInterface() *core.TypedInterface

GetInterface provides a mock function with given fields:

func (*NodeBuilder) GetMetadata ¶

func (_m *NodeBuilder) GetMetadata() *core.NodeMetadata

GetMetadata provides a mock function with given fields:

func (*NodeBuilder) GetOutputAliases ¶

func (_m *NodeBuilder) GetOutputAliases() []*core.Alias

GetOutputAliases provides a mock function with given fields:

func (*NodeBuilder) GetSubWorkflow ¶

func (_m *NodeBuilder) GetSubWorkflow() common.Workflow

GetSubWorkflow provides a mock function with given fields:

func (*NodeBuilder) GetTask ¶

func (_m *NodeBuilder) GetTask() common.Task

GetTask provides a mock function with given fields:

func (*NodeBuilder) GetTaskNode ¶

func (_m *NodeBuilder) GetTaskNode() *core.TaskNode

GetTaskNode provides a mock function with given fields:

func (*NodeBuilder) GetUpstreamNodeIds ¶

func (_m *NodeBuilder) GetUpstreamNodeIds() []string

GetUpstreamNodeIds provides a mock function with given fields:

func (*NodeBuilder) GetWorkflowNode ¶

func (_m *NodeBuilder) GetWorkflowNode() *core.WorkflowNode

GetWorkflowNode provides a mock function with given fields:

func (*NodeBuilder) OnGetBranchNode ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetBranchNode() *NodeBuilder_GetBranchNode

func (*NodeBuilder) OnGetBranchNodeMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetBranchNodeMatch(matchers ...interface{}) *NodeBuilder_GetBranchNode

func (*NodeBuilder) OnGetCoreNode ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetCoreNode() *NodeBuilder_GetCoreNode

func (*NodeBuilder) OnGetCoreNodeMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetCoreNodeMatch(matchers ...interface{}) *NodeBuilder_GetCoreNode

func (*NodeBuilder) OnGetId ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetId() *NodeBuilder_GetId

func (*NodeBuilder) OnGetIdMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetIdMatch(matchers ...interface{}) *NodeBuilder_GetId

func (*NodeBuilder) OnGetInputs ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetInputs() *NodeBuilder_GetInputs

func (*NodeBuilder) OnGetInputsMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetInputsMatch(matchers ...interface{}) *NodeBuilder_GetInputs

func (*NodeBuilder) OnGetInterface ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetInterface() *NodeBuilder_GetInterface

func (*NodeBuilder) OnGetInterfaceMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetInterfaceMatch(matchers ...interface{}) *NodeBuilder_GetInterface

func (*NodeBuilder) OnGetMetadata ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetMetadata() *NodeBuilder_GetMetadata

func (*NodeBuilder) OnGetMetadataMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetMetadataMatch(matchers ...interface{}) *NodeBuilder_GetMetadata

func (*NodeBuilder) OnGetOutputAliases ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetOutputAliases() *NodeBuilder_GetOutputAliases

func (*NodeBuilder) OnGetOutputAliasesMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetOutputAliasesMatch(matchers ...interface{}) *NodeBuilder_GetOutputAliases

func (*NodeBuilder) OnGetSubWorkflow ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetSubWorkflow() *NodeBuilder_GetSubWorkflow

func (*NodeBuilder) OnGetSubWorkflowMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetSubWorkflowMatch(matchers ...interface{}) *NodeBuilder_GetSubWorkflow

func (*NodeBuilder) OnGetTask ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetTask() *NodeBuilder_GetTask

func (*NodeBuilder) OnGetTaskMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetTaskMatch(matchers ...interface{}) *NodeBuilder_GetTask

func (*NodeBuilder) OnGetTaskNode ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetTaskNode() *NodeBuilder_GetTaskNode

func (*NodeBuilder) OnGetTaskNodeMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetTaskNodeMatch(matchers ...interface{}) *NodeBuilder_GetTaskNode

func (*NodeBuilder) OnGetUpstreamNodeIds ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetUpstreamNodeIds() *NodeBuilder_GetUpstreamNodeIds

func (*NodeBuilder) OnGetUpstreamNodeIdsMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetUpstreamNodeIdsMatch(matchers ...interface{}) *NodeBuilder_GetUpstreamNodeIds

func (*NodeBuilder) OnGetWorkflowNode ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetWorkflowNode() *NodeBuilder_GetWorkflowNode

func (*NodeBuilder) OnGetWorkflowNodeMatch ¶ added in v0.1.13

func (_m *NodeBuilder) OnGetWorkflowNodeMatch(matchers ...interface{}) *NodeBuilder_GetWorkflowNode

func (*NodeBuilder) SetInputs ¶

func (_m *NodeBuilder) SetInputs(inputs []*core.Binding)

SetInputs provides a mock function with given fields: inputs

func (*NodeBuilder) SetInterface ¶

func (_m *NodeBuilder) SetInterface(iface *core.TypedInterface)

SetInterface provides a mock function with given fields: iface

func (*NodeBuilder) SetSubWorkflow ¶

func (_m *NodeBuilder) SetSubWorkflow(wf common.Workflow)

SetSubWorkflow provides a mock function with given fields: wf

func (*NodeBuilder) SetTask ¶

func (_m *NodeBuilder) SetTask(task common.Task)

SetTask provides a mock function with given fields: task

type NodeBuilder_GetBranchNode ¶ added in v0.1.13

type NodeBuilder_GetBranchNode struct {
	*mock.Call
}

func (NodeBuilder_GetBranchNode) Return ¶ added in v0.1.13

type NodeBuilder_GetCoreNode ¶ added in v0.1.13

type NodeBuilder_GetCoreNode struct {
	*mock.Call
}

func (NodeBuilder_GetCoreNode) Return ¶ added in v0.1.13

type NodeBuilder_GetId ¶ added in v0.1.13

type NodeBuilder_GetId struct {
	*mock.Call
}

func (NodeBuilder_GetId) Return ¶ added in v0.1.13

func (_m NodeBuilder_GetId) Return(_a0 string) *NodeBuilder_GetId

type NodeBuilder_GetInputs ¶ added in v0.1.13

type NodeBuilder_GetInputs struct {
	*mock.Call
}

func (NodeBuilder_GetInputs) Return ¶ added in v0.1.13

type NodeBuilder_GetInterface ¶ added in v0.1.13

type NodeBuilder_GetInterface struct {
	*mock.Call
}

func (NodeBuilder_GetInterface) Return ¶ added in v0.1.13

type NodeBuilder_GetMetadata ¶ added in v0.1.13

type NodeBuilder_GetMetadata struct {
	*mock.Call
}

func (NodeBuilder_GetMetadata) Return ¶ added in v0.1.13

type NodeBuilder_GetOutputAliases ¶ added in v0.1.13

type NodeBuilder_GetOutputAliases struct {
	*mock.Call
}

func (NodeBuilder_GetOutputAliases) Return ¶ added in v0.1.13

type NodeBuilder_GetSubWorkflow ¶ added in v0.1.13

type NodeBuilder_GetSubWorkflow struct {
	*mock.Call
}

func (NodeBuilder_GetSubWorkflow) Return ¶ added in v0.1.13

type NodeBuilder_GetTask ¶ added in v0.1.13

type NodeBuilder_GetTask struct {
	*mock.Call
}

func (NodeBuilder_GetTask) Return ¶ added in v0.1.13

type NodeBuilder_GetTaskNode ¶ added in v0.1.13

type NodeBuilder_GetTaskNode struct {
	*mock.Call
}

func (NodeBuilder_GetTaskNode) Return ¶ added in v0.1.13

type NodeBuilder_GetUpstreamNodeIds ¶ added in v0.1.13

type NodeBuilder_GetUpstreamNodeIds struct {
	*mock.Call
}

func (NodeBuilder_GetUpstreamNodeIds) Return ¶ added in v0.1.13

type NodeBuilder_GetWorkflowNode ¶ added in v0.1.13

type NodeBuilder_GetWorkflowNode struct {
	*mock.Call
}

func (NodeBuilder_GetWorkflowNode) Return ¶ added in v0.1.13

type Node_GetBranchNode ¶ added in v0.1.13

type Node_GetBranchNode struct {
	*mock.Call
}

func (Node_GetBranchNode) Return ¶ added in v0.1.13

type Node_GetCoreNode ¶ added in v0.1.13

type Node_GetCoreNode struct {
	*mock.Call
}

func (Node_GetCoreNode) Return ¶ added in v0.1.13

func (_m Node_GetCoreNode) Return(_a0 *core.Node) *Node_GetCoreNode

type Node_GetId ¶ added in v0.1.13

type Node_GetId struct {
	*mock.Call
}

func (Node_GetId) Return ¶ added in v0.1.13

func (_m Node_GetId) Return(_a0 string) *Node_GetId

type Node_GetInputs ¶ added in v0.1.13

type Node_GetInputs struct {
	*mock.Call
}

func (Node_GetInputs) Return ¶ added in v0.1.13

func (_m Node_GetInputs) Return(_a0 []*core.Binding) *Node_GetInputs

type Node_GetInterface ¶ added in v0.1.13

type Node_GetInterface struct {
	*mock.Call
}

func (Node_GetInterface) Return ¶ added in v0.1.13

type Node_GetMetadata ¶ added in v0.1.13

type Node_GetMetadata struct {
	*mock.Call
}

func (Node_GetMetadata) Return ¶ added in v0.1.13

type Node_GetOutputAliases ¶ added in v0.1.13

type Node_GetOutputAliases struct {
	*mock.Call
}

func (Node_GetOutputAliases) Return ¶ added in v0.1.13

type Node_GetSubWorkflow ¶ added in v0.1.13

type Node_GetSubWorkflow struct {
	*mock.Call
}

func (Node_GetSubWorkflow) Return ¶ added in v0.1.13

type Node_GetTask ¶ added in v0.1.13

type Node_GetTask struct {
	*mock.Call
}

func (Node_GetTask) Return ¶ added in v0.1.13

func (_m Node_GetTask) Return(_a0 common.Task) *Node_GetTask

type Node_GetTaskNode ¶ added in v0.1.13

type Node_GetTaskNode struct {
	*mock.Call
}

func (Node_GetTaskNode) Return ¶ added in v0.1.13

type Node_GetUpstreamNodeIds ¶ added in v0.1.13

type Node_GetUpstreamNodeIds struct {
	*mock.Call
}

func (Node_GetUpstreamNodeIds) Return ¶ added in v0.1.13

type Node_GetWorkflowNode ¶ added in v0.1.13

type Node_GetWorkflowNode struct {
	*mock.Call
}

func (Node_GetWorkflowNode) Return ¶ added in v0.1.13

type Task ¶

type Task struct {
	mock.Mock
}

Task is an autogenerated mock type for the Task type

func (*Task) GetCoreTask ¶

func (_m *Task) GetCoreTask() *core.TaskTemplate

GetCoreTask provides a mock function with given fields:

func (*Task) GetID ¶

func (_m *Task) GetID() core.Identifier

GetID provides a mock function with given fields:

func (*Task) GetInterface ¶

func (_m *Task) GetInterface() *core.TypedInterface

GetInterface provides a mock function with given fields:

func (*Task) OnGetCoreTask ¶ added in v0.1.13

func (_m *Task) OnGetCoreTask() *Task_GetCoreTask

func (*Task) OnGetCoreTaskMatch ¶ added in v0.1.13

func (_m *Task) OnGetCoreTaskMatch(matchers ...interface{}) *Task_GetCoreTask

func (*Task) OnGetID ¶ added in v0.1.13

func (_m *Task) OnGetID() *Task_GetID

func (*Task) OnGetIDMatch ¶ added in v0.1.13

func (_m *Task) OnGetIDMatch(matchers ...interface{}) *Task_GetID

func (*Task) OnGetInterface ¶ added in v0.1.13

func (_m *Task) OnGetInterface() *Task_GetInterface

func (*Task) OnGetInterfaceMatch ¶ added in v0.1.13

func (_m *Task) OnGetInterfaceMatch(matchers ...interface{}) *Task_GetInterface

type Task_GetCoreTask ¶ added in v0.1.13

type Task_GetCoreTask struct {
	*mock.Call
}

func (Task_GetCoreTask) Return ¶ added in v0.1.13

type Task_GetID ¶ added in v0.1.13

type Task_GetID struct {
	*mock.Call
}

func (Task_GetID) Return ¶ added in v0.1.13

func (_m Task_GetID) Return(_a0 core.Identifier) *Task_GetID

type Task_GetInterface ¶ added in v0.1.13

type Task_GetInterface struct {
	*mock.Call
}

func (Task_GetInterface) Return ¶ added in v0.1.13

type Workflow ¶

type Workflow struct {
	mock.Mock
}

Workflow is an autogenerated mock type for the Workflow type

func (*Workflow) GetCoreWorkflow ¶

func (_m *Workflow) GetCoreWorkflow() *core.CompiledWorkflow

GetCoreWorkflow provides a mock function with given fields:

func (*Workflow) GetDownstreamNodes ¶

func (_m *Workflow) GetDownstreamNodes() common.StringAdjacencyList

GetDownstreamNodes provides a mock function with given fields:

func (*Workflow) GetFailureNode ¶

func (_m *Workflow) GetFailureNode() common.Node

GetFailureNode provides a mock function with given fields:

func (*Workflow) GetLaunchPlan ¶

func (_m *Workflow) GetLaunchPlan(id core.Identifier) (common.InterfaceProvider, bool)

GetLaunchPlan provides a mock function with given fields: id

func (*Workflow) GetNode ¶

func (_m *Workflow) GetNode(id string) (common.NodeBuilder, bool)

GetNode provides a mock function with given fields: id

func (*Workflow) GetNodes ¶

func (_m *Workflow) GetNodes() common.NodeIndex

GetNodes provides a mock function with given fields:

func (*Workflow) GetSubWorkflow ¶

func (_m *Workflow) GetSubWorkflow(id core.Identifier) (*core.CompiledWorkflow, bool)

GetSubWorkflow provides a mock function with given fields: id

func (*Workflow) GetTask ¶

func (_m *Workflow) GetTask(id core.Identifier) (common.Task, bool)

GetTask provides a mock function with given fields: id

func (*Workflow) GetTasks ¶

func (_m *Workflow) GetTasks() common.TaskIndex

GetTasks provides a mock function with given fields:

func (*Workflow) GetUpstreamNodes ¶

func (_m *Workflow) GetUpstreamNodes() common.StringAdjacencyList

GetUpstreamNodes provides a mock function with given fields:

func (*Workflow) OnGetCoreWorkflow ¶ added in v0.1.13

func (_m *Workflow) OnGetCoreWorkflow() *Workflow_GetCoreWorkflow

func (*Workflow) OnGetCoreWorkflowMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetCoreWorkflowMatch(matchers ...interface{}) *Workflow_GetCoreWorkflow

func (*Workflow) OnGetDownstreamNodes ¶ added in v0.1.13

func (_m *Workflow) OnGetDownstreamNodes() *Workflow_GetDownstreamNodes

func (*Workflow) OnGetDownstreamNodesMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetDownstreamNodesMatch(matchers ...interface{}) *Workflow_GetDownstreamNodes

func (*Workflow) OnGetFailureNode ¶ added in v0.1.13

func (_m *Workflow) OnGetFailureNode() *Workflow_GetFailureNode

func (*Workflow) OnGetFailureNodeMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetFailureNodeMatch(matchers ...interface{}) *Workflow_GetFailureNode

func (*Workflow) OnGetLaunchPlan ¶ added in v0.1.13

func (_m *Workflow) OnGetLaunchPlan(id core.Identifier) *Workflow_GetLaunchPlan

func (*Workflow) OnGetLaunchPlanMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetLaunchPlanMatch(matchers ...interface{}) *Workflow_GetLaunchPlan

func (*Workflow) OnGetNode ¶ added in v0.1.13

func (_m *Workflow) OnGetNode(id string) *Workflow_GetNode

func (*Workflow) OnGetNodeMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetNodeMatch(matchers ...interface{}) *Workflow_GetNode

func (*Workflow) OnGetNodes ¶ added in v0.1.13

func (_m *Workflow) OnGetNodes() *Workflow_GetNodes

func (*Workflow) OnGetNodesMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetNodesMatch(matchers ...interface{}) *Workflow_GetNodes

func (*Workflow) OnGetSubWorkflow ¶ added in v0.1.13

func (_m *Workflow) OnGetSubWorkflow(id core.Identifier) *Workflow_GetSubWorkflow

func (*Workflow) OnGetSubWorkflowMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetSubWorkflowMatch(matchers ...interface{}) *Workflow_GetSubWorkflow

func (*Workflow) OnGetTask ¶ added in v0.1.13

func (_m *Workflow) OnGetTask(id core.Identifier) *Workflow_GetTask

func (*Workflow) OnGetTaskMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetTaskMatch(matchers ...interface{}) *Workflow_GetTask

func (*Workflow) OnGetTasks ¶ added in v0.1.13

func (_m *Workflow) OnGetTasks() *Workflow_GetTasks

func (*Workflow) OnGetTasksMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetTasksMatch(matchers ...interface{}) *Workflow_GetTasks

func (*Workflow) OnGetUpstreamNodes ¶ added in v0.1.13

func (_m *Workflow) OnGetUpstreamNodes() *Workflow_GetUpstreamNodes

func (*Workflow) OnGetUpstreamNodesMatch ¶ added in v0.1.13

func (_m *Workflow) OnGetUpstreamNodesMatch(matchers ...interface{}) *Workflow_GetUpstreamNodes

type WorkflowBuilder ¶

type WorkflowBuilder struct {
	mock.Mock
}

WorkflowBuilder is an autogenerated mock type for the WorkflowBuilder type

func (*WorkflowBuilder) AddExecutionEdge ¶

func (_m *WorkflowBuilder) AddExecutionEdge(nodeFrom string, nodeTo string)

AddExecutionEdge provides a mock function with given fields: nodeFrom, nodeTo

func (*WorkflowBuilder) AddNode ¶

AddNode provides a mock function with given fields: n, errs

func (*WorkflowBuilder) GetCoreWorkflow ¶

func (_m *WorkflowBuilder) GetCoreWorkflow() *core.CompiledWorkflow

GetCoreWorkflow provides a mock function with given fields:

func (*WorkflowBuilder) GetDownstreamNodes ¶

func (_m *WorkflowBuilder) GetDownstreamNodes() common.StringAdjacencyList

GetDownstreamNodes provides a mock function with given fields:

func (*WorkflowBuilder) GetFailureNode ¶

func (_m *WorkflowBuilder) GetFailureNode() common.Node

GetFailureNode provides a mock function with given fields:

func (*WorkflowBuilder) GetLaunchPlan ¶

func (_m *WorkflowBuilder) GetLaunchPlan(id core.Identifier) (common.InterfaceProvider, bool)

GetLaunchPlan provides a mock function with given fields: id

func (*WorkflowBuilder) GetNode ¶

func (_m *WorkflowBuilder) GetNode(id string) (common.NodeBuilder, bool)

GetNode provides a mock function with given fields: id

func (*WorkflowBuilder) GetNodes ¶

func (_m *WorkflowBuilder) GetNodes() common.NodeIndex

GetNodes provides a mock function with given fields:

func (*WorkflowBuilder) GetSubWorkflow ¶

func (_m *WorkflowBuilder) GetSubWorkflow(id core.Identifier) (*core.CompiledWorkflow, bool)

GetSubWorkflow provides a mock function with given fields: id

func (*WorkflowBuilder) GetTask ¶

func (_m *WorkflowBuilder) GetTask(id core.Identifier) (common.Task, bool)

GetTask provides a mock function with given fields: id

func (*WorkflowBuilder) GetTasks ¶

func (_m *WorkflowBuilder) GetTasks() common.TaskIndex

GetTasks provides a mock function with given fields:

func (*WorkflowBuilder) GetUpstreamNodes ¶

func (_m *WorkflowBuilder) GetUpstreamNodes() common.StringAdjacencyList

GetUpstreamNodes provides a mock function with given fields:

func (*WorkflowBuilder) NewNodeBuilder ¶

func (_m *WorkflowBuilder) NewNodeBuilder(n *core.Node) common.NodeBuilder

NewNodeBuilder provides a mock function with given fields: n

func (*WorkflowBuilder) OnAddNode ¶ added in v0.1.13

func (*WorkflowBuilder) OnAddNodeMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnAddNodeMatch(matchers ...interface{}) *WorkflowBuilder_AddNode

func (*WorkflowBuilder) OnGetCoreWorkflow ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetCoreWorkflow() *WorkflowBuilder_GetCoreWorkflow

func (*WorkflowBuilder) OnGetCoreWorkflowMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetCoreWorkflowMatch(matchers ...interface{}) *WorkflowBuilder_GetCoreWorkflow

func (*WorkflowBuilder) OnGetDownstreamNodes ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetDownstreamNodes() *WorkflowBuilder_GetDownstreamNodes

func (*WorkflowBuilder) OnGetDownstreamNodesMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetDownstreamNodesMatch(matchers ...interface{}) *WorkflowBuilder_GetDownstreamNodes

func (*WorkflowBuilder) OnGetFailureNode ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetFailureNode() *WorkflowBuilder_GetFailureNode

func (*WorkflowBuilder) OnGetFailureNodeMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetFailureNodeMatch(matchers ...interface{}) *WorkflowBuilder_GetFailureNode

func (*WorkflowBuilder) OnGetLaunchPlan ¶ added in v0.1.13

func (*WorkflowBuilder) OnGetLaunchPlanMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetLaunchPlanMatch(matchers ...interface{}) *WorkflowBuilder_GetLaunchPlan

func (*WorkflowBuilder) OnGetNode ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetNode(id string) *WorkflowBuilder_GetNode

func (*WorkflowBuilder) OnGetNodeMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetNodeMatch(matchers ...interface{}) *WorkflowBuilder_GetNode

func (*WorkflowBuilder) OnGetNodes ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetNodes() *WorkflowBuilder_GetNodes

func (*WorkflowBuilder) OnGetNodesMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetNodesMatch(matchers ...interface{}) *WorkflowBuilder_GetNodes

func (*WorkflowBuilder) OnGetSubWorkflow ¶ added in v0.1.13

func (*WorkflowBuilder) OnGetSubWorkflowMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetSubWorkflowMatch(matchers ...interface{}) *WorkflowBuilder_GetSubWorkflow

func (*WorkflowBuilder) OnGetTask ¶ added in v0.1.13

func (*WorkflowBuilder) OnGetTaskMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetTaskMatch(matchers ...interface{}) *WorkflowBuilder_GetTask

func (*WorkflowBuilder) OnGetTasks ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetTasks() *WorkflowBuilder_GetTasks

func (*WorkflowBuilder) OnGetTasksMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetTasksMatch(matchers ...interface{}) *WorkflowBuilder_GetTasks

func (*WorkflowBuilder) OnGetUpstreamNodes ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetUpstreamNodes() *WorkflowBuilder_GetUpstreamNodes

func (*WorkflowBuilder) OnGetUpstreamNodesMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnGetUpstreamNodesMatch(matchers ...interface{}) *WorkflowBuilder_GetUpstreamNodes

func (*WorkflowBuilder) OnNewNodeBuilder ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnNewNodeBuilder(n *core.Node) *WorkflowBuilder_NewNodeBuilder

func (*WorkflowBuilder) OnNewNodeBuilderMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnNewNodeBuilderMatch(matchers ...interface{}) *WorkflowBuilder_NewNodeBuilder

func (*WorkflowBuilder) OnValidateWorkflow ¶ added in v0.1.13

func (*WorkflowBuilder) OnValidateWorkflowMatch ¶ added in v0.1.13

func (_m *WorkflowBuilder) OnValidateWorkflowMatch(matchers ...interface{}) *WorkflowBuilder_ValidateWorkflow

func (*WorkflowBuilder) ValidateWorkflow ¶

func (_m *WorkflowBuilder) ValidateWorkflow(fg *core.CompiledWorkflow, errs errors.CompileErrors) (common.Workflow, bool)

ValidateWorkflow provides a mock function with given fields: fg, errs

type WorkflowBuilder_AddNode ¶ added in v0.1.13

type WorkflowBuilder_AddNode struct {
	*mock.Call
}

func (WorkflowBuilder_AddNode) Return ¶ added in v0.1.13

type WorkflowBuilder_GetCoreWorkflow ¶ added in v0.1.13

type WorkflowBuilder_GetCoreWorkflow struct {
	*mock.Call
}

func (WorkflowBuilder_GetCoreWorkflow) Return ¶ added in v0.1.13

type WorkflowBuilder_GetDownstreamNodes ¶ added in v0.1.13

type WorkflowBuilder_GetDownstreamNodes struct {
	*mock.Call
}

func (WorkflowBuilder_GetDownstreamNodes) Return ¶ added in v0.1.13

type WorkflowBuilder_GetFailureNode ¶ added in v0.1.13

type WorkflowBuilder_GetFailureNode struct {
	*mock.Call
}

func (WorkflowBuilder_GetFailureNode) Return ¶ added in v0.1.13

type WorkflowBuilder_GetLaunchPlan ¶ added in v0.1.13

type WorkflowBuilder_GetLaunchPlan struct {
	*mock.Call
}

func (WorkflowBuilder_GetLaunchPlan) Return ¶ added in v0.1.13

type WorkflowBuilder_GetNode ¶ added in v0.1.13

type WorkflowBuilder_GetNode struct {
	*mock.Call
}

func (WorkflowBuilder_GetNode) Return ¶ added in v0.1.13

type WorkflowBuilder_GetNodes ¶ added in v0.1.13

type WorkflowBuilder_GetNodes struct {
	*mock.Call
}

func (WorkflowBuilder_GetNodes) Return ¶ added in v0.1.13

type WorkflowBuilder_GetSubWorkflow ¶ added in v0.1.13

type WorkflowBuilder_GetSubWorkflow struct {
	*mock.Call
}

func (WorkflowBuilder_GetSubWorkflow) Return ¶ added in v0.1.13

type WorkflowBuilder_GetTask ¶ added in v0.1.13

type WorkflowBuilder_GetTask struct {
	*mock.Call
}

func (WorkflowBuilder_GetTask) Return ¶ added in v0.1.13

type WorkflowBuilder_GetTasks ¶ added in v0.1.13

type WorkflowBuilder_GetTasks struct {
	*mock.Call
}

func (WorkflowBuilder_GetTasks) Return ¶ added in v0.1.13

type WorkflowBuilder_GetUpstreamNodes ¶ added in v0.1.13

type WorkflowBuilder_GetUpstreamNodes struct {
	*mock.Call
}

func (WorkflowBuilder_GetUpstreamNodes) Return ¶ added in v0.1.13

type WorkflowBuilder_NewNodeBuilder ¶ added in v0.1.13

type WorkflowBuilder_NewNodeBuilder struct {
	*mock.Call
}

func (WorkflowBuilder_NewNodeBuilder) Return ¶ added in v0.1.13

type WorkflowBuilder_ValidateWorkflow ¶ added in v0.1.13

type WorkflowBuilder_ValidateWorkflow struct {
	*mock.Call
}

func (WorkflowBuilder_ValidateWorkflow) Return ¶ added in v0.1.13

type Workflow_GetCoreWorkflow ¶ added in v0.1.13

type Workflow_GetCoreWorkflow struct {
	*mock.Call
}

func (Workflow_GetCoreWorkflow) Return ¶ added in v0.1.13

type Workflow_GetDownstreamNodes ¶ added in v0.1.13

type Workflow_GetDownstreamNodes struct {
	*mock.Call
}

func (Workflow_GetDownstreamNodes) Return ¶ added in v0.1.13

type Workflow_GetFailureNode ¶ added in v0.1.13

type Workflow_GetFailureNode struct {
	*mock.Call
}

func (Workflow_GetFailureNode) Return ¶ added in v0.1.13

type Workflow_GetLaunchPlan ¶ added in v0.1.13

type Workflow_GetLaunchPlan struct {
	*mock.Call
}

func (Workflow_GetLaunchPlan) Return ¶ added in v0.1.13

type Workflow_GetNode ¶ added in v0.1.13

type Workflow_GetNode struct {
	*mock.Call
}

func (Workflow_GetNode) Return ¶ added in v0.1.13

func (_m Workflow_GetNode) Return(node common.NodeBuilder, found bool) *Workflow_GetNode

type Workflow_GetNodes ¶ added in v0.1.13

type Workflow_GetNodes struct {
	*mock.Call
}

func (Workflow_GetNodes) Return ¶ added in v0.1.13

type Workflow_GetSubWorkflow ¶ added in v0.1.13

type Workflow_GetSubWorkflow struct {
	*mock.Call
}

func (Workflow_GetSubWorkflow) Return ¶ added in v0.1.13

type Workflow_GetTask ¶ added in v0.1.13

type Workflow_GetTask struct {
	*mock.Call
}

func (Workflow_GetTask) Return ¶ added in v0.1.13

func (_m Workflow_GetTask) Return(task common.Task, found bool) *Workflow_GetTask

type Workflow_GetTasks ¶ added in v0.1.13

type Workflow_GetTasks struct {
	*mock.Call
}

func (Workflow_GetTasks) Return ¶ added in v0.1.13

type Workflow_GetUpstreamNodes ¶ added in v0.1.13

type Workflow_GetUpstreamNodes struct {
	*mock.Call
}

func (Workflow_GetUpstreamNodes) Return ¶ added in v0.1.13

Jump to

Keyboard shortcuts

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