code: func extractFromTypeMeta(v reflect.Value, a *genericAccessor) error {
  	if err := runtime.FieldPtr(v, "APIVersion", &a.apiVersion); err != nil {
  		return err
  	}
  	if err := runtime.FieldPtr(v, "Kind", &a.kind); err != nil {
  		return err
  	}
  	return nil
  }
docs: // extractFromTypeMeta extracts pointers to version and kind fields from an object