Documentation ¶
Index ¶
Constants ¶
View Source
const ( GlooHelmRepoTemplate = "https://storage.googleapis.com/solo-public-helm/charts/gloo-%s.tgz" GlooWithUiHelmRepoTemplate = "https://storage.googleapis.com/gloo-os-ui-helm/charts/gloo-os-with-ui-%s.tgz" GlooReleaseName = "gloo" KnativeServingNamespace = "knative-serving" // This annotation is present on resources that are included in the chart only to clean up hooks. // We use it to filter out those resources wherever that it necessary. HookCleanupResourceAnnotation = "solo.io/hook-cleanup" )
View Source
const (
ExtAuthExtensionName = "extauth"
)
Variables ¶
View Source
var ( VIRTUAL_SERVICE_COMMAND = cobra.Command{ Use: "virtualservice", Aliases: []string{"vs", "virtualservices"}, } ROUTE_TABLE_COMMAND = cobra.Command{ Use: "routetable", Aliases: []string{"rt", "routetables"}, } UPSTREAM_COMMAND = cobra.Command{ Use: "upstream", Aliases: []string{"u", "us", "upstreams"}, } UPSTREAM_GROUP_COMMAND = cobra.Command{ Use: "upstreamgroup", Aliases: []string{"ug", "ugs", "upstreamgroups"}, } PROXY_COMMAND = cobra.Command{ Use: "proxy", Aliases: []string{"p", "proxies"}, } ROUTE_COMMAND = cobra.Command{ Use: "route", Aliases: []string{"r", "routes"}, } SECRET_COMMAND = cobra.Command{ Use: "secret", Aliases: []string{"s", "secret"}, } AUTH_CONFIG_COMMAND = cobra.Command{ Use: "authconfig", Aliases: []string{"ac", "authconfig"}, } ADD_COMMAND = cobra.Command{ Use: "add", Aliases: []string{"a"}, Short: "Adds configuration to a top-level Gloo resource", } CHECK_COMMAND = cobra.Command{ Use: "check", Short: "Checks Gloo resources for errors (requires Gloo running on Kubernetes)", } CREATE_COMMAND = cobra.Command{ Use: "create", Aliases: []string{"c"}, Short: "Create a Gloo resource", Long: "Gloo resources be created from files (including stdin)", } DEBUG_COMMAND = cobra.Command{ Use: "debug", Short: "Debug a Gloo resource (requires Gloo running on Kubernetes)", } DEBUG_LOG_COMMAND = cobra.Command{ Use: "logs", Aliases: []string{"log"}, Short: "Debug Gloo logs (requires Gloo running on Kubernetes)", } DEBUG_YAML_COMMAND = cobra.Command{ Use: "yaml", Short: "Dump YAML representing the current Gloo state (requires Gloo running on Kubernetes)", } DELETE_COMMAND = cobra.Command{ Use: "delete", Aliases: []string{"d"}, Short: "Delete a Gloo resource", } GET_COMMAND = cobra.Command{ Use: "get", Aliases: []string{"g"}, Short: "Display one or a list of Gloo resources", } INSTALL_COMMAND = cobra.Command{ Use: "install", Short: "install gloo on different platforms", Long: "choose which version of Gloo to install.", } UNINSTALL_COMMAND = cobra.Command{ Use: "uninstall", Short: "uninstall gloo", } UPGRADE_COMMAND = cobra.Command{ Use: "upgrade", Aliases: []string{"ug"}, Short: "upgrade glooctl binary", } EDIT_COMMAND = cobra.Command{ Use: "edit", Aliases: []string{"ed"}, Short: "Edit a Gloo resource", } OBSERVABILITY_COMMAND = cobra.Command{ Use: "observability", Aliases: []string{"o", "obs", "observe"}, Short: "root command for observability functionality", } SETTINGS_COMMAND = cobra.Command{ Use: "settings", Aliases: []string{"st", "set"}, Short: "root command for settings", } CONFIG_EXTAUTH_COMMAND = cobra.Command{ Use: "externalauth", Aliases: []string{"extauth"}, Short: "root command for external auth functionality", } CONFIG_RATELIMIT_COMMAND = cobra.Command{ Use: "ratelimit", Short: "root command for rate limit functionality", } VERSION_COMMAND = cobra.Command{ Use: "version", Aliases: []string{"v"}, Short: "Print current version", Long: "Get the version of Glooctl and Gloo", } )
View Source
var (
SubcommandError = errors.New("please select a subcommand")
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.