24 Star 39 Fork 29

CODOG.CN / shipyard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
node.go 571 Bytes
一键复制 编辑 原始数据 按行查看 历史
Evan Hazlett 提交于 2015-05-01 22:43 . more node detail
package shipyard
type Node struct {
ID string `json:"id,omitempty" gorethink:"id,omitempty"`
Name string `json:"name,omitempty" gorethink:"name,omitempty"`
Addr string `json:"addr,omitempty" gorethink:"addr,omitempty"`
Containers string `json:"containers,omitempty"`
ReservedCPUs string `json:"reserved_cpus,omitempty"`
ReservedMemory string `json:"reserved_memory,omitempty"`
Labels []string `json:"labels,omitempty"`
ResponseTime float64 `json:"response_time" gorethink:"response_time,omitempty"`
}
Go
1
https://gitee.com/codog/shipyard.git
git@gitee.com:codog/shipyard.git
codog
shipyard
shipyard
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891