diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-01-23 15:33:08 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-01-23 15:33:08 +0100 |
commit | facf3f10b243d027cc2a28661fe1cd8d4253dafa (patch) | |
tree | c483a3b2461cce66f109a3318276d276db8bbf3f /lib/xaapiv1/sdks.go | |
parent | 6d17c864bad066fbb5400733dcaf918253f5973b (diff) |
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xaapiv1/sdks.go')
-rw-r--r-- | lib/xaapiv1/sdks.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/xaapiv1/sdks.go b/lib/xaapiv1/sdks.go index 7f2ab02..97db9a8 100644 --- a/lib/xaapiv1/sdks.go +++ b/lib/xaapiv1/sdks.go @@ -53,10 +53,17 @@ type SDKInstallArgs struct { InstallArgs []string `json:"installArgs"` // args directly passed to add/install script } +// SDK SDKManagementMsg Actions +const ( + SdkMgtActionInstall = "installing" + SdkMgtActionRemove = "removing" +) + // SDKManagementMsg Message send during SDK installation or when installation is complete type SDKManagementMsg struct { CmdID string `json:"cmdID"` Timestamp string `json:"timestamp"` + Action string `json:"action"` Sdk SDK `json:"sdk"` Stdout string `json:"stdout"` Stderr string `json:"stderr"` |