cli

package
v0.2.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2015 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown = iota
	SystemD
	UpdateRcD
	ChkConfig
)

init system types

View Source
const (
	NoColor     = 0
	Black       = 30
	Red         = 31
	RedBg       = 41
	Green       = 32
	Yellow      = 33
	Blue        = 34
	Gray        = 37
	BlueBg      = Blue + 10
	White       = 97
	WhiteBg     = White + 10
	DarkGrayBg  = 100
	LightBlue   = 94
	LightBlueBg = LightBlue + 10
)
View Source
const InitScriptTemplate = `` /* 663-byte string literal not displayed */
View Source
const RexRayLogoAscii = `` /* 3080-byte string literal not displayed */
View Source
const UnitFileTemplate = `` /* 209-byte string literal not displayed */
View Source
const UsageTemplate = `` /* 1032-byte string literal not displayed */

Variables

View Source
var (
	IOPS int64
)
View Source
var RexrayCmd = &cobra.Command{
	Use: "rexray",
	Short: "REX-Ray:\n" +
		"  A guest-based storage introspection tool that enables local\n" +
		"  visibility and management from cloud and storage platforms.",
	PersistentPreRun: preRun,
	Run: func(cmd *cobra.Command, args []string) {
		cmd.Usage()
	},
}

RexrayCmd

Functions

func Exec

func Exec()

Exec function

func GetInitSystemCmd

func GetInitSystemCmd() string

func GetInitSystemType

func GetInitSystemType() int

Types

type HelpFlagPanic

type HelpFlagPanic struct{}

type PrintedErrorPanic

type PrintedErrorPanic struct{}

type SubCommandPanic

type SubCommandPanic struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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