cmd

package
v1.17.0-beta22 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 36 Imported by: 6

Documentation

Index

Constants

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

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