flagutils

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 13 Imported by: 27

Documentation

Index

Constants

View Source
const (
	OutputFlag = "output"
	FileFlag   = "file"
	DryRunFlag = "dry-run"
)

Variables

View Source
var DefaultNamespace = defaults.GlooSystem

DefaultNamespace wraps defaults.GlooSystem to separate global Gloo defaults from glooctl flags

Functions

func AddAuthConfigFlags added in v1.0.0

func AddAuthConfigFlags(set *pflag.FlagSet, ac *options.InputAuthConfig)

func AddConfigFlagsOIDCSettings added in v0.18.42

func AddConfigFlagsOIDCSettings(set *pflag.FlagSet, oidc *options.OIDCSettings)

func AddConsulConfigFlags added in v0.18.23

func AddConsulConfigFlags(set *pflag.FlagSet, consul *options.Consul)

func AddCreateUpstreamFlags added in v0.18.16

func AddCreateUpstreamFlags(set *pflag.FlagSet, upstreamType string, upstream *options.InputUpstream)

func AddDebugFlags added in v0.18.44

func AddDebugFlags(set *pflag.FlagSet, top *options.Top)

func AddDryRunFlag added in v0.13.5

func AddDryRunFlag(set *pflag.FlagSet, dryRun *bool)

func AddEnterpriseInstallFlags added in v0.18.42

func AddEnterpriseInstallFlags(set *pflag.FlagSet, install *options.Install)

func AddFileFlag

func AddFileFlag(set *pflag.FlagSet, strptr *string)

func AddInstallFlags

func AddInstallFlags(set *pflag.FlagSet, install *options.Install)

func AddKnativeInstallFlags added in v0.17.0

func AddKnativeInstallFlags(set *pflag.FlagSet, install *options.Knative)

func AddKubeConfigFlag added in v0.18.43

func AddKubeConfigFlag(set *pflag.FlagSet, kubeConfig *string)

func AddMetadataFlags

func AddMetadataFlags(set *pflag.FlagSet, metaptr *core.Metadata)

func AddNamespaceFlag

func AddNamespaceFlag(set *pflag.FlagSet, strptr *string)

func AddOutputFlag

func AddOutputFlag(set *pflag.FlagSet, outputType *printers.OutputType)

func AddRouteFlags

func AddRouteFlags(set *pflag.FlagSet, route *options.InputRoute)

func AddUninstallFlags

func AddUninstallFlags(set *pflag.FlagSet, opts *options.Uninstall)

func AddVaultSecretFlags added in v0.18.23

func AddVaultSecretFlags(set *pflag.FlagSet, vault *options.Vault)

func AddVerboseFlag added in v0.17.0

func AddVerboseFlag(set *pflag.FlagSet, opts *options.Options)

currently only used by install/uninstall/dashboard but should be changed if it gets shared by more

func AddVirtualServiceFlags

func AddVirtualServiceFlags(set *pflag.FlagSet, vs *options.InputVirtualService)

func RemoveRouteFlags

func RemoveRouteFlags(set *pflag.FlagSet, route *options.RemoveRoute)

Types

This section is empty.

Jump to

Keyboard shortcuts

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