command

package
v0.0.0-...-22e582f Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseCommand

type BaseCommand struct {
	Ui cli.Ui
}

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) Help

func (c *ClientCommand) Help() string

Help returns full manual.

func (*ClientCommand) Run

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

Run executes a 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) Help

func (c *CreateJobCommand) Help() string

Help returns full manual.

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) Help

func (c *DeleteJobCommand) Help() string

Help returns full manual.

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) Help

func (c *FindJobsCommand) Help() string

Help returns full manual.

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) Help

func (c *HealthCommand) Help() string

Help returns full manual.

func (*HealthCommand) Run

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

Run executes a 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) Help

func (c *ReadJobCommand) Help() string

Help returns full manual.

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) Help

func (c *ReadTasksCommand) Help() string

Help returns full manual.

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) Help

func (c *RunJobCommand) Help() string

Help returns full manual.

func (*RunJobCommand) Run

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

Run executes a 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) Help

func (c *ServerCommand) Help() string

Help returns full manual.

func (*ServerCommand) Run

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

Run executes a 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) Help

func (c *UpdateJobCommand) Help() string

Help returns full manual.

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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