Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

427 B
Raw Blame
import { SshTunnelAuthType } from './SshTunnelAuthType';
import type { SshTunnelConfig } from './SshTunnelConfig';

export const DEFAULT_SSH_PORT = 22;

export function createEmptySshTunnelConfig(): SshTunnelConfig {
  return {
    isEnabled: false,
    host: '',
    port: DEFAULT_SSH_PORT,
    username: '',
    authType: SshTunnelAuthType.PASSWORD,
    password: '',
    privateKey: '',
    privateKeyPassphrase: '',
  };
}