Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteStableVersion = &subcommands.Command{ UsageLine: `delete-stable-version`, ShortDesc: `Delete the satlab stable version. Non-satlab stable versions cannot be deleted.`, CommandRun: func() subcommands.CommandRun { r := &deleteStableVersionRun{} r.crOSAdminRPCRun.Register(&r.Flags) r.authFlags.Register(&r.Flags, site.DefaultAuthOptions) r.Flags.StringVar(&r.board, "board", "", "the board or build target") r.Flags.StringVar(&r.model, "model", "", "the model") r.Flags.StringVar(&r.hostname, "hostname", "", "the hostname") return r }, }
DeleteStableVersion is a command for the DeleteStableVersion RPC. It intentionally performs no validation of its own and forwards requests to CSA as is.
View Source
var GetDevice = &subcommands.Command{ UsageLine: `get-device`, ShortDesc: `Get the device`, CommandRun: func() subcommands.CommandRun { r := &getDeviceRun{} r.authFlags.Register(&r.Flags, site.DefaultAuthOptions) r.Flags.StringVar(&r.ufs, "ufs", site.ProdUFS, "the UFS server") r.Flags.StringVar(&r.name, "name", "", "the device name") return r }, }
GetDevice calls the GetMachineLSE RPC of UFS the way that CrOSSkylabAdmin would.
View Source
var GetMachineLSE = &subcommands.Command{ UsageLine: `get-machine-lse`, ShortDesc: `Get the stable version`, CommandRun: func() subcommands.CommandRun { r := &getMachineLSERun{} r.authFlags.Register(&r.Flags, site.DefaultAuthOptions) r.Flags.StringVar(&r.ufs, "ufs", site.ProdUFS, "the UFS server") r.Flags.StringVar(&r.name, "name", "", "the device name") return r }, }
GetMachineLSE calls the GetMachineLSE RPC of UFS the way that CrOSSkylabAdmin would.
View Source
var GetStableVersion = &subcommands.Command{ UsageLine: `get-stable-version`, ShortDesc: `Get the stable version`, CommandRun: func() subcommands.CommandRun { r := &getStableVersionRun{} r.crOSAdminRPCRun.Register(&r.Flags) r.authFlags.Register(&r.Flags, site.DefaultAuthOptions) r.Flags.StringVar(&r.board, "board", "", "the board or build target") r.Flags.StringVar(&r.model, "model", "", "the model") r.Flags.StringVar(&r.hostname, "hostname", "", "the hostname") r.Flags.BoolVar(&r.satlab, "satlab", false, "whether to get the satlab version") return r }, }
GetStableVersion is a command for the GetStableVersion RPC. It intentionally performs no validation of its own and forwards requests to CSA as is.
View Source
var PushBotsForAdminTasks = &subcommands.Command{ UsageLine: "push-bots-for-admin-tasks", ShortDesc: "Call the push bots for admin tasks RPC", CommandRun: func() subcommands.CommandRun { r := &pushBotsForAdminTasksRun{} r.crOSAdminRPCRun.Register(&r.Flags) r.authFlags.Register(&r.Flags, site.DefaultAuthOptions) return r }, }
View Source
var SetStableVersion = &subcommands.Command{ UsageLine: `set-stable-version`, ShortDesc: `Set the stable version for satlab devices`, CommandRun: func() subcommands.CommandRun { r := &setStableVersionRun{} r.crOSAdminRPCRun.Register(&r.Flags) r.authFlags.Register(&r.Flags, site.DefaultAuthOptions) r.Flags.StringVar(&r.board, "board", "", "the board or build target") r.Flags.StringVar(&r.model, "model", "", "the model") r.Flags.StringVar(&r.hostname, "hostname", "", "the hostname") r.Flags.StringVar(&r.os, "os", "", "the OS version") r.Flags.StringVar(&r.fw, "fw", "", "the firmware version") r.Flags.StringVar(&r.fwImage, "fw-image", "", "the firmware image version") return r }, }
SetStableVersion is a command for the GetStableVersion RPC. It intentionally performs no validation of its own and forwards requests to CSA as is.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.