[pdu] Refactor PDU code to abstract config interpretation

This change refactors the PDU code and places webcardlx into its own
package. It also brings rebootDevice over from botanist and into the
package itself, in addition to the PDU configuration. A central function
now takes in a configuration and reboots the device appropriately based
on its type.

IN-367

Change-Id: I96aa545d4ff2c7391063e446e7dddd66eda50f0a
4 files changed
tree: 2af16050abfbe173d1c5a4763a6394740b1d1ecc
  1. catapult/
  2. cmd/
  3. gerrit-policy/
  4. netboot/
  5. ninjalog/
  6. pdu/
  7. perf/
  8. retry/
  9. serial/
  10. telnet/
  11. tftp/
  12. .gitignore
  13. AUTHORS
  14. Gopkg.lock
  15. Gopkg.toml
  16. LICENSE
  17. MAINTAINERS
  18. manifest
  19. PATENTS
  20. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.

In order to build the Go code, you must clone this repo into an appropriately named directory. This should do the trick:

REPO=fuchsia.googlesource.com/infra/infra
git clone https://${REPO} $(go env GOPATH)/src/${REPO}