cmd

package
v0.0.0-...-4280267 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "Display version information and exit",
	Run: func(*cobra.Command, []string) {
		fmt.Print(version.Version())
	},
}

VersionCmd is a sub-command to print version information

Functions

func AddFlags

func AddFlags(rootCmd *cobra.Command)

AddFlags carries over glog flags with new defaults

func ReadMeshConfig

func ReadMeshConfig(filename string) (*proxyconfig.MeshConfig, error)

ReadMeshConfig gets mesh configuration from a config file

func WaitSignal

func WaitSignal(stop chan struct{})

WaitSignal awaits for SIGINT or SIGTERM and closes the channel

Types

This section is empty.

Directories

Path Synopsis
cmd
cmd
cmd
Package shared contains types and functions that are used across the full set of mixer commands.
Package shared contains types and functions that are used across the full set of mixer commands.

Jump to

Keyboard shortcuts

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