Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetStableVersionCmd = &subcommands.Command{ UsageLine: "stable-version ...", ShortDesc: "Get stable version used for auto-repair.", LongDesc: cmdhelp.GetStableVersionText, CommandRun: func() subcommands.CommandRun { c := &getStableVersion{ pools: []string{}, } c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.envFlags.Register(&c.Flags) c.commonFlags.Register(&c.Flags) c.Flags.StringVar(&c.hostname, "name", "", "Hostname which used to get version.") c.Flags.StringVar(&c.deviceType, "device-type", "cros", "Type of the target device of testbed. Default: cros. Other values: androidos, camera_box_tablet, wifi_router, e.t.c.") c.Flags.StringVar(&c.board, "board", "", "Name of the board used to get version.") c.Flags.StringVar(&c.model, "model", "", "Name of the model used to get version.") c.Flags.Var(utils.CSVString(&c.pools), "pools", "comma separated pools used to get version.") return c }, }
GetStableVersionCmd get stable version for given host and board/model.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.