Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getCompletionMode (0.2 sec)

  1. pkg/controller/job/job_controller.go

    				continue
    			}
    		}
    		if filter(p) {
    			result = append(result, p)
    		}
    	}
    	return result
    }
    
    // getCompletionMode returns string representation of the completion mode. Used as a label value for metrics.
    func getCompletionMode(job *batch.Job) string {
    	if isIndexedJob(job) {
    		return string(batch.IndexedCompletion)
    	}
    	return string(batch.NonIndexedCompletion)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top