clihelper

package
v0.0.0-...-acf58c8 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAccessKeyEnv  = "GCN_ACCESS_KEY"
	DefaultRefreshKeyEnv = "GCN_REFRESH_KEY"
)

Variables

View Source
var MainProxyCLIConfig = &mainProxyCliConfig{}

Functions

This section is empty.

Types

type CLIOptions

type CLIOptions struct {
	ServerAddress  cliClient.Option
	Output         cliClient.Option
	PrettyEncoder  cliClient.Option
	CAConfig       cliClient.Option
	PreDialer      cliClient.PreDialer
	AuthFlagBinder cliClient.FlagBinder
}

func CLIWrapper

func CLIWrapper(rootCaPath, hostAddr, envPath string) *CLIOptions

func (*CLIOptions) GetAllOptions

func (c *CLIOptions) GetAllOptions() []cliClient.Option

func (*CLIOptions) RegisterAuthDialer

func (c *CLIOptions) RegisterAuthDialer()

Jump to

Keyboard shortcuts

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