mocks

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseNode

type BaseNode struct {
	mock.Mock
}

BaseNode is an autogenerated mock type for the BaseNode type

func (*BaseNode) GetID

func (_m *BaseNode) GetID() string

GetID provides a mock function with given fields:

func (*BaseNode) GetKind

func (_m *BaseNode) GetKind() v1alpha1.NodeKind

GetKind provides a mock function with given fields:

type BaseWorkflow

type BaseWorkflow struct {
	mock.Mock
}

BaseWorkflow is an autogenerated mock type for the BaseWorkflow type

func (*BaseWorkflow) FromNode

func (_m *BaseWorkflow) FromNode(name string) ([]string, error)

FromNode provides a mock function with given fields: name

func (*BaseWorkflow) GetID

func (_m *BaseWorkflow) GetID() string

GetID provides a mock function with given fields:

func (*BaseWorkflow) GetNode

func (_m *BaseWorkflow) GetNode(nodeID string) (v1alpha1.ExecutableNode, bool)

GetNode provides a mock function with given fields: nodeID

func (*BaseWorkflow) StartNode

func (_m *BaseWorkflow) StartNode() v1alpha1.ExecutableNode

StartNode provides a mock function with given fields:

type BaseWorkflowWithStatus

type BaseWorkflowWithStatus struct {
	mock.Mock
}

BaseWorkflowWithStatus is an autogenerated mock type for the BaseWorkflowWithStatus type

func (*BaseWorkflowWithStatus) FromNode

func (_m *BaseWorkflowWithStatus) FromNode(name string) ([]string, error)

FromNode provides a mock function with given fields: name

func (*BaseWorkflowWithStatus) GetID

func (_m *BaseWorkflowWithStatus) GetID() string

GetID provides a mock function with given fields:

func (*BaseWorkflowWithStatus) GetNode

func (_m *BaseWorkflowWithStatus) GetNode(nodeID string) (v1alpha1.ExecutableNode, bool)

GetNode provides a mock function with given fields: nodeID

func (*BaseWorkflowWithStatus) GetNodeExecutionStatus

func (_m *BaseWorkflowWithStatus) GetNodeExecutionStatus(id string) v1alpha1.ExecutableNodeStatus

GetNodeExecutionStatus provides a mock function with given fields: id

func (*BaseWorkflowWithStatus) StartNode

StartNode provides a mock function with given fields:

type ExecutableBranchNode

type ExecutableBranchNode struct {
	mock.Mock
}

ExecutableBranchNode is an autogenerated mock type for the ExecutableBranchNode type

func (*ExecutableBranchNode) GetElse

func (_m *ExecutableBranchNode) GetElse() *string

GetElse provides a mock function with given fields:

func (*ExecutableBranchNode) GetElseFail

func (_m *ExecutableBranchNode) GetElseFail() *core.Error

GetElseFail provides a mock function with given fields:

func (*ExecutableBranchNode) GetElseIf

GetElseIf provides a mock function with given fields:

func (*ExecutableBranchNode) GetIf

GetIf provides a mock function with given fields:

type ExecutableBranchNodeStatus

type ExecutableBranchNodeStatus struct {
	mock.Mock
}

ExecutableBranchNodeStatus is an autogenerated mock type for the ExecutableBranchNodeStatus type

func (*ExecutableBranchNodeStatus) GetFinalizedNode

func (_m *ExecutableBranchNodeStatus) GetFinalizedNode() *string

GetFinalizedNode provides a mock function with given fields:

func (*ExecutableBranchNodeStatus) GetPhase

GetPhase provides a mock function with given fields:

type ExecutableDynamicNodeStatus

type ExecutableDynamicNodeStatus struct {
	mock.Mock
}

ExecutableDynamicNodeStatus is an autogenerated mock type for the ExecutableDynamicNodeStatus type

func (*ExecutableDynamicNodeStatus) GetDynamicNodePhase

func (_m *ExecutableDynamicNodeStatus) GetDynamicNodePhase() v1alpha1.DynamicNodePhase

GetDynamicNodePhase provides a mock function with given fields:

type ExecutableIfBlock

type ExecutableIfBlock struct {
	mock.Mock
}

ExecutableIfBlock is an autogenerated mock type for the ExecutableIfBlock type

func (*ExecutableIfBlock) GetCondition

func (_m *ExecutableIfBlock) GetCondition() *core.BooleanExpression

GetCondition provides a mock function with given fields:

func (*ExecutableIfBlock) GetThenNode

func (_m *ExecutableIfBlock) GetThenNode() *string

GetThenNode provides a mock function with given fields:

type ExecutableNode

type ExecutableNode struct {
	mock.Mock
}

ExecutableNode is an autogenerated mock type for the ExecutableNode type

func (*ExecutableNode) GetBranchNode

func (_m *ExecutableNode) GetBranchNode() v1alpha1.ExecutableBranchNode

GetBranchNode provides a mock function with given fields:

func (*ExecutableNode) GetConfig

func (_m *ExecutableNode) GetConfig() *v1.ConfigMap

GetConfig provides a mock function with given fields:

func (*ExecutableNode) GetID

func (_m *ExecutableNode) GetID() string

GetID provides a mock function with given fields:

func (*ExecutableNode) GetInputBindings

func (_m *ExecutableNode) GetInputBindings() []*v1alpha1.Binding

GetInputBindings provides a mock function with given fields:

func (*ExecutableNode) GetKind

func (_m *ExecutableNode) GetKind() v1alpha1.NodeKind

GetKind provides a mock function with given fields:

func (*ExecutableNode) GetOutputAlias

func (_m *ExecutableNode) GetOutputAlias() []v1alpha1.Alias

GetOutputAlias provides a mock function with given fields:

func (*ExecutableNode) GetResources

func (_m *ExecutableNode) GetResources() *v1.ResourceRequirements

GetResources provides a mock function with given fields:

func (*ExecutableNode) GetRetryStrategy

func (_m *ExecutableNode) GetRetryStrategy() *v1alpha1.RetryStrategy

GetRetryStrategy provides a mock function with given fields:

func (*ExecutableNode) GetTaskID

func (_m *ExecutableNode) GetTaskID() *string

GetTaskID provides a mock function with given fields:

func (*ExecutableNode) GetWorkflowNode

func (_m *ExecutableNode) GetWorkflowNode() v1alpha1.ExecutableWorkflowNode

GetWorkflowNode provides a mock function with given fields:

func (*ExecutableNode) IsEndNode

func (_m *ExecutableNode) IsEndNode() bool

IsEndNode provides a mock function with given fields:

func (*ExecutableNode) IsStartNode

func (_m *ExecutableNode) IsStartNode() bool

IsStartNode provides a mock function with given fields:

type ExecutableNodeStatus

type ExecutableNodeStatus struct {
	mock.Mock
}

ExecutableNodeStatus is an autogenerated mock type for the ExecutableNodeStatus type

func (*ExecutableNodeStatus) ClearDynamicNodeStatus

func (_m *ExecutableNodeStatus) ClearDynamicNodeStatus()

ClearDynamicNodeStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) ClearSubWorkflowStatus

func (_m *ExecutableNodeStatus) ClearSubWorkflowStatus()

ClearSubWorkflowStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) ClearTaskStatus

func (_m *ExecutableNodeStatus) ClearTaskStatus()

ClearTaskStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) ClearWorkflowStatus

func (_m *ExecutableNodeStatus) ClearWorkflowStatus()

ClearWorkflowStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) GetAttempts

func (_m *ExecutableNodeStatus) GetAttempts() uint32

GetAttempts provides a mock function with given fields:

func (*ExecutableNodeStatus) GetDataDir

func (_m *ExecutableNodeStatus) GetDataDir() storage.DataReference

GetDataDir provides a mock function with given fields:

func (*ExecutableNodeStatus) GetLastUpdatedAt

func (_m *ExecutableNodeStatus) GetLastUpdatedAt() *v1.Time

GetLastUpdatedAt provides a mock function with given fields:

func (*ExecutableNodeStatus) GetMessage

func (_m *ExecutableNodeStatus) GetMessage() string

GetMessage provides a mock function with given fields:

func (*ExecutableNodeStatus) GetNodeExecutionStatus

func (_m *ExecutableNodeStatus) GetNodeExecutionStatus(id string) v1alpha1.ExecutableNodeStatus

GetNodeExecutionStatus provides a mock function with given fields: id

func (*ExecutableNodeStatus) GetOrCreateBranchStatus

func (_m *ExecutableNodeStatus) GetOrCreateBranchStatus() v1alpha1.MutableBranchNodeStatus

GetOrCreateBranchStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) GetOrCreateDynamicNodeStatus

func (_m *ExecutableNodeStatus) GetOrCreateDynamicNodeStatus() v1alpha1.MutableDynamicNodeStatus

GetOrCreateDynamicNodeStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) GetOrCreateSubWorkflowStatus

func (_m *ExecutableNodeStatus) GetOrCreateSubWorkflowStatus() v1alpha1.MutableSubWorkflowNodeStatus

GetOrCreateSubWorkflowStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) GetOrCreateTaskStatus

func (_m *ExecutableNodeStatus) GetOrCreateTaskStatus() v1alpha1.MutableTaskNodeStatus

GetOrCreateTaskStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) GetOrCreateWorkflowStatus

func (_m *ExecutableNodeStatus) GetOrCreateWorkflowStatus() v1alpha1.MutableWorkflowNodeStatus

GetOrCreateWorkflowStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) GetParentNodeID

func (_m *ExecutableNodeStatus) GetParentNodeID() *string

GetParentNodeID provides a mock function with given fields:

func (*ExecutableNodeStatus) GetParentTaskID

func (_m *ExecutableNodeStatus) GetParentTaskID() *core.TaskExecutionIdentifier

GetParentTaskID provides a mock function with given fields:

func (*ExecutableNodeStatus) GetPhase

func (_m *ExecutableNodeStatus) GetPhase() v1alpha1.NodePhase

GetPhase provides a mock function with given fields:

func (*ExecutableNodeStatus) GetQueuedAt

func (_m *ExecutableNodeStatus) GetQueuedAt() *v1.Time

GetQueuedAt provides a mock function with given fields:

func (*ExecutableNodeStatus) GetStartedAt

func (_m *ExecutableNodeStatus) GetStartedAt() *v1.Time

GetStartedAt provides a mock function with given fields:

func (*ExecutableNodeStatus) GetStoppedAt

func (_m *ExecutableNodeStatus) GetStoppedAt() *v1.Time

GetStoppedAt provides a mock function with given fields:

func (*ExecutableNodeStatus) GetSubWorkflowNodeStatus

func (_m *ExecutableNodeStatus) GetSubWorkflowNodeStatus() v1alpha1.ExecutableSubWorkflowNodeStatus

GetSubWorkflowNodeStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) GetTaskNodeStatus

func (_m *ExecutableNodeStatus) GetTaskNodeStatus() v1alpha1.ExecutableTaskNodeStatus

GetTaskNodeStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) GetWorkflowNodeStatus

func (_m *ExecutableNodeStatus) GetWorkflowNodeStatus() v1alpha1.ExecutableWorkflowNodeStatus

GetWorkflowNodeStatus provides a mock function with given fields:

func (*ExecutableNodeStatus) IncrementAttempts

func (_m *ExecutableNodeStatus) IncrementAttempts() uint32

IncrementAttempts provides a mock function with given fields:

func (*ExecutableNodeStatus) IsCached

func (_m *ExecutableNodeStatus) IsCached() bool

IsCached provides a mock function with given fields:

func (*ExecutableNodeStatus) IsDirty

func (_m *ExecutableNodeStatus) IsDirty() bool

IsDirty provides a mock function with given fields:

func (*ExecutableNodeStatus) ResetDirty

func (_m *ExecutableNodeStatus) ResetDirty()

ResetDirty provides a mock function with given fields:

func (*ExecutableNodeStatus) SetCached

func (_m *ExecutableNodeStatus) SetCached()

SetCached provides a mock function with given fields:

func (*ExecutableNodeStatus) SetDataDir

func (_m *ExecutableNodeStatus) SetDataDir(_a0 storage.DataReference)

SetDataDir provides a mock function with given fields: _a0

func (*ExecutableNodeStatus) SetParentNodeID

func (_m *ExecutableNodeStatus) SetParentNodeID(n *string)

SetParentNodeID provides a mock function with given fields: n

func (*ExecutableNodeStatus) SetParentTaskID

func (_m *ExecutableNodeStatus) SetParentTaskID(t *core.TaskExecutionIdentifier)

SetParentTaskID provides a mock function with given fields: t

func (*ExecutableNodeStatus) UpdatePhase

func (_m *ExecutableNodeStatus) UpdatePhase(phase v1alpha1.NodePhase, occurredAt v1.Time, reason string)

UpdatePhase provides a mock function with given fields: phase, occurredAt, reason

func (*ExecutableNodeStatus) VisitNodeStatuses

func (_m *ExecutableNodeStatus) VisitNodeStatuses(visitor func(string, v1alpha1.ExecutableNodeStatus))

VisitNodeStatuses provides a mock function with given fields: visitor

type ExecutableSubWorkflow

type ExecutableSubWorkflow struct {
	mock.Mock
}

ExecutableSubWorkflow is an autogenerated mock type for the ExecutableSubWorkflow type

func (*ExecutableSubWorkflow) FromNode

func (_m *ExecutableSubWorkflow) FromNode(name string) ([]string, error)

FromNode provides a mock function with given fields: name

func (*ExecutableSubWorkflow) GetConnections

func (_m *ExecutableSubWorkflow) GetConnections() *v1alpha1.Connections

GetConnections provides a mock function with given fields:

func (*ExecutableSubWorkflow) GetID

func (_m *ExecutableSubWorkflow) GetID() string

GetID provides a mock function with given fields:

func (*ExecutableSubWorkflow) GetNode

func (_m *ExecutableSubWorkflow) GetNode(nodeID string) (v1alpha1.ExecutableNode, bool)

GetNode provides a mock function with given fields: nodeID

func (*ExecutableSubWorkflow) GetNodes

func (_m *ExecutableSubWorkflow) GetNodes() []string

GetNodes provides a mock function with given fields:

func (*ExecutableSubWorkflow) GetOnFailureNode

func (_m *ExecutableSubWorkflow) GetOnFailureNode() v1alpha1.ExecutableNode

GetOnFailureNode provides a mock function with given fields:

func (*ExecutableSubWorkflow) GetOutputBindings

func (_m *ExecutableSubWorkflow) GetOutputBindings() []*v1alpha1.Binding

GetOutputBindings provides a mock function with given fields:

func (*ExecutableSubWorkflow) GetOutputs

func (_m *ExecutableSubWorkflow) GetOutputs() *v1alpha1.OutputVarMap

GetOutputs provides a mock function with given fields:

func (*ExecutableSubWorkflow) StartNode

StartNode provides a mock function with given fields:

type ExecutableSubWorkflowNodeStatus

type ExecutableSubWorkflowNodeStatus struct {
	mock.Mock
}

ExecutableSubWorkflowNodeStatus is an autogenerated mock type for the ExecutableSubWorkflowNodeStatus type

func (*ExecutableSubWorkflowNodeStatus) GetPhase

GetPhase provides a mock function with given fields:

type ExecutableTask

type ExecutableTask struct {
	mock.Mock
}

ExecutableTask is an autogenerated mock type for the ExecutableTask type

func (*ExecutableTask) CoreTask

func (_m *ExecutableTask) CoreTask() *core.TaskTemplate

CoreTask provides a mock function with given fields:

func (*ExecutableTask) TaskType

func (_m *ExecutableTask) TaskType() string

TaskType provides a mock function with given fields:

type ExecutableTaskNodeStatus

type ExecutableTaskNodeStatus struct {
	mock.Mock
}

ExecutableTaskNodeStatus is an autogenerated mock type for the ExecutableTaskNodeStatus type

func (*ExecutableTaskNodeStatus) GetCustomState

func (_m *ExecutableTaskNodeStatus) GetCustomState() map[string]interface{}

GetCustomState provides a mock function with given fields:

func (*ExecutableTaskNodeStatus) GetPhase

func (_m *ExecutableTaskNodeStatus) GetPhase() types.TaskPhase

GetPhase provides a mock function with given fields:

func (*ExecutableTaskNodeStatus) GetPhaseVersion

func (_m *ExecutableTaskNodeStatus) GetPhaseVersion() uint32

GetPhaseVersion provides a mock function with given fields:

type ExecutableWorkflow

type ExecutableWorkflow struct {
	mock.Mock
}

ExecutableWorkflow is an autogenerated mock type for the ExecutableWorkflow type

func (*ExecutableWorkflow) FindSubWorkflow

func (_m *ExecutableWorkflow) FindSubWorkflow(subID string) v1alpha1.ExecutableSubWorkflow

FindSubWorkflow provides a mock function with given fields: subID

func (*ExecutableWorkflow) FromNode

func (_m *ExecutableWorkflow) FromNode(name string) ([]string, error)

FromNode provides a mock function with given fields: name

func (*ExecutableWorkflow) GetAnnotations

func (_m *ExecutableWorkflow) GetAnnotations() map[string]string

GetAnnotations provides a mock function with given fields:

func (*ExecutableWorkflow) GetConnections

func (_m *ExecutableWorkflow) GetConnections() *v1alpha1.Connections

GetConnections provides a mock function with given fields:

func (*ExecutableWorkflow) GetCreationTimestamp

func (_m *ExecutableWorkflow) GetCreationTimestamp() v1.Time

GetCreationTimestamp provides a mock function with given fields:

func (*ExecutableWorkflow) GetExecutionID

GetExecutionID provides a mock function with given fields:

func (*ExecutableWorkflow) GetExecutionStatus

func (_m *ExecutableWorkflow) GetExecutionStatus() v1alpha1.ExecutableWorkflowStatus

GetExecutionStatus provides a mock function with given fields:

func (*ExecutableWorkflow) GetID

func (_m *ExecutableWorkflow) GetID() string

GetID provides a mock function with given fields:

func (*ExecutableWorkflow) GetK8sWorkflowID

func (_m *ExecutableWorkflow) GetK8sWorkflowID() types.NamespacedName

GetK8sWorkflowID provides a mock function with given fields:

func (*ExecutableWorkflow) GetLabels

func (_m *ExecutableWorkflow) GetLabels() map[string]string

GetLabels provides a mock function with given fields:

func (*ExecutableWorkflow) GetName

func (_m *ExecutableWorkflow) GetName() string

GetName provides a mock function with given fields:

func (*ExecutableWorkflow) GetNamespace

func (_m *ExecutableWorkflow) GetNamespace() string

GetNamespace provides a mock function with given fields:

func (*ExecutableWorkflow) GetNode

func (_m *ExecutableWorkflow) GetNode(nodeID string) (v1alpha1.ExecutableNode, bool)

GetNode provides a mock function with given fields: nodeID

func (*ExecutableWorkflow) GetNodeExecutionStatus

func (_m *ExecutableWorkflow) GetNodeExecutionStatus(id string) v1alpha1.ExecutableNodeStatus

GetNodeExecutionStatus provides a mock function with given fields: id

func (*ExecutableWorkflow) GetNodes

func (_m *ExecutableWorkflow) GetNodes() []string

GetNodes provides a mock function with given fields:

func (*ExecutableWorkflow) GetOnFailureNode

func (_m *ExecutableWorkflow) GetOnFailureNode() v1alpha1.ExecutableNode

GetOnFailureNode provides a mock function with given fields:

func (*ExecutableWorkflow) GetOutputBindings

func (_m *ExecutableWorkflow) GetOutputBindings() []*v1alpha1.Binding

GetOutputBindings provides a mock function with given fields:

func (*ExecutableWorkflow) GetOutputs

func (_m *ExecutableWorkflow) GetOutputs() *v1alpha1.OutputVarMap

GetOutputs provides a mock function with given fields:

func (*ExecutableWorkflow) GetServiceAccountName

func (_m *ExecutableWorkflow) GetServiceAccountName() string

GetServiceAccountName provides a mock function with given fields:

func (*ExecutableWorkflow) GetTask

GetTask provides a mock function with given fields: id

func (*ExecutableWorkflow) NewControllerRef

func (_m *ExecutableWorkflow) NewControllerRef() v1.OwnerReference

NewControllerRef provides a mock function with given fields:

func (*ExecutableWorkflow) StartNode

func (_m *ExecutableWorkflow) StartNode() v1alpha1.ExecutableNode

StartNode provides a mock function with given fields:

type ExecutableWorkflowNode

type ExecutableWorkflowNode struct {
	mock.Mock
}

ExecutableWorkflowNode is an autogenerated mock type for the ExecutableWorkflowNode type

func (*ExecutableWorkflowNode) GetLaunchPlanRefID

func (_m *ExecutableWorkflowNode) GetLaunchPlanRefID() *v1alpha1.Identifier

GetLaunchPlanRefID provides a mock function with given fields:

func (*ExecutableWorkflowNode) GetSubWorkflowRef

func (_m *ExecutableWorkflowNode) GetSubWorkflowRef() *string

GetSubWorkflowRef provides a mock function with given fields:

type ExecutableWorkflowNodeStatus

type ExecutableWorkflowNodeStatus struct {
	mock.Mock
}

ExecutableWorkflowNodeStatus is an autogenerated mock type for the ExecutableWorkflowNodeStatus type

func (*ExecutableWorkflowNodeStatus) GetWorkflowExecutionName

func (_m *ExecutableWorkflowNodeStatus) GetWorkflowExecutionName() string

GetWorkflowExecutionName provides a mock function with given fields:

type ExecutableWorkflowStatus

type ExecutableWorkflowStatus struct {
	mock.Mock
}

ExecutableWorkflowStatus is an autogenerated mock type for the ExecutableWorkflowStatus type

func (*ExecutableWorkflowStatus) ConstructNodeDataDir

func (_m *ExecutableWorkflowStatus) ConstructNodeDataDir(ctx context.Context, constructor storage.ReferenceConstructor, name string) (storage.DataReference, error)

ConstructNodeDataDir provides a mock function with given fields: ctx, constructor, name

func (*ExecutableWorkflowStatus) GetDataDir

GetDataDir provides a mock function with given fields:

func (*ExecutableWorkflowStatus) GetLastUpdatedAt

func (_m *ExecutableWorkflowStatus) GetLastUpdatedAt() *v1.Time

GetLastUpdatedAt provides a mock function with given fields:

func (*ExecutableWorkflowStatus) GetMessage

func (_m *ExecutableWorkflowStatus) GetMessage() string

GetMessage provides a mock function with given fields:

func (*ExecutableWorkflowStatus) GetNodeExecutionStatus

func (_m *ExecutableWorkflowStatus) GetNodeExecutionStatus(id string) v1alpha1.ExecutableNodeStatus

GetNodeExecutionStatus provides a mock function with given fields: id

func (*ExecutableWorkflowStatus) GetOutputReference

func (_m *ExecutableWorkflowStatus) GetOutputReference() storage.DataReference

GetOutputReference provides a mock function with given fields:

func (*ExecutableWorkflowStatus) GetPhase

GetPhase provides a mock function with given fields:

func (*ExecutableWorkflowStatus) GetStartedAt

func (_m *ExecutableWorkflowStatus) GetStartedAt() *v1.Time

GetStartedAt provides a mock function with given fields:

func (*ExecutableWorkflowStatus) GetStoppedAt

func (_m *ExecutableWorkflowStatus) GetStoppedAt() *v1.Time

GetStoppedAt provides a mock function with given fields:

func (*ExecutableWorkflowStatus) IncFailedAttempts

func (_m *ExecutableWorkflowStatus) IncFailedAttempts()

IncFailedAttempts provides a mock function with given fields:

func (*ExecutableWorkflowStatus) IsTerminated

func (_m *ExecutableWorkflowStatus) IsTerminated() bool

IsTerminated provides a mock function with given fields:

func (*ExecutableWorkflowStatus) SetDataDir

func (_m *ExecutableWorkflowStatus) SetDataDir(_a0 storage.DataReference)

SetDataDir provides a mock function with given fields: _a0

func (*ExecutableWorkflowStatus) SetMessage

func (_m *ExecutableWorkflowStatus) SetMessage(msg string)

SetMessage provides a mock function with given fields: msg

func (*ExecutableWorkflowStatus) SetOutputReference

func (_m *ExecutableWorkflowStatus) SetOutputReference(reference storage.DataReference)

SetOutputReference provides a mock function with given fields: reference

func (*ExecutableWorkflowStatus) UpdatePhase

func (_m *ExecutableWorkflowStatus) UpdatePhase(p v1alpha1.WorkflowPhase, msg string)

UpdatePhase provides a mock function with given fields: p, msg

type MutableBranchNodeStatus

type MutableBranchNodeStatus struct {
	mock.Mock
}

MutableBranchNodeStatus is an autogenerated mock type for the MutableBranchNodeStatus type

func (*MutableBranchNodeStatus) GetFinalizedNode

func (_m *MutableBranchNodeStatus) GetFinalizedNode() *string

GetFinalizedNode provides a mock function with given fields:

func (*MutableBranchNodeStatus) GetPhase

GetPhase provides a mock function with given fields:

func (*MutableBranchNodeStatus) SetBranchNodeError

func (_m *MutableBranchNodeStatus) SetBranchNodeError()

SetBranchNodeError provides a mock function with given fields:

func (*MutableBranchNodeStatus) SetBranchNodeSuccess

func (_m *MutableBranchNodeStatus) SetBranchNodeSuccess(id string)

SetBranchNodeSuccess provides a mock function with given fields: id

type MutableDynamicNodeStatus

type MutableDynamicNodeStatus struct {
	mock.Mock
}

MutableDynamicNodeStatus is an autogenerated mock type for the MutableDynamicNodeStatus type

func (*MutableDynamicNodeStatus) GetDynamicNodePhase

func (_m *MutableDynamicNodeStatus) GetDynamicNodePhase() v1alpha1.DynamicNodePhase

GetDynamicNodePhase provides a mock function with given fields:

func (*MutableDynamicNodeStatus) SetDynamicNodePhase

func (_m *MutableDynamicNodeStatus) SetDynamicNodePhase(phase v1alpha1.DynamicNodePhase)

SetDynamicNodePhase provides a mock function with given fields: phase

type MutableNodeStatus

type MutableNodeStatus struct {
	mock.Mock
}

MutableNodeStatus is an autogenerated mock type for the MutableNodeStatus type

func (*MutableNodeStatus) ClearDynamicNodeStatus

func (_m *MutableNodeStatus) ClearDynamicNodeStatus()

ClearDynamicNodeStatus provides a mock function with given fields:

func (*MutableNodeStatus) ClearSubWorkflowStatus

func (_m *MutableNodeStatus) ClearSubWorkflowStatus()

ClearSubWorkflowStatus provides a mock function with given fields:

func (*MutableNodeStatus) ClearTaskStatus

func (_m *MutableNodeStatus) ClearTaskStatus()

ClearTaskStatus provides a mock function with given fields:

func (*MutableNodeStatus) ClearWorkflowStatus

func (_m *MutableNodeStatus) ClearWorkflowStatus()

ClearWorkflowStatus provides a mock function with given fields:

func (*MutableNodeStatus) GetOrCreateBranchStatus

func (_m *MutableNodeStatus) GetOrCreateBranchStatus() v1alpha1.MutableBranchNodeStatus

GetOrCreateBranchStatus provides a mock function with given fields:

func (*MutableNodeStatus) GetOrCreateDynamicNodeStatus

func (_m *MutableNodeStatus) GetOrCreateDynamicNodeStatus() v1alpha1.MutableDynamicNodeStatus

GetOrCreateDynamicNodeStatus provides a mock function with given fields:

func (*MutableNodeStatus) GetOrCreateSubWorkflowStatus

func (_m *MutableNodeStatus) GetOrCreateSubWorkflowStatus() v1alpha1.MutableSubWorkflowNodeStatus

GetOrCreateSubWorkflowStatus provides a mock function with given fields:

func (*MutableNodeStatus) GetOrCreateTaskStatus

func (_m *MutableNodeStatus) GetOrCreateTaskStatus() v1alpha1.MutableTaskNodeStatus

GetOrCreateTaskStatus provides a mock function with given fields:

func (*MutableNodeStatus) GetOrCreateWorkflowStatus

func (_m *MutableNodeStatus) GetOrCreateWorkflowStatus() v1alpha1.MutableWorkflowNodeStatus

GetOrCreateWorkflowStatus provides a mock function with given fields:

func (*MutableNodeStatus) IncrementAttempts

func (_m *MutableNodeStatus) IncrementAttempts() uint32

IncrementAttempts provides a mock function with given fields:

func (*MutableNodeStatus) ResetDirty

func (_m *MutableNodeStatus) ResetDirty()

ResetDirty provides a mock function with given fields:

func (*MutableNodeStatus) SetCached

func (_m *MutableNodeStatus) SetCached()

SetCached provides a mock function with given fields:

func (*MutableNodeStatus) SetDataDir

func (_m *MutableNodeStatus) SetDataDir(_a0 storage.DataReference)

SetDataDir provides a mock function with given fields: _a0

func (*MutableNodeStatus) SetParentNodeID

func (_m *MutableNodeStatus) SetParentNodeID(n *string)

SetParentNodeID provides a mock function with given fields: n

func (*MutableNodeStatus) SetParentTaskID

func (_m *MutableNodeStatus) SetParentTaskID(t *core.TaskExecutionIdentifier)

SetParentTaskID provides a mock function with given fields: t

func (*MutableNodeStatus) UpdatePhase

func (_m *MutableNodeStatus) UpdatePhase(phase v1alpha1.NodePhase, occurredAt v1.Time, reason string)

UpdatePhase provides a mock function with given fields: phase, occurredAt, reason

type MutableSubWorkflowNodeStatus

type MutableSubWorkflowNodeStatus struct {
	mock.Mock
}

MutableSubWorkflowNodeStatus is an autogenerated mock type for the MutableSubWorkflowNodeStatus type

func (*MutableSubWorkflowNodeStatus) GetPhase

GetPhase provides a mock function with given fields:

func (*MutableSubWorkflowNodeStatus) SetPhase

SetPhase provides a mock function with given fields: phase

type MutableTaskNodeStatus

type MutableTaskNodeStatus struct {
	mock.Mock
}

MutableTaskNodeStatus is an autogenerated mock type for the MutableTaskNodeStatus type

func (*MutableTaskNodeStatus) GetCustomState

func (_m *MutableTaskNodeStatus) GetCustomState() map[string]interface{}

GetCustomState provides a mock function with given fields:

func (*MutableTaskNodeStatus) GetPhase

func (_m *MutableTaskNodeStatus) GetPhase() types.TaskPhase

GetPhase provides a mock function with given fields:

func (*MutableTaskNodeStatus) GetPhaseVersion

func (_m *MutableTaskNodeStatus) GetPhaseVersion() uint32

GetPhaseVersion provides a mock function with given fields:

func (*MutableTaskNodeStatus) SetCustomState

func (_m *MutableTaskNodeStatus) SetCustomState(state map[string]interface{})

SetCustomState provides a mock function with given fields: state

func (*MutableTaskNodeStatus) SetPhase

func (_m *MutableTaskNodeStatus) SetPhase(phase types.TaskPhase)

SetPhase provides a mock function with given fields: phase

func (*MutableTaskNodeStatus) SetPhaseVersion

func (_m *MutableTaskNodeStatus) SetPhaseVersion(version uint32)

SetPhaseVersion provides a mock function with given fields: version

type MutableWorkflowNodeStatus

type MutableWorkflowNodeStatus struct {
	mock.Mock
}

MutableWorkflowNodeStatus is an autogenerated mock type for the MutableWorkflowNodeStatus type

func (*MutableWorkflowNodeStatus) GetWorkflowExecutionName

func (_m *MutableWorkflowNodeStatus) GetWorkflowExecutionName() string

GetWorkflowExecutionName provides a mock function with given fields:

func (*MutableWorkflowNodeStatus) SetWorkflowExecutionName

func (_m *MutableWorkflowNodeStatus) SetWorkflowExecutionName(name string)

SetWorkflowExecutionName provides a mock function with given fields: name

type NodeStatusGetter

type NodeStatusGetter struct {
	mock.Mock
}

NodeStatusGetter is an autogenerated mock type for the NodeStatusGetter type

func (*NodeStatusGetter) GetNodeExecutionStatus

func (_m *NodeStatusGetter) GetNodeExecutionStatus(id string) v1alpha1.ExecutableNodeStatus

GetNodeExecutionStatus provides a mock function with given fields: id

type NodeStatusVisitor

type NodeStatusVisitor struct {
	mock.Mock
}

NodeStatusVisitor is an autogenerated mock type for the NodeStatusVisitor type

func (*NodeStatusVisitor) VisitNodeStatuses

func (_m *NodeStatusVisitor) VisitNodeStatuses(visitor func(string, v1alpha1.ExecutableNodeStatus))

VisitNodeStatuses provides a mock function with given fields: visitor

type WorkflowMeta

type WorkflowMeta struct {
	mock.Mock
}

WorkflowMeta is an autogenerated mock type for the WorkflowMeta type

func (*WorkflowMeta) GetAnnotations

func (_m *WorkflowMeta) GetAnnotations() map[string]string

GetAnnotations provides a mock function with given fields:

func (*WorkflowMeta) GetCreationTimestamp

func (_m *WorkflowMeta) GetCreationTimestamp() v1.Time

GetCreationTimestamp provides a mock function with given fields:

func (*WorkflowMeta) GetExecutionID

func (_m *WorkflowMeta) GetExecutionID() v1alpha1.WorkflowExecutionIdentifier

GetExecutionID provides a mock function with given fields:

func (*WorkflowMeta) GetK8sWorkflowID

func (_m *WorkflowMeta) GetK8sWorkflowID() types.NamespacedName

GetK8sWorkflowID provides a mock function with given fields:

func (*WorkflowMeta) GetLabels

func (_m *WorkflowMeta) GetLabels() map[string]string

GetLabels provides a mock function with given fields:

func (*WorkflowMeta) GetName

func (_m *WorkflowMeta) GetName() string

GetName provides a mock function with given fields:

func (*WorkflowMeta) GetNamespace

func (_m *WorkflowMeta) GetNamespace() string

GetNamespace provides a mock function with given fields:

func (*WorkflowMeta) GetServiceAccountName

func (_m *WorkflowMeta) GetServiceAccountName() string

GetServiceAccountName provides a mock function with given fields:

func (*WorkflowMeta) NewControllerRef

func (_m *WorkflowMeta) NewControllerRef() v1.OwnerReference

NewControllerRef provides a mock function with given fields:

type WorkflowMetaExtended

type WorkflowMetaExtended struct {
	mock.Mock
}

WorkflowMetaExtended is an autogenerated mock type for the WorkflowMetaExtended type

func (*WorkflowMetaExtended) FindSubWorkflow

func (_m *WorkflowMetaExtended) FindSubWorkflow(subID string) v1alpha1.ExecutableSubWorkflow

FindSubWorkflow provides a mock function with given fields: subID

func (*WorkflowMetaExtended) GetAnnotations

func (_m *WorkflowMetaExtended) GetAnnotations() map[string]string

GetAnnotations provides a mock function with given fields:

func (*WorkflowMetaExtended) GetCreationTimestamp

func (_m *WorkflowMetaExtended) GetCreationTimestamp() v1.Time

GetCreationTimestamp provides a mock function with given fields:

func (*WorkflowMetaExtended) GetExecutionID

GetExecutionID provides a mock function with given fields:

func (*WorkflowMetaExtended) GetExecutionStatus

func (_m *WorkflowMetaExtended) GetExecutionStatus() v1alpha1.ExecutableWorkflowStatus

GetExecutionStatus provides a mock function with given fields:

func (*WorkflowMetaExtended) GetK8sWorkflowID

func (_m *WorkflowMetaExtended) GetK8sWorkflowID() types.NamespacedName

GetK8sWorkflowID provides a mock function with given fields:

func (*WorkflowMetaExtended) GetLabels

func (_m *WorkflowMetaExtended) GetLabels() map[string]string

GetLabels provides a mock function with given fields:

func (*WorkflowMetaExtended) GetName

func (_m *WorkflowMetaExtended) GetName() string

GetName provides a mock function with given fields:

func (*WorkflowMetaExtended) GetNamespace

func (_m *WorkflowMetaExtended) GetNamespace() string

GetNamespace provides a mock function with given fields:

func (*WorkflowMetaExtended) GetServiceAccountName

func (_m *WorkflowMetaExtended) GetServiceAccountName() string

GetServiceAccountName provides a mock function with given fields:

func (*WorkflowMetaExtended) GetTask

GetTask provides a mock function with given fields: id

func (*WorkflowMetaExtended) NewControllerRef

func (_m *WorkflowMetaExtended) NewControllerRef() v1.OwnerReference

NewControllerRef provides a mock function with given fields:

Jump to

Keyboard shortcuts

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