code: func (kc *kubeClient) GetSpace(spaceName string) (*app.SimpleSpace, error) {
  	// Get BuildConfigs within the user namespace that have a matching 'space' label
  	// This is similar to how pipelines are displayed in fabric8-ui
  	// https://github.com/fabric8-ui/fabric8-ui/blob/master/src/app/space/create/pipelines/pipelines.component.ts
  	buildconfigs, err := kc.getBuildConfigsForSpace(spaceName)
  	if err != nil {
  		return nil, err
  	}
  
  	// Get all applications in this space using BuildConfig names
  	apps := []*app.SimpleApp{}
  	for _, bc := range buildconfigs {
  		appn, err := kc.GetApplication(spaceName, bc)
  		if err != nil {
  			return nil, err
  		}
  		apps = append(apps, appn)
  	}
  
  	result := &app.SimpleSpace{
  		Type: "space",
  		Attributes: &app.SimpleSpaceAttributes{
  			Name:         spaceName,
  			Applications: apps,
  		},
  	}
  
  	return result, nil
  }
docs: // GetSpace returns a space matching the provided name, containing all applications that belong to it