code: func (actor *Actor) GetEnvironmentVariablesByApplicationNameAndSpace(appName string, spaceGUID string) (EnvironmentVariableGroups, Warnings, error) {
  	app, warnings, appErr := actor.GetApplicationByNameAndSpace(appName, spaceGUID)
  	if appErr != nil {
  		return EnvironmentVariableGroups{}, warnings, appErr
  	}
  
  	ccEnvGroups, v3Warnings, apiErr := actor.CloudControllerClient.GetApplicationEnvironment(app.GUID)
  	warnings = append(warnings, v3Warnings...)
  	return EnvironmentVariableGroups(ccEnvGroups), warnings, apiErr
  }
docs: // GetEnvironmentVariablesByApplicationNameAndSpace returns the environment
  // variables for an application.