func (state *DockerTaskEngineState) TaskByArn(arn string) (*apitask.Task, bool) {
	state.lock.RLock()
	defer state.lock.RUnlock()

	return state.taskByArn(arn)
}
func (state *DockerTaskEngineState) TaskByArn(arn string) (*apitask.Task, bool) {
	state.lock.RLock()
	defer state.lock.RUnlock()

	return state.taskByArn(arn)
}
func ( state * DockerTaskEngineState ) TaskByArn ( arn string ) ( * apitask . Task , bool ) { state . lock . RLock ( ) defer state . lock . RUnlock ( ) return state . taskByArn ( arn ) }
// TaskByArn returns a task for a given ARN
TaskByArn returns a task for a given ARN