Documentation
¶
Overview ¶
Package megadrone implements a megadrone agent, which manages a static set of Swarming bots. Unlike the agent package, it does not talk to drone queen to get DUT assignments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { // WorkingDir is used for Swarming bot working dirs. It is // the caller's responsibility to create this. WorkingDir string // StartBotFunc is used to start Swarming bots. // This must be set. StartBotFunc func(bot.Config) (bot.Bot, error) // BotPrefix is used to prefix IDs for bots. // This must be unique for the Swarming instance, as megadrone // does not use unique DUT hostnames. BotPrefix string // NumBots is the number of bots to run. NumBots int // contains filtered or unexported fields }
An Agent manages a static number of Swarming bots.
Click to show internal directories.
Click to hide internal directories.