code: func (spec *Spec) Name() string {
  	switch {
  	case spec.Volume != nil:
  		return spec.Volume.Name
  	case spec.PersistentVolume != nil:
  		return spec.PersistentVolume.Name
  	default:
  		return ""
  	}
  }
docs: // Name returns the name of either Volume or PersistentVolume, one of which must not be nil.