command

package
v0.0.0-...-a0bb070 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EXIT_OK = iota
	EXIT_USAGE
	EXIT_START
	EXIT_STOP
	EXIT_RESTART
	EXIT_ERROR
)

Variables

View Source
var (
	ServerAlreadyRunning = errors.New("server already running")
	ServerConfNotFound   = errors.New("server conf not found")
)

Functions

This section is empty.

Types

type DumpDBCommand

type DumpDBCommand struct {
	Ui cli.Ui
}

func (*DumpDBCommand) Help

func (c *DumpDBCommand) Help() string

func (*DumpDBCommand) Run

func (c *DumpDBCommand) Run(args []string) int

func (*DumpDBCommand) Synopsis

func (c *DumpDBCommand) Synopsis() string

type ObjectCommand

type ObjectCommand struct {
	Logger *log.Logger
}

func (*ObjectCommand) Help

func (c *ObjectCommand) Help() string

func (*ObjectCommand) Run

func (c *ObjectCommand) Run(args []string) int

func (*ObjectCommand) Synopsis

func (c *ObjectCommand) Synopsis() string

type ObjectUpdaterCommand

type ObjectUpdaterCommand struct {
	Logger *log.Logger
}

func (*ObjectUpdaterCommand) Help

func (c *ObjectUpdaterCommand) Help() string

func (*ObjectUpdaterCommand) Run

func (c *ObjectUpdaterCommand) Run(args []string) int

func (*ObjectUpdaterCommand) Synopsis

func (c *ObjectUpdaterCommand) Synopsis() string

type PackAuditorCommand

type PackAuditorCommand struct {
	Logger *log.Logger
}

func (*PackAuditorCommand) Help

func (c *PackAuditorCommand) Help() string

func (*PackAuditorCommand) Run

func (c *PackAuditorCommand) Run(args []string) int

func (*PackAuditorCommand) Synopsis

func (c *PackAuditorCommand) Synopsis() string

type PackReplicatorCommand

type PackReplicatorCommand struct {
	Logger *log.Logger
}

func (*PackReplicatorCommand) Help

func (c *PackReplicatorCommand) Help() string

func (*PackReplicatorCommand) Run

func (c *PackReplicatorCommand) Run(args []string) int

func (*PackReplicatorCommand) Synopsis

func (c *PackReplicatorCommand) Synopsis() string

type ReloadCommand

type ReloadCommand struct {
	Logger *log.Logger
}

func (*ReloadCommand) Help

func (c *ReloadCommand) Help() string

func (*ReloadCommand) Run

func (c *ReloadCommand) Run(args []string) int

func (*ReloadCommand) Synopsis

func (c *ReloadCommand) Synopsis() string

type RestartCommand

type RestartCommand struct {
	Logger *log.Logger
}

func (*RestartCommand) Help

func (c *RestartCommand) Help() string

func (*RestartCommand) Run

func (c *RestartCommand) Run(args []string) int

func (*RestartCommand) Synopsis

func (c *RestartCommand) Synopsis() string

type ShutdownCommand

type ShutdownCommand struct {
	Logger *log.Logger
}

func (*ShutdownCommand) Help

func (c *ShutdownCommand) Help() string

func (*ShutdownCommand) Run

func (c *ShutdownCommand) Run(args []string) int

func (*ShutdownCommand) Synopsis

func (c *ShutdownCommand) Synopsis() string

type StartCommand

type StartCommand struct {
	Logger *log.Logger
}

func (*StartCommand) Help

func (c *StartCommand) Help() string

func (*StartCommand) Run

func (c *StartCommand) Run(args []string) int

func (*StartCommand) Synopsis

func (c *StartCommand) Synopsis() string

type StopCommand

type StopCommand struct {
	Logger *log.Logger
}

func (*StopCommand) Help

func (c *StopCommand) Help() string

func (*StopCommand) Run

func (c *StopCommand) Run(args []string) int

func (*StopCommand) Synopsis

func (c *StopCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
}

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

func (c *VersionCommand) Run(args []string) int

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Jump to

Keyboard shortcuts

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