code: func (o *AttachOptions) GetContainerName(pod *corev1.Pod) (string, error) {
  	c, err := o.containerToAttachTo(pod)
  	if err != nil {
  		return "", err
  	}
  	return c.Name, nil
  }
docs: // GetContainerName returns the name of the container to attach to, with a fallback.