code: func maybeSetDefaults(vol *Volume) {
  	if vol.Kind == "empty" {
  		if vol.Mode == nil {
  			m := emptyVolumeDefaultMode
  			vol.Mode = &m
  		}
  		if vol.UID == nil {
  			u := emptyVolumeDefaultUID
  			vol.UID = &u
  		}
  		if vol.GID == nil {
  			g := emptyVolumeDefaultGID
  			vol.GID = &g
  		}
  	}
  }
docs: // maybeSetDefaults sets the correct default values for certain fields on a
  // Volume if they are not already been set. These fields are not
  // pre-populated on all Volumes as the Volume type is polymorphic.