agent/engine/dockerstate/docker_task_engine_state.go
func (state *DockerTaskEngineState) AllTasks() []*apitask.Task {
	state.lock.RLock()
	defer state.lock.RUnlock()

	return state.allTasksUnsafe()
}
func (state *DockerTaskEngineState) AllTasks() []*apitask.Task {
	state.lock.RLock()
	defer state.lock.RUnlock()

	return state.allTasksUnsafe()
}
func ( state * DockerTaskEngineState ) AllTasks ( ) [ ] * apitask . Task { state . lock . RLock ( ) defer state . lock . RUnlock ( ) return state . allTasksUnsafe ( ) }
// AllTasks returns all of the tasks
AllTasks returns all of the tasks