Add a hosts create command (#25)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-05-04 23:04:55 -04:00
1 parent 17fffe7c23
commit e3c7ca3070
8 files changed
+341 -94

No files matched your search

+19 -12
View File
@@ -1,29 +1,36 @@
package base
const (
// flagNameAddress is the flag used in the base command to read in the
// FlagNameAddress is the flag used in the base command to read in the
// address of the Watchtower server.
FlagNameAddress = "address"
// flagnameCACert is the flag used in the base command to read in the CA
// FlagNameOrg is the flag used in the base command to read in the org in
// which to make a request.
FlagNameOrg = "org"
// FlagNameProject is the flag used in the base command to read in the
// project in which to make a request.
FlagNameProject = "project"
// FlagnameCACert is the flag used in the base command to read in the CA
// cert.
FlagNameCACert = "ca-cert"
// flagnameCAPath is the flag used in the base command to read in the CA
// FlagnameCAPath is the flag used in the base command to read in the CA
// cert path.
FlagNameCAPath = "ca-path"
//flagNameClientCert is the flag used in the base command to read in the
//client key
// FlagNameClientCert is the flag used in the base command to read in the
// client key
FlagNameClientKey = "client-key"
//flagNameClientCert is the flag used in the base command to read in the
//client cert
// FlagNameClientCert is the flag used in the base command to read in the
// client cert
FlagNameClientCert = "client-cert"
// flagNameTLSInsecure is the flag used in the base command to read in
// FlagNameTLSInsecure is the flag used in the base command to read in
// the option to ignore TLS certificate verification.
FlagNameTLSInsecure = "tls-insecure"
// flagTLSServerName is the flag used in the base command to read in
// FlagTLSServerName is the flag used in the base command to read in
// the TLS server name.
FlagTLSServerName = "tls-server-name"
)
const EnvWatchtowerCLINoColor = `WATCHTOWER_CLI_NO_COLOR`
const EnvWatchtowerCLIFormat = `WATCHTOWER_CLI_FORMAT`
const (
EnvWatchtowerCLINoColor = `WATCHTOWER_CLI_NO_COLOR`
EnvWatchtowerCLIFormat = `WATCHTOWER_CLI_FORMAT`
)