MCPcopy
hub / github.com/argoproj/argo-workflows / getWorkflowTaskSet

Method getWorkflowTaskSet

workflow/controller/taskset.go:90–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func (woc *wfOperationCtx) getWorkflowTaskSet() (*wfv1.WorkflowTaskSet, error) {
91 taskSet, exists, err := woc.controller.wfTaskSetInformer.Informer().GetIndexer().GetByKey(woc.wf.Namespace + "/" + woc.wf.Name)
92 if err != nil {
93 return nil, err
94 }
95 if !exists {
96 return nil, nil
97 }
98 return taskSet.(*wfv1.WorkflowTaskSet), nil
99}
100
101func (woc *wfOperationCtx) taskSetReconciliation(ctx context.Context) {
102 if err := woc.reconcileTaskSet(ctx); err != nil {

Callers 1

reconcileTaskSetMethod · 0.95

Calls 3

GetIndexerMethod · 0.80
GetByKeyMethod · 0.65
InformerMethod · 0.65

Tested by

no test coverage detected