Documentation
¶
Overview ¶
Package swarming contains utilities for skylab swarming tasks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DimensionsMap ¶
func DimensionsMap(sdims []*swarmingv2.StringListPair) strpair.Map
DimensionsMap converts swarming bot dimensions to a map.
func DimensionsMapV2 ¶
func DimensionsMapV2(sdims []*swarmingv2.StringListPair) strpair.Map
DimensionsMapV2 converts swarming bot dimensions to a map.
func ExtractSingleValuedDimension ¶
ExtractSingleValuedDimension extracts one specified dimension from a dimension slice.
Types ¶
type BotState ¶
type BotState struct { StorageState []string `json:"storage_state"` ServoUSBState []string `json:"servo_usb_state"` RpmState []string `json:"rpm_state"` }
BotState represents State of the BOT in the swarming
func ExtractBotState ¶
func ExtractBotState(botInfo *swarmingv2.BotInfo) BotState
ExtractBotState extracts BOTState from BOT info.
Click to show internal directories.
Click to hide internal directories.