code: func New(policy container.RestartPolicy, restartCount int) RestartManager {
  	return &restartManager{policy: policy, restartCount: restartCount, cancel: make(chan struct{})}
  }
docs: // New returns a new restartManager based on a policy.