code: func (kc *kubeClient) GetEnvironments() ([]*app.SimpleEnvironment, error) {
  	envs := []*app.SimpleEnvironment{}
  	for envName := range kc.envMap {
  		// Only return environments where the user can deploy applications
  		if kc.CanDeploy(envName) {
  			env, err := kc.GetEnvironment(envName)
  			if err != nil {
  				return nil, err
  			}
  			envs = append(envs, env)
  		}
  	}
  	return envs, nil
  }
docs: // GetEnvironments retrieves information on all environments in the cluster
  // for the current user