Files
threshold/internal/cmd/base/const.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1.1 KiB
Go
Raw Normal View History

// 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
// 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 (
EnvBoundaryCLINoColor = `THRESHOLD_CLI_NO_COLOR`
EnvBoundaryCLIFormat = `THRESHOLD_CLI_FORMAT`
2020-05-04 23:04:55 -04:00
)