commands

package
v0.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2015 License: Apache-2.0 Imports: 29 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 CFGFILE = "/etc/rexray/rexray.conf"
View Source
const ENVFILE = "/etc/rexray/rexray.env"
View Source
const INTFILE = "/etc/init.d/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 Exec

func Exec()

Exec function

func GetInitSystemCmd

func GetInitSystemCmd() string

func GetInitSystemType

func GetInitSystemType() int

func Install

func Install()

func Restart

func Restart()

func Start

func Start()

func Status

func Status()

func Stop

func Stop()

Types

type HelpFlagPanic

type HelpFlagPanic struct{}

type PrintedErrorPanic

type PrintedErrorPanic struct{}

type SubCommandPanic

type SubCommandPanic struct{}

Jump to

Keyboard shortcuts

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