MCPcopy Index your code
hub / github.com/argoproj/argo-workflows / executable

Function executable

workflow/controller/operator.go:2854–2861  ·  view source on GitHub ↗

executable states that the progress of this node type is updated by other code. It should not be summed. It maybe that this type of node never gets progress.

(nodeType wfv1.NodeType)

Source from the content-addressed store, hash-verified

2852// executable states that the progress of this node type is updated by other code. It should not be summed.
2853// It maybe that this type of node never gets progress.
2854func executable(nodeType wfv1.NodeType) bool {
2855 switch nodeType {
2856 case wfv1.NodeTypePod, wfv1.NodeTypeContainer:
2857 return true
2858 default:
2859 return false
2860 }
2861}
2862
2863func (woc *wfOperationCtx) initializeNode(ctx context.Context, nodeName string, nodeType wfv1.NodeType, templateScope string, orgTmpl wfv1.TemplateReferenceHolder, boundaryID string, phase wfv1.NodePhase, nodeFlag *wfv1.NodeFlag, omitTaskResultSynced bool, messages ...string) *wfv1.NodeStatus {
2864 woc.log.WithFields(logging.Fields{"nodeName": nodeName, "template": common.GetTemplateHolderString(orgTmpl), "boundaryID": boundaryID}).Debug(ctx, "Initializing node")

Callers 1

initializeNodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected