cmd

package
v1.14.0-beta14 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 37 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.
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