Add dryad package
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Fri, 8 Sep 2017 12:52:34 +0000 (14:52 +0200)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Mon, 5 Mar 2018 16:56:44 +0000 (17:56 +0100)
commite706b448db0c82642d773e7c13ff46c1ec859618
tree519fab048dbf1c87d5f3ee3ea952e9f6db3635bb
parentaa9ba4874e92fae53fd22f064d3c485af2fadaba
Add dryad package

Package dryad provides:
 * implementation of Dryad interface
 * utilities to manage Dryad and its users

Verification steps:
    // compile tests
    GOARCH=arm GOARM=7 GOOS=linux ginkgo build -cover dryad
    // copy dryad/dryad.test to device
    // run everything
    ./dryad.test -ginkgo.v
    // run without measurements
    ./dryad.test -ginkgo.v -ginkgo.skipMeasurements
    // run prepare only
    ./dyrad.test -ginkgo.focus "should prepare"
    // private key will be printed on stderr
    // it can be used to verify that SSH key is properly installed

Currently dryad is being run as root on muxpi. Future patches will
probably use sudo and require configured file in /etc/sudoers.d/
directory.

Change-Id: I095361ffd1f4b2b3fa5dfe2c000f960dd32886e2
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
dryad/dryad_suite_test.go [new file with mode: 0644]
dryad/key.go [new file with mode: 0644]
dryad/key_test.go [new file with mode: 0644]
dryad/muxpi.go [new file with mode: 0644]
dryad/rusalka.go [new file with mode: 0644]
dryad/rusalka_test.go [new file with mode: 0644]
dryad/user.go [new file with mode: 0644]
dryad/user_test.go [new file with mode: 0644]