code: func ValidateNodeName(name string, prefix bool) (bool, string) {
  	return NameIsDNSSubdomain(name, prefix)
  }
docs: // ValidateNodeName can be used to check whether the given node name is valid.
  // Prefix indicates this name will be used as part of generation, in which case
  // trailing dashes are allowed.