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 CFGFILE = "/etc/rexray/rexray.conf"
View Source
const ENVFILE = "/etc/rexray/rexray.env"
View Source
const EXEFILE = "/opt/rexray/rexray"
View Source
const INTFILE = "/etc/init.d/rexray"
View Source
const REXHOME = "/opt/rexray"
View Source
const RexRayLogoAscii = `` /* 3080-byte string literal not displayed */
View Source
const UNTFILE = "/etc/systemd/system/rexray.service"
View Source
const UsageTemplate = `` /* 1030-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 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{}
Click to show internal directories.
Click to hide internal directories.