code: func (cgroup *CgroupResource) Initialize(resourceFields *taskresource.ResourceFields,
  	taskKnownStatus status.TaskStatus,
  	taskDesiredStatus status.TaskStatus) {
  	cgroup.lock.Lock()
  	defer cgroup.lock.Unlock()
  
  	cgroup.initializeResourceStatusToTransitionFunction()
  	cgroup.ioutil = resourceFields.IOUtil
  	cgroup.control = resourceFields.Control
  }
docs: // Initialize initializes the resource fileds in cgroup