zowe-cli-cics-deploy-plugin
Version:
IBM CICS Bundle generation and deployment for Zowe CLI
89 lines • 3.12 kB
JavaScript
"use strict";
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright IBM Corp, 2019
*
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.SshOptions = void 0;
const cli_1 = require("@zowe/cli");
/**
* ssh command line options, derived from zowe-cli equivalents
*/
class SshOptions {
}
exports.SshOptions = SshOptions;
SshOptions.CICS_DEPLOY_SSH_OPTION_HOST = {
name: "ssh-host",
aliases: ["sh"],
description: cli_1.SshSession.SSH_OPTION_HOST.description,
type: cli_1.SshSession.SSH_OPTION_HOST.type,
required: false,
group: cli_1.SshSession.SSH_CONNECTION_OPTION_GROUP
};
SshOptions.CICS_DEPLOY_SSH_OPTION_PORT = {
name: "ssh-port",
aliases: ["sp"],
description: cli_1.SshSession.SSH_OPTION_PORT.description,
type: cli_1.SshSession.SSH_OPTION_PORT.type,
required: false,
group: cli_1.SshSession.SSH_CONNECTION_OPTION_GROUP
};
SshOptions.CICS_DEPLOY_SSH_OPTION_USER = {
name: "ssh-user",
aliases: ["su"],
description: cli_1.SshSession.SSH_OPTION_USER.description,
type: cli_1.SshSession.SSH_OPTION_USER.type,
required: false,
group: cli_1.SshSession.SSH_CONNECTION_OPTION_GROUP
};
SshOptions.CICS_DEPLOY_SSH_OPTION_PASSWORD = {
name: "ssh-password",
aliases: ["spw"],
description: cli_1.SshSession.SSH_OPTION_PASSWORD.description,
type: cli_1.SshSession.SSH_OPTION_PASSWORD.type,
required: false,
group: cli_1.SshSession.SSH_CONNECTION_OPTION_GROUP
};
SshOptions.CICS_DEPLOY_SSH_OPTION_PRIVATEKEY = {
name: "ssh-private-key",
aliases: ["spk"],
description: cli_1.SshSession.SSH_OPTION_PRIVATEKEY.description,
type: cli_1.SshSession.SSH_OPTION_PRIVATEKEY.type,
required: false,
group: cli_1.SshSession.SSH_CONNECTION_OPTION_GROUP
};
SshOptions.CICS_DEPLOY_SSH_OPTION_KEYPASSPHRASE = {
name: "ssh-key-passphrase",
aliases: ["skp"],
description: cli_1.SshSession.SSH_OPTION_KEYPASSPHRASE.description,
type: cli_1.SshSession.SSH_OPTION_KEYPASSPHRASE.type,
required: false,
group: cli_1.SshSession.SSH_CONNECTION_OPTION_GROUP
};
SshOptions.CICS_DEPLOY_SSH_OPTION_HANDSHAKETIMEOUT = {
name: "ssh-handshake-timeout",
aliases: ["sht"],
description: cli_1.SshSession.SSH_OPTION_HANDSHAKETIMEOUT.description,
type: cli_1.SshSession.SSH_OPTION_HANDSHAKETIMEOUT.type,
required: false,
group: cli_1.SshSession.SSH_CONNECTION_OPTION_GROUP
};
/**
* Options related to connecting to SSH
*/
SshOptions.CICS_DEPLOY_SSH_CONNECTION_OPTIONS = [
SshOptions.CICS_DEPLOY_SSH_OPTION_HOST,
SshOptions.CICS_DEPLOY_SSH_OPTION_PORT,
SshOptions.CICS_DEPLOY_SSH_OPTION_USER,
SshOptions.CICS_DEPLOY_SSH_OPTION_PASSWORD,
SshOptions.CICS_DEPLOY_SSH_OPTION_PRIVATEKEY,
SshOptions.CICS_DEPLOY_SSH_OPTION_KEYPASSPHRASE,
SshOptions.CICS_DEPLOY_SSH_OPTION_HANDSHAKETIMEOUT
];
//# sourceMappingURL=SshOptions.js.map