code: func (s *MemStringorInt) UnmarshalYAML(unmarshal func(interface{}) error) error {
  	var intType int64
  	if err := unmarshal(&intType); err == nil {
  		*s = MemStringorInt(intType)
  		return nil
  	}
  
  	var stringType string
  	if err := unmarshal(&stringType); err == nil {
  		intType, err := units.RAMInBytes(stringType)
  
  		if err != nil {
  			return err
  		}
  		*s = MemStringorInt(intType)
  		return nil
  	}
  
  	return errors.New("Failed to unmarshal MemStringorInt")
  }
docs: // UnmarshalYAML implements the Unmarshaller interface.