Documentation ¶
Index ¶
Constants ¶
View Source
const ( ALL = "-all" RELOAD = "-reload" )
Variables ¶
View Source
var AtLeastOneArgumentErr = errors.New("at least one argument should be specified")
Functions ¶
func CompleteNames ¶
Types ¶
type CfgCommand ¶
type CfgCommand struct {
// contains filtered or unexported fields
}
func (*CfgCommand) Exec ¶
func (c *CfgCommand) Exec() error
func (*CfgCommand) Validate ¶
func (c *CfgCommand) Validate(args ...string) error
type EmptyCommand ¶
type EmptyCommand struct { }
func (*EmptyCommand) Exec ¶
func (c *EmptyCommand) Exec() error
func (*EmptyCommand) Validate ¶
func (c *EmptyCommand) Validate(args ...string) error
type EnvCommand ¶
type EnvCommand struct {
// contains filtered or unexported fields
}
func (*EnvCommand) Exec ¶
func (c *EnvCommand) Exec() error
func (*EnvCommand) Validate ¶
func (c *EnvCommand) Validate(args ...string) error
type ExitCommand ¶
type ExitCommand struct { }
func (*ExitCommand) Exec ¶
func (c *ExitCommand) Exec() error
func (*ExitCommand) Validate ¶
func (c *ExitCommand) Validate(args ...string) error
type KillCommand ¶
type KillCommand struct {
// contains filtered or unexported fields
}
func (*KillCommand) Exec ¶
func (c *KillCommand) Exec() error
func (*KillCommand) Validate ¶
func (c *KillCommand) Validate(args ...string) error
type LogsCommand ¶
type LogsCommand struct {
// contains filtered or unexported fields
}
func (*LogsCommand) Exec ¶
func (c *LogsCommand) Exec() error
func (*LogsCommand) Validate ¶
func (c *LogsCommand) Validate(args ...string) error
type RestartCommand ¶
type RestartCommand struct {
// contains filtered or unexported fields
}
func (*RestartCommand) Exec ¶
func (c *RestartCommand) Exec() error
func (*RestartCommand) Validate ¶
func (c *RestartCommand) Validate(args ...string) error
type StartCommand ¶
type StartCommand struct {
// contains filtered or unexported fields
}
func (*StartCommand) Exec ¶
func (c *StartCommand) Exec() error
func (*StartCommand) Validate ¶
func (c *StartCommand) Validate(args ...string) error
type StopCommand ¶
type StopCommand struct {
// contains filtered or unexported fields
}
func (*StopCommand) Exec ¶
func (c *StopCommand) Exec() error
func (*StopCommand) Validate ¶
func (c *StopCommand) Validate(args ...string) error
type VersionCommand ¶
type VersionCommand struct {
Version string
}
func (*VersionCommand) Exec ¶
func (c *VersionCommand) Exec() error
func (*VersionCommand) Validate ¶
func (c *VersionCommand) Validate(args ...string) error
Click to show internal directories.
Click to hide internal directories.