code: func (kf *KunstructuredFactoryImpl) validate(u unstructured.Unstructured) error {
  	kind := u.GetKind()
  	if kind == "" {
  		return fmt.Errorf("missing kind in object %v", u)
  	} else if strings.HasSuffix(kind, "List") {
  		return nil
  	}
  	if u.GetName() == "" {
  		return fmt.Errorf("missing metadata.name in object %v", u)
  	}
  	return nil
  }
docs: // validate validates that u has kind and name
  // except for kind `List`, which doesn't require a name