Skip to content

Commit

Permalink
Merge pull request #9 from qiniu/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
xiaoq08 authored Nov 7, 2016
2 parents 968e7ba + fb2ad2a commit e152309
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# QINIU KIRK
[![Qiniu Logo](http://open.qiniudn.com/logo.png)](http://qiniu.com/)

# QINIU KIRK
[![GoDoc](https://godoc.org/qiniupkg.com/kirk?status.svg)](https://godoc.org/qiniupkg.com/kirk)
| branch | usage | status |
| --- | --- | --- |
| master | (default) stable version| [![Build Status](https://travis-ci.org/qiniu/kirk.svg?branch=master)](https://travis-ci.org/qiniu/kirk) [![GoDoc](https://godoc.org/qiniupkg.com/kirk?status.svg)](https://godoc.org/qiniupkg.com/kirk) |
| develop | develop version | [![Build Status](https://travis-ci.org/qiniu/kirk.svg?branch=develop)](https://travis-ci.org/qiniu/kirk) |

# 简介
本 SDK 基于 golang 语言, 用于与 QINIU KIRK 通用计算平台 REST API 的编程交互,提供了在开发者业务服务器(服务端或客户端)管理七牛容器云资源的能力。
Expand Down
2 changes: 2 additions & 0 deletions kirksdk/qcos_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ type ServiceSpec struct {
StopGraceSec int `json:"stopGraceSec,omitempty"`
WorkDir string `json:"workDir,omitempty"`
UnitType string `json:"unitType,omitempty"`
GpuUUIDs []string `json:"gpuUUIDs,omitempty"` // do not use. prepare for gpu service
}

type LogCollectorSpec struct {
Expand Down Expand Up @@ -439,6 +440,7 @@ type ContainerInfo struct {
Stack string `json:"stack"`
Status Status `json:"status"`
Volumes map[string]VolumeUsageInfo `json:"volumes,omitempty"`
GpuUUIDs []string `json:"gpuUUIDs,omitempty"`
CreatedAt time.Time `json:"createdAt"`
StartedAt time.Time `json:"startedAt"`
FinishedAt time.Time `json:"finishedAt"`
Expand Down

0 comments on commit e152309

Please sign in to comment.