stableversion

package
v0.0.0-...-3c039c4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

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