* Rename FriendlyName to Name * Standardize on connection parameters for the server being addr This syncs up WATCHTOWER_ADDR and -addr (formerly -address) and frees up -address to be used in resources (which it is). * Add description fields
37 lines
1.3 KiB
Go
37 lines
1.3 KiB
Go
package base
|
|
|
|
const (
|
|
// FlagNameAddr is the flag used in the base command to read in the
|
|
// address of the Watchtower server.
|
|
FlagNameAddr = "addr"
|
|
// 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
|
|
// cert path.
|
|
FlagNameCAPath = "ca-path"
|
|
// 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 = "client-cert"
|
|
// 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
|
|
// the TLS server name.
|
|
FlagTLSServerName = "tls-server-name"
|
|
)
|
|
|
|
const (
|
|
EnvWatchtowerCLINoColor = `WATCHTOWER_CLI_NO_COLOR`
|
|
EnvWatchtowerCLIFormat = `WATCHTOWER_CLI_FORMAT`
|
|
)
|