// Env returns environment variables for the provided Postgres service from
// the default connection service file.
Env returns environment variables for the provided Postgres service from
the default connection service file.
// Env returns environment variables for the provided Postgres service from // the default connection service file .
func Env(cluster, name string) (map[string]string, error) {
	serviceFile, err := Load()
	if err != nil {
		return nil, trace.Wrap(err)
	}
	env, err := serviceFile.Env(serviceName(cluster, name))
	if err != nil {
		return nil, trace.Wrap(err)
	}
	return env, nil
}
func Env ( cluster , name string ) ( map [ string ] string , error ) { serviceFile , err := Load ( ) if err != nil { return nil , trace . Wrap ( err ) } env , err := serviceFile . Env ( serviceName ( cluster , name ) ) if err != nil { return nil , trace . Wrap ( err ) } return env , nil }
Env returns environment variables for the provided Postgres service from
the default connection service file.
Env returns environment variables for the provided Postgres service from the default connection service file .