flagutils

package
v1.11.6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 13 Imported by: 27

Documentation

Index

Constants

View Source
const (
	OutputFlag = "output"
	FileFlag   = "file"
	DryRunFlag = "dry-run"
)
View Source
const LocalClusterDomainOverride = "local-cluster-domain-override"

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 AddCheckOutputFlag added in v1.9.0

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

func AddClusterFlags added in v1.5.0

func AddClusterFlags(set *pflag.FlagSet, register *options.Cluster)

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 AddDeregisterFlags added in v1.5.0

func AddDeregisterFlags(set *pflag.FlagSet, register *options.Register)

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 AddExcludeCheckFlag added in v1.9.25

func AddExcludeCheckFlag(set *pflag.FlagSet, strarrptr *[]string)

func AddFederationDemoFlags added in v1.5.0

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

func AddFileFlag

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

func AddGlooInstallFlags added in v1.5.0

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

func AddGlooUninstallFlags added in v1.5.0

func AddGlooUninstallFlags(set *pflag.FlagSet, opts *options.HelmUninstall)

func AddIncludeUpstreamsFlag added in v1.7.0

func AddIncludeUpstreamsFlag(set *pflag.FlagSet, boolptr *bool)

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 AddRegisterFlags added in v1.5.0

func AddRegisterFlags(set *pflag.FlagSet, register *options.Register)

func AddRouteFlags

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

func AddUpstreamFlag added in v1.5.0

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

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