aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xsapiv1
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-04 23:40:25 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-04 23:40:25 +0100
commit1a8b7603899f30f052ad123b7607b45a6d4c8772 (patch)
tree70323c3a7eee98289cc48c596e2a855c6045453b /lib/xsapiv1
parentf2eecfb601acc6c67fb52bf2edda93505bc44da5 (diff)
Improved and fixed local SDK tarball installation.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xsapiv1')
-rw-r--r--lib/xsapiv1/sdks.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/xsapiv1/sdks.go b/lib/xsapiv1/sdks.go
index 3a79c99..44b0940 100644
--- a/lib/xsapiv1/sdks.go
+++ b/lib/xsapiv1/sdks.go
@@ -58,10 +58,11 @@ type SDKFamilyConfig struct {
// SDKInstallArgs JSON parameters of POST /sdks or /sdks/abortinstall commands
type SDKInstallArgs struct {
- ID string `json:"id" binding:"required"` // install by ID (must be part of GET /sdks result)
- Filename string `json:"filename"` // install by using a file
- Force bool `json:"force"` // force SDK install when already existing
- Timeout int `json:"timeout"` // 1800 == default 30 minutes
+ ID string `json:"id"` // install by ID (must be part of GET /sdks result)
+ Filename string `json:"filename"` // install by using a file
+ Force bool `json:"force"` // force SDK install when already existing
+ Timeout int `json:"timeout"` // 1800 == default 30 minutes
+ InstallArgs []string `json:"installArgs"` // args directly passed to add/install script
}
// SDKManagementMsg Message send during SDK installation or when installation is complete