flagutils

package
v0.18.38 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 10 Imported by: 27

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultNamespace = defaults.GlooSystem

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

Functions

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 AddDryRunFlag added in v0.13.5

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

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 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 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