code: func (task *Task) GetDesiredStatus() apitaskstatus.TaskStatus {
  	task.lock.RLock()
  	defer task.lock.RUnlock()
  
  	return task.DesiredStatusUnsafe
  }
docs: // GetDesiredStatus gets the desired status of the task