code: func transformResponseObject(ctx context.Context, scope *RequestScope, trace *utiltrace.Trace, req *http.Request, w http.ResponseWriter, statusCode int, mediaType negotiation.MediaTypeOptions, result runtime.Object) {
  	options, err := optionsForTransform(mediaType, req)
  	if err != nil {
  		scope.err(err, w, req)
  		return
  	}
  	obj, err := transformObject(ctx, result, options, mediaType, scope, req)
  	if err != nil {
  		scope.err(err, w, req)
  		return
  	}
  	kind, serializer, _ := targetEncodingForTransform(scope, mediaType, req)
  	responsewriters.WriteObjectNegotiated(serializer, scope, kind.GroupVersion(), w, req, statusCode, obj)
  }
docs: // transformResponseObject takes an object loaded from storage and performs any necessary transformations.
  // Will write the complete response object.