code: func (c *DeploymentsController) ShowSpace(ctx *app.ShowSpaceDeploymentsContext) error {
  
  	kc, err := c.GetKubeClient(ctx)
  	defer cleanup(kc)
  	if err != nil {
  		return jsonapi.JSONErrorResponse(ctx, err)
  	}
  
  	kubeSpaceName, err := c.getSpaceNameFromSpaceID(ctx, ctx.SpaceID)
  	if err != nil || kubeSpaceName == nil {
  		return jsonapi.JSONErrorResponse(ctx, errors.NewNotFoundError("osio space", ctx.SpaceID.String()))
  	}
  
  	// get OpenShift space
  	space, err := kc.GetSpace(*kubeSpaceName)
  	if err != nil {
  		return jsonapi.JSONErrorResponse(ctx, errs.Wrapf(err, "could not retrieve space %s", *kubeSpaceName))
  	}
  	if space == nil {
  		return jsonapi.JSONErrorResponse(ctx, errors.NewNotFoundError("openshift space", *kubeSpaceName))
  	}
  
  	// Kubernetes doesn't know about space ID, so add it here
  	space.ID = ctx.SpaceID
  
  	res := &app.SimpleSpaceSingle{
  		Data: space,
  	}
  
  	return ctx.OK(res)
  }
docs: // ShowSpace runs the showSpace action.