airshipctl/pkg/remote/power
Drew Walters 69e8c886fe Add strong typing for baremetal power statuses
Baremetal host power statuses are handled as strings in airshipctl.
Invoking remotedirect on a host that is powered off will result in a
remotedirect failure; therefore, the power status of a host needs to be
verified before remotedirect can begin. This change adds strict typing
to baremetal power statuses so airshipctl can verify the status of a
remote host before performing remotedirect regardless of the client type
(e.g. redfish, other).

Change-Id: I22f1784006add018ee1d67c18f94499aa9544752
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-05-01 17:25:31 +00:00
..
status_test.go Add strong typing for baremetal power statuses 2020-05-01 17:25:31 +00:00
status.go Add strong typing for baremetal power statuses 2020-05-01 17:25:31 +00:00