Back to godoc.org

Package ledcli

v0.0.0-...-1049e10
Latest Go to latest

The latest major version is .

Published: today | License: Apache-2.0 | Module: go.chromium.org/luci

Overview

Package ledcli implements the subcommands for the `led` command line tool.

Each file here roughly corresponds to one of the subcommands of `led`. A `led` subcommand manipulates a `job definition` object (a proto, see the `job` subpackage).

The `get*` subcommands writes a job definition from some external source. The `launch` subcommand reads a job definition and launches it in Swarming. The `edit*` subcommands reads a job definition, manipulates it, then writes

the evolved job definition out.

led subcommands are meant to be connected in a UNIX pipeline, starting with a 'get' subcommand, and ending with the 'launch' subcommand.

Index

func Main

func Main(ks job.KitchenSupport)

Main executes the entire 'led' command line program, including argument parsing and exiting the binary.

If you want to support 'kitchen' based swarming tasks, pass an implementation of `ks`. The only implementation of `ks` that matters is in the 'infra/tools/led2' package.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier