cmd

package
v1.8.25 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 34 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 []PreRunFunc, 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 PreRunFunc added in v0.18.14

type PreRunFunc 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