Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v1.22.7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 39 Imported by: 6

Documentation

Index

Constants

View Source
const (
	ConfigFileName = "glooctl-config.yaml"
	ConfigDirName  = ".gloo"
)
View Source
const (
	Name = "glooctl"
)

Variables

View Source
var DefaultConfigPath = path.Join(homeDir, ConfigDirName, ConfigFileName)

Functions

func App

func App(opts *options.Options, preRunFuncs []RunnableCommand, postRunFuncs []RunnableCommand, optionsFunc ...cliutils.OptionsFunc) *cobra.Command

func CommandWithContext added in v1.17.0

func CommandWithContext(ctx context.Context) *cobra.Command

func GlooCli

func GlooCli() *cobra.Command

func ReadConfigFile added in v1.0.0

func ReadConfigFile(opts *options.Options, cmd *cobra.Command) error

Types

type RunnableCommand added in v1.9.0

type RunnableCommand func(*options.Options, *cobra.Command) error

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
mocks
Package mock_version is a generated GoMock package.
Package mock_version is a generated GoMock package.

Jump to

Keyboard shortcuts

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