// Code generated by "stringer -trimprefix=Workload -output worker_string_schedulerworkerstatus.go -linecomment -type=SchedulerWorkerStatus"; DO NOT EDIT. package nomad import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[WorkloadUnknownStatus-0] _ = x[WorkloadRunning-1] _ = x[WorkloadWaitingToDequeue-2] _ = x[WorkloadWaitingForRaft-3] _ = x[WorkloadScheduling-4] _ = x[WorkloadSubmitting-5] _ = x[WorkloadBackoff-6] _ = x[WorkloadStopped-7] _ = x[WorkloadPaused-8] } const _SchedulerWorkerStatus_name = "UnknownStatusRunningWaitingToDequeueWaitingForRaftSchedulingSubmittingBackoffStoppedPaused" var _SchedulerWorkerStatus_index = [...]uint8{0, 13, 20, 36, 50, 60, 70, 77, 84, 90} func (i SchedulerWorkerStatus) String() string { if i < 0 || i >= SchedulerWorkerStatus(len(_SchedulerWorkerStatus_index)-1) { return "SchedulerWorkerStatus(" + strconv.FormatInt(int64(i), 10) + ")" } return _SchedulerWorkerStatus_name[_SchedulerWorkerStatus_index[i]:_SchedulerWorkerStatus_index[i+1]] }