X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=lib%2Fxaapiv1%2Fsdks.go;h=97db9a81418b7466f74466d2345607ed1a0f2cc0;hb=facf3f10b243d027cc2a28661fe1cd8d4253dafa;hp=5a20571c6b29d083cd04ca0907f3456199fe2cd3;hpb=f1083a8259b3d2f560b5f3ccb8b47c94e297d7fa;p=src%2Fxds%2Fxds-agent.git diff --git a/lib/xaapiv1/sdks.go b/lib/xaapiv1/sdks.go index 5a20571..97db9a8 100644 --- a/lib/xaapiv1/sdks.go +++ b/lib/xaapiv1/sdks.go @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 "IoT.bzh" + * Copyright (C) 2017-2018 "IoT.bzh" * Author Sebastien Douheret * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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"`