Discover Packages
chromium.googlesource.com/infra/infra.git
go
src
infra
appengine
crosskylabadmin
app
frontend
internal
datastore
dronecfg
package
Version:
v0.0.0-...-e560ebb
Opens a new window with list of versions in this module.
Published: Jul 13, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package dronecfg implements datastore access for storing drone
configs.
Update updates drone configs in datastore. This update happens
atomically, as the entire set of drone configs should be consistent
so a DUT doesn't get assigned to two drones. The ConfigSet field
on the entities passed in may be modified.
DUT describes a DUT for the purposes of a drone config.
type Entity struct {
Hostname string `gae:"$id"`
ConfigSet *datastore .Key `gae:"$parent"`
DUTs []DUT `gae:",noindex"`
}
Entity is a drone config datastore entity.
Get gets a drone config from datastore by hostname.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.