code: func (s *Scheme) NewObject(kind unversioned.GroupVersionKind) (interface{}, error) {
  	if t, exists := s.gvkToType[kind]; exists {
  		return reflect.New(t).Interface(), nil
  	}
  
  	return nil, &notRegisteredErr{gvk: kind}
  }
docs: // NewObject returns a new object of the given version and name,
  // or an error if it hasn't been registered.