From 2f7828d01f4c4ca2909f95f098627cd5475ed225 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Wed, 29 Nov 2017 08:54:00 +0100 Subject: Refit source files to have a public xs-apiv1 lib package. Signed-off-by: Sebastien Douheret --- lib/xsapiv1/sdks.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/xsapiv1/sdks.go (limited to 'lib/xsapiv1/sdks.go') diff --git a/lib/xsapiv1/sdks.go b/lib/xsapiv1/sdks.go new file mode 100644 index 0000000..5ca4dd5 --- /dev/null +++ b/lib/xsapiv1/sdks.go @@ -0,0 +1,14 @@ +package xsapiv1 + +// SDK Define a cross tool chain used to build application +type SDK struct { + ID string `json:"id" binding:"required"` + Name string `json:"name"` + Profile string `json:"profile"` + Version string `json:"version"` + Arch string `json:"arch"` + Path string `json:"path"` + + // Not exported fields + EnvFile string `json:"-"` +} -- cgit 1.2.3-korg