options

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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)

func (*NetworkOptions) Complete

func (o *NetworkOptions) Complete(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL