cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

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