2026-04-06 15:48:37 +05:30
|
|
|
// Copyright IBM Corp. 2020, 2026
|
2020-05-04 23:04:55 -04:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-02-02 17:15:17 -08:00
|
|
|
|
2020-02-12 13:53:27 -05:00
|
|
|
package base
|
|
|
|
|
|
|
|
|
|
const (
|
2020-05-05 11:19:42 -04:00
|
|
|
// FlagNameAddr is the flag used in the base command to read in the
|
2026-10-12 10:20:06 -07:00
|
|
|
// address of the Threshold server.
|
2020-05-05 11:19:42 -04:00
|
|
|
FlagNameAddr = "addr"
|
2020-05-04 23:04:55 -04:00
|
|
|
// FlagnameCACert is the flag used in the base command to read in the CA
|
2020-02-12 13:53:27 -05:00
|
|
|
// cert.
|
|
|
|
|
FlagNameCACert = "ca-cert"
|
2020-05-04 23:04:55 -04:00
|
|
|
// FlagnameCAPath is the flag used in the base command to read in the CA
|
2020-02-12 13:53:27 -05:00
|
|
|
// cert path.
|
|
|
|
|
FlagNameCAPath = "ca-path"
|
2020-05-04 23:04:55 -04:00
|
|
|
// FlagNameClientCert is the flag used in the base command to read in the
|
|
|
|
|
// client key
|
2020-02-12 13:53:27 -05:00
|
|
|
FlagNameClientKey = "client-key"
|
2020-05-04 23:04:55 -04:00
|
|
|
// FlagNameClientCert is the flag used in the base command to read in the
|
|
|
|
|
// client cert
|
2020-02-12 13:53:27 -05:00
|
|
|
FlagNameClientCert = "client-cert"
|
2020-05-04 23:04:55 -04:00
|
|
|
// FlagNameTLSInsecure is the flag used in the base command to read in
|
2020-02-12 13:53:27 -05:00
|
|
|
// the option to ignore TLS certificate verification.
|
|
|
|
|
FlagNameTLSInsecure = "tls-insecure"
|
2020-05-04 23:04:55 -04:00
|
|
|
// FlagTLSServerName is the flag used in the base command to read in
|
2020-02-12 13:53:27 -05:00
|
|
|
// the TLS server name.
|
|
|
|
|
FlagTLSServerName = "tls-server-name"
|
|
|
|
|
)
|
|
|
|
|
|
2020-05-04 23:04:55 -04:00
|
|
|
const (
|
2026-10-12 10:20:06 -07:00
|
|
|
EnvBoundaryCLINoColor = `THRESHOLD_CLI_NO_COLOR`
|
|
|
|
|
EnvBoundaryCLIFormat = `THRESHOLD_CLI_FORMAT`
|
2020-05-04 23:04:55 -04:00
|
|
|
)
|