code: func GenerateName(u NameGenerator, meta *ObjectMeta) {
  	if len(meta.GenerateName) == 0 || len(meta.Name) != 0 {
  		return
  	}
  	meta.Name = u.GenerateName(meta.GenerateName)
  }
docs: // GenerateName will resolve the object name of the provided ObjectMeta to a generated version if
  // necessary. It expects that validation for ObjectMeta has already completed (that Base is a
  // valid name) and that the NameGenerator generates a name that is also valid.