code: func (e *Store) Export(ctx context.Context, name string, opts metav1.ExportOptions) (runtime.Object, error) {
  	obj, err := e.Get(ctx, name, &metav1.GetOptions{})
  	if err != nil {
  		return nil, err
  	}
  	if accessor, err := meta.Accessor(obj); err == nil {
  		exportObjectMeta(accessor, opts.Exact)
  	} else {
  		klog.V(4).Infof("Object of type %v does not have ObjectMeta: %v", reflect.TypeOf(obj), err)
  	}
  
  	if e.ExportStrategy != nil {
  		if err = e.ExportStrategy.Export(ctx, obj, opts.Exact); err != nil {
  			return nil, err
  		}
  	} else {
  		e.CreateStrategy.PrepareForCreate(ctx, obj)
  	}
  	return obj, nil
  }
docs: // Export implements the rest.Exporter interface