commands

package
v0.1.150609 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2015 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IOPS int64
)
View Source
var RexrayCmd = &cobra.Command{
	Use: "rexray",
	Run: func(cmd *cobra.Command, args []string) {
		InitConfig()

		if !daemon {
			cmd.Usage()
			return
		}

		if err := rrdaemon.Start(host); err != nil {
			log.Fatalf("Error starting daemon: %s", err)
		}

	},
}

RexrayCmd

Functions

func AddCommands

func AddCommands()

AddCommands function

func Exec

func Exec()

Exec function

func InitConfig

func InitConfig()

InitConfig function

Types

type FlagValue

type FlagValue struct {
	// contains filtered or unexported fields
}

FlagValue struct

Jump to

Keyboard shortcuts

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