code: func (c *DeploymentsController) getSpaceNameFromSpaceID(ctx context.Context, spaceID uuid.UUID) (*string, error) {
  	// TODO - add a cache in DeploymentsController - but will break if user can change space name
  	// use WIT API to convert Space UUID to Space name
  	osioclient, err := c.GetAndCheckOSIOClient(ctx)
  	if err != nil {
  		return nil, err
  	}
  
  	osioSpace, err := osioclient.GetSpaceByID(ctx, spaceID)
  	if err != nil {
  		return nil, errs.Wrapf(err, "unable to convert space UUID %s to space name", spaceID)
  	}
  	if osioSpace == nil || osioSpace.Attributes == nil || osioSpace.Attributes.Name == nil {
  		return nil, errs.Errorf("space UUID %s is not valid space name", spaceID)
  	}
  	return osioSpace.Attributes.Name, nil
  }
docs: // getSpaceNameFromSpaceID() converts an OSIO Space UUID to an OpenShift space name.
  // will return an error if the space is not found.