flag

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBoxProviderFlag

func AddBoxProviderFlag(command *cobra.Command) *commonFlag.ProviderFlag

func BoxProviders

func BoxProviders() []commonFlag.ProviderFlag

func ValidateBoxProviderFlag added in v0.10.0

func ValidateBoxProviderFlag(configValue string, providerId *commonFlag.ProviderFlag) (model.BoxProvider, error)

func ValidateTunnelFlag

func ValidateTunnelFlag(tunnelFlag *TunnelFlag, provider boxModel.BoxProvider) error

Types

type TunnelFlag

type TunnelFlag struct {
	NoExec   bool
	NoTunnel bool
}

func AddTunnelFlag

func AddTunnelFlag(command *cobra.Command) *TunnelFlag

func (*TunnelFlag) ToConnectOptions

func (f *TunnelFlag) ToConnectOptions(template *boxModel.BoxV1, name string, temporary bool) *boxModel.ConnectOptions

Jump to

Keyboard shortcuts

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