Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkOptions ¶
type NetworkOptions struct {
PlainHTTP bool
TLSVerify bool
TLSTrustCertPaths []string
CredentialsPath string
ClientCertPath string
ClientCertKeyPath string
Concurrency int
Proxy string
}
NetworkOptions represent common networking-related flags that are used by multiple commands. The flags should be added to the command via AddNetworkFlags before running.
func DefaultNetworkOptions ¶
func DefaultNetworkOptions(configHome string) *NetworkOptions
func (*NetworkOptions) AddNetworkFlags ¶
func (o *NetworkOptions) AddNetworkFlags(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.