cmd

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "No version defined at build time"

Functions

func AddCommonFlags

func AddCommonFlags(cmd *cobra.Command, cfg *CommonConfig, hasLogger bool)

func CheckCommonConfig

func CheckCommonConfig(cfg *CommonConfig) error

func IsColorLoggerEnable added in v0.9.0

func IsColorLoggerEnable(cmd *cobra.Command, cfg *CommonConfig) bool

Types

type CommonConfig

type CommonConfig struct {
	StoreBackend           string
	StoreEndpoints         string
	StorePrefix            string
	StoreCertFile          string
	StoreKeyFile           string
	StoreCAFile            string
	StoreSkipTlsVerify     bool
	ClusterName            string
	InitialClusterSpecFile string
	LogColor               bool
	LogLevel               string
	Debug                  bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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