Documentation ¶
Overview ¶
Package validate implements utilities to validate the command configuration by, for example, validating a set of given options.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidKeypair means that a TLS keypair is required but only one of the // key or certificate was provided. ErrInvalidKeypair = errors.New("certificate and private key are both required, but only one was provided") // ErrTLSRequired means that Transport Layer Security (TLS) is required but // not set. ErrTLSRequired = errors.New("transport layer security required") )
View Source
var FlagFuncs []FlagFunc
FlagFuncs is a combination of multiple flag validation functions.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.