Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseCommand ¶
BaseCommand implements funcionality shared by all commands.
func (*BaseCommand) Errorf ¶
func (c *BaseCommand) Errorf(format string, a ...interface{})
Errorf outputs formatted error message.
func (*BaseCommand) Printf ¶
func (c *BaseCommand) Printf(format string, a ...interface{})
Printf outputs formatted message.
type ClientCommand ¶
type ClientCommand struct { *BaseCommand Version string // contains filtered or unexported fields }
ClientCommand implements interactive client.
func (*ClientCommand) Flags ¶
func (c *ClientCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*ClientCommand) Synopsis ¶
func (c *ClientCommand) Synopsis() string
Synopsis returns short, one-line help.
type CreateJobCommand ¶
type CreateJobCommand struct { *BaseCommand // contains filtered or unexported fields }
CreateJobCommand implements command for adding new job.
func (*CreateJobCommand) Flags ¶
func (c *CreateJobCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*CreateJobCommand) Run ¶
func (c *CreateJobCommand) Run(args []string) int
Run executes a command.
func (*CreateJobCommand) Synopsis ¶
func (c *CreateJobCommand) Synopsis() string
Synopsis returns short, one-line help.
type DeleteJobCommand ¶
type DeleteJobCommand struct { *BaseCommand // contains filtered or unexported fields }
DeleteJobCommand implements command for deleting existing job.
func (*DeleteJobCommand) Flags ¶
func (c *DeleteJobCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*DeleteJobCommand) Run ¶
func (c *DeleteJobCommand) Run(args []string) int
Run executes a command.
func (*DeleteJobCommand) Synopsis ¶
func (c *DeleteJobCommand) Synopsis() string
Synopsis returns short, one-line help.
type FindJobsCommand ¶
type FindJobsCommand struct { *BaseCommand // contains filtered or unexported fields }
FindJobsCommand implements command for searching based on specified pattern.
func (*FindJobsCommand) Flags ¶
func (c *FindJobsCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*FindJobsCommand) Run ¶
func (c *FindJobsCommand) Run(args []string) int
Run executes a command.
func (*FindJobsCommand) Synopsis ¶
func (c *FindJobsCommand) Synopsis() string
Synopsis returns short, one-line help.
type HealthCommand ¶
type HealthCommand struct { *BaseCommand // contains filtered or unexported fields }
HealthCommand implements command for returning server's info.
func (*HealthCommand) Flags ¶
func (c *HealthCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*HealthCommand) Synopsis ¶
func (c *HealthCommand) Synopsis() string
Synopsis returns short, one-line help.
type ReadJobCommand ¶
type ReadJobCommand struct { *BaseCommand // contains filtered or unexported fields }
ReadJobCommand implements command for getting job's info.
func (*ReadJobCommand) Flags ¶
func (c *ReadJobCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*ReadJobCommand) Run ¶
func (c *ReadJobCommand) Run(args []string) int
Run executes a command.
func (*ReadJobCommand) Synopsis ¶
func (c *ReadJobCommand) Synopsis() string
Synopsis returns short, one-line help.
type ReadTasksCommand ¶
type ReadTasksCommand struct { *BaseCommand // contains filtered or unexported fields }
ReadTasksCommand implements command for returning job's run (history).
func (*ReadTasksCommand) Flags ¶
func (c *ReadTasksCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*ReadTasksCommand) Run ¶
func (c *ReadTasksCommand) Run(args []string) int
Run executes a command.
func (*ReadTasksCommand) Synopsis ¶
func (c *ReadTasksCommand) Synopsis() string
Synopsis returns short, one-line help.
type RunJobCommand ¶
type RunJobCommand struct { *BaseCommand // contains filtered or unexported fields }
RunJobCommand implements command for scheduling job for immediate run.
func (*RunJobCommand) Flags ¶
func (c *RunJobCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*RunJobCommand) Synopsis ¶
func (c *RunJobCommand) Synopsis() string
Synopsis returns short, one-line help.
type ServerCommand ¶
type ServerCommand struct { *BaseCommand Version string // contains filtered or unexported fields }
ServerCommand implements command for running server.
func (*ServerCommand) Flags ¶
func (c *ServerCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*ServerCommand) Synopsis ¶
func (c *ServerCommand) Synopsis() string
Synopsis returns short, one-line help.
type UpdateJobCommand ¶
type UpdateJobCommand struct { *BaseCommand // contains filtered or unexported fields }
UpdateJobCommand implements command for changing existing job.
func (*UpdateJobCommand) Flags ¶
func (c *UpdateJobCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*UpdateJobCommand) Run ¶
func (c *UpdateJobCommand) Run(args []string) int
Run executes a command.
func (*UpdateJobCommand) Synopsis ¶
func (c *UpdateJobCommand) Synopsis() string
Synopsis returns short, one-line help.
type UpdateTokenCommand ¶
type UpdateTokenCommand struct {
*BaseCommand
}
UpdateTokenCommand implements command for updating authz token.
func (*UpdateTokenCommand) Flags ¶
func (c *UpdateTokenCommand) Flags() *flagSet
Flags returns parameters associated with command.
func (*UpdateTokenCommand) Help ¶
func (c *UpdateTokenCommand) Help() string
Help returns full manual.
func (*UpdateTokenCommand) Run ¶
func (c *UpdateTokenCommand) Run(args []string) int
Run executes a command.
func (*UpdateTokenCommand) Synopsis ¶
func (c *UpdateTokenCommand) Synopsis() string
Synopsis returns short, one-line help.