Help us shape the future of Go! Take the 2026 Go Developer Survey

runner

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitCodeOK        int = iota //0
	ExitCodeError     int = iota //1
	ExitCodeFileError int = iota //2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteOption

type DeleteOption struct {
	Delete bool `short:"D" long:"delete" description:"delete registed runner."`
}

type ListOption

type ListOption struct {
	Num   int    `short:"n" long:"num" value-name:"<num>" default:"20" default-mask:"20" description:"Limit the number of runner to output."`
	Scope string `long:"scope" value-name:"<scope>" description:"Print only given scope. \"active\", \"paused\", \"online\" \"offline\"."`
}

type Option

type Option struct {
	ProjectProfileOption *internal.ProjectProfileOption `group:"Project, Profile Options"`
	ListOption           *ListOption                    `group:"List Options"`
	DeleteOption         *DeleteOption                  `group:"Delete Options"`
}

type RunnerCommand

type RunnerCommand struct {
	UI              ui.UI
	RemoteCollecter gitutil.Collecter
	ClientFactory   api.APIClientFactory
}

func (*RunnerCommand) Help

func (c *RunnerCommand) Help() string

func (*RunnerCommand) Run

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

func (*RunnerCommand) Synopsis

func (c *RunnerCommand) Synopsis() string

Jump to

Keyboard shortcuts

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