3 Star 0 Fork 0

Aberic / swarm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
container.pb.go 23.54 KB
一键复制 编辑 原始数据 按行查看 历史
Aberic 提交于 2020-06-29 19:03 . project enhance
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/container.proto
// protoc --go_out=plugins=grpc:. swarm/proto/*.proto
package proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type ReqContainerLogs struct {
ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"`
Since *Time `protobuf:"bytes,2,opt,name=since,proto3" json:"since,omitempty"`
Until *Time `protobuf:"bytes,3,opt,name=until,proto3" json:"until,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqContainerLogs) Reset() { *m = ReqContainerLogs{} }
func (m *ReqContainerLogs) String() string { return proto.CompactTextString(m) }
func (*ReqContainerLogs) ProtoMessage() {}
func (*ReqContainerLogs) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{0}
}
func (m *ReqContainerLogs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqContainerLogs.Unmarshal(m, b)
}
func (m *ReqContainerLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqContainerLogs.Marshal(b, m, deterministic)
}
func (m *ReqContainerLogs) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqContainerLogs.Merge(m, src)
}
func (m *ReqContainerLogs) XXX_Size() int {
return xxx_messageInfo_ReqContainerLogs.Size(m)
}
func (m *ReqContainerLogs) XXX_DiscardUnknown() {
xxx_messageInfo_ReqContainerLogs.DiscardUnknown(m)
}
var xxx_messageInfo_ReqContainerLogs proto.InternalMessageInfo
func (m *ReqContainerLogs) GetContainerID() string {
if m != nil {
return m.ContainerID
}
return ""
}
func (m *ReqContainerLogs) GetSince() *Time {
if m != nil {
return m.Since
}
return nil
}
func (m *ReqContainerLogs) GetUntil() *Time {
if m != nil {
return m.Until
}
return nil
}
type RespContainerLogs struct {
Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=proto.Code" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
Logs []byte `protobuf:"bytes,3,opt,name=logs,proto3" json:"logs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespContainerLogs) Reset() { *m = RespContainerLogs{} }
func (m *RespContainerLogs) String() string { return proto.CompactTextString(m) }
func (*RespContainerLogs) ProtoMessage() {}
func (*RespContainerLogs) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{1}
}
func (m *RespContainerLogs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespContainerLogs.Unmarshal(m, b)
}
func (m *RespContainerLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespContainerLogs.Marshal(b, m, deterministic)
}
func (m *RespContainerLogs) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespContainerLogs.Merge(m, src)
}
func (m *RespContainerLogs) XXX_Size() int {
return xxx_messageInfo_RespContainerLogs.Size(m)
}
func (m *RespContainerLogs) XXX_DiscardUnknown() {
xxx_messageInfo_RespContainerLogs.DiscardUnknown(m)
}
var xxx_messageInfo_RespContainerLogs proto.InternalMessageInfo
func (m *RespContainerLogs) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespContainerLogs) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
func (m *RespContainerLogs) GetLogs() []byte {
if m != nil {
return m.Logs
}
return nil
}
type ReqContainerList struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqContainerList) Reset() { *m = ReqContainerList{} }
func (m *ReqContainerList) String() string { return proto.CompactTextString(m) }
func (*ReqContainerList) ProtoMessage() {}
func (*ReqContainerList) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{2}
}
func (m *ReqContainerList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqContainerList.Unmarshal(m, b)
}
func (m *ReqContainerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqContainerList.Marshal(b, m, deterministic)
}
func (m *ReqContainerList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqContainerList.Merge(m, src)
}
func (m *ReqContainerList) XXX_Size() int {
return xxx_messageInfo_ReqContainerList.Size(m)
}
func (m *ReqContainerList) XXX_DiscardUnknown() {
xxx_messageInfo_ReqContainerList.DiscardUnknown(m)
}
var xxx_messageInfo_ReqContainerList proto.InternalMessageInfo
type RespContainerList struct {
Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=proto.Code" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
Containers []byte `protobuf:"bytes,3,opt,name=containers,proto3" json:"containers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespContainerList) Reset() { *m = RespContainerList{} }
func (m *RespContainerList) String() string { return proto.CompactTextString(m) }
func (*RespContainerList) ProtoMessage() {}
func (*RespContainerList) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{3}
}
func (m *RespContainerList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespContainerList.Unmarshal(m, b)
}
func (m *RespContainerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespContainerList.Marshal(b, m, deterministic)
}
func (m *RespContainerList) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespContainerList.Merge(m, src)
}
func (m *RespContainerList) XXX_Size() int {
return xxx_messageInfo_RespContainerList.Size(m)
}
func (m *RespContainerList) XXX_DiscardUnknown() {
xxx_messageInfo_RespContainerList.DiscardUnknown(m)
}
var xxx_messageInfo_RespContainerList proto.InternalMessageInfo
func (m *RespContainerList) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespContainerList) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
func (m *RespContainerList) GetContainers() []byte {
if m != nil {
return m.Containers
}
return nil
}
type ReqContainerInspect struct {
ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqContainerInspect) Reset() { *m = ReqContainerInspect{} }
func (m *ReqContainerInspect) String() string { return proto.CompactTextString(m) }
func (*ReqContainerInspect) ProtoMessage() {}
func (*ReqContainerInspect) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{4}
}
func (m *ReqContainerInspect) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqContainerInspect.Unmarshal(m, b)
}
func (m *ReqContainerInspect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqContainerInspect.Marshal(b, m, deterministic)
}
func (m *ReqContainerInspect) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqContainerInspect.Merge(m, src)
}
func (m *ReqContainerInspect) XXX_Size() int {
return xxx_messageInfo_ReqContainerInspect.Size(m)
}
func (m *ReqContainerInspect) XXX_DiscardUnknown() {
xxx_messageInfo_ReqContainerInspect.DiscardUnknown(m)
}
var xxx_messageInfo_ReqContainerInspect proto.InternalMessageInfo
func (m *ReqContainerInspect) GetContainerID() string {
if m != nil {
return m.ContainerID
}
return ""
}
type RespContainerInspect struct {
Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=proto.Code" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
Container []byte `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespContainerInspect) Reset() { *m = RespContainerInspect{} }
func (m *RespContainerInspect) String() string { return proto.CompactTextString(m) }
func (*RespContainerInspect) ProtoMessage() {}
func (*RespContainerInspect) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{5}
}
func (m *RespContainerInspect) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespContainerInspect.Unmarshal(m, b)
}
func (m *RespContainerInspect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespContainerInspect.Marshal(b, m, deterministic)
}
func (m *RespContainerInspect) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespContainerInspect.Merge(m, src)
}
func (m *RespContainerInspect) XXX_Size() int {
return xxx_messageInfo_RespContainerInspect.Size(m)
}
func (m *RespContainerInspect) XXX_DiscardUnknown() {
xxx_messageInfo_RespContainerInspect.DiscardUnknown(m)
}
var xxx_messageInfo_RespContainerInspect proto.InternalMessageInfo
func (m *RespContainerInspect) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespContainerInspect) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
func (m *RespContainerInspect) GetContainer() []byte {
if m != nil {
return m.Container
}
return nil
}
func (m *RespContainerInspect) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type ReqContainerStats struct {
ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqContainerStats) Reset() { *m = ReqContainerStats{} }
func (m *ReqContainerStats) String() string { return proto.CompactTextString(m) }
func (*ReqContainerStats) ProtoMessage() {}
func (*ReqContainerStats) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{6}
}
func (m *ReqContainerStats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqContainerStats.Unmarshal(m, b)
}
func (m *ReqContainerStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqContainerStats.Marshal(b, m, deterministic)
}
func (m *ReqContainerStats) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqContainerStats.Merge(m, src)
}
func (m *ReqContainerStats) XXX_Size() int {
return xxx_messageInfo_ReqContainerStats.Size(m)
}
func (m *ReqContainerStats) XXX_DiscardUnknown() {
xxx_messageInfo_ReqContainerStats.DiscardUnknown(m)
}
var xxx_messageInfo_ReqContainerStats proto.InternalMessageInfo
func (m *ReqContainerStats) GetContainerID() string {
if m != nil {
return m.ContainerID
}
return ""
}
type RespContainerStats struct {
Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=proto.Code" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
Stats []byte `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
OsType string `protobuf:"bytes,4,opt,name=osType,proto3" json:"osType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespContainerStats) Reset() { *m = RespContainerStats{} }
func (m *RespContainerStats) String() string { return proto.CompactTextString(m) }
func (*RespContainerStats) ProtoMessage() {}
func (*RespContainerStats) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{7}
}
func (m *RespContainerStats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespContainerStats.Unmarshal(m, b)
}
func (m *RespContainerStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespContainerStats.Marshal(b, m, deterministic)
}
func (m *RespContainerStats) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespContainerStats.Merge(m, src)
}
func (m *RespContainerStats) XXX_Size() int {
return xxx_messageInfo_RespContainerStats.Size(m)
}
func (m *RespContainerStats) XXX_DiscardUnknown() {
xxx_messageInfo_RespContainerStats.DiscardUnknown(m)
}
var xxx_messageInfo_RespContainerStats proto.InternalMessageInfo
func (m *RespContainerStats) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespContainerStats) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
func (m *RespContainerStats) GetStats() []byte {
if m != nil {
return m.Stats
}
return nil
}
func (m *RespContainerStats) GetOsType() string {
if m != nil {
return m.OsType
}
return ""
}
type ReqContainerStatsAll struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqContainerStatsAll) Reset() { *m = ReqContainerStatsAll{} }
func (m *ReqContainerStatsAll) String() string { return proto.CompactTextString(m) }
func (*ReqContainerStatsAll) ProtoMessage() {}
func (*ReqContainerStatsAll) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{8}
}
func (m *ReqContainerStatsAll) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqContainerStatsAll.Unmarshal(m, b)
}
func (m *ReqContainerStatsAll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqContainerStatsAll.Marshal(b, m, deterministic)
}
func (m *ReqContainerStatsAll) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqContainerStatsAll.Merge(m, src)
}
func (m *ReqContainerStatsAll) XXX_Size() int {
return xxx_messageInfo_ReqContainerStatsAll.Size(m)
}
func (m *ReqContainerStatsAll) XXX_DiscardUnknown() {
xxx_messageInfo_ReqContainerStatsAll.DiscardUnknown(m)
}
var xxx_messageInfo_ReqContainerStatsAll proto.InternalMessageInfo
type RespContainerStatsAll struct {
Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=proto.Code" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
Stats []byte `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespContainerStatsAll) Reset() { *m = RespContainerStatsAll{} }
func (m *RespContainerStatsAll) String() string { return proto.CompactTextString(m) }
func (*RespContainerStatsAll) ProtoMessage() {}
func (*RespContainerStatsAll) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{9}
}
func (m *RespContainerStatsAll) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespContainerStatsAll.Unmarshal(m, b)
}
func (m *RespContainerStatsAll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespContainerStatsAll.Marshal(b, m, deterministic)
}
func (m *RespContainerStatsAll) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespContainerStatsAll.Merge(m, src)
}
func (m *RespContainerStatsAll) XXX_Size() int {
return xxx_messageInfo_RespContainerStatsAll.Size(m)
}
func (m *RespContainerStatsAll) XXX_DiscardUnknown() {
xxx_messageInfo_RespContainerStatsAll.DiscardUnknown(m)
}
var xxx_messageInfo_RespContainerStatsAll proto.InternalMessageInfo
func (m *RespContainerStatsAll) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespContainerStatsAll) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
func (m *RespContainerStatsAll) GetStats() []byte {
if m != nil {
return m.Stats
}
return nil
}
type Container struct {
// e1148d2e4faaeb26542757923cbdd7adaeb6088e30465400f03f7970e98c2a88
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// nginx:1.18.0@sha256:159aedcc6acb8147c524ec2d11f02112bc21f9e8eb33e328fb7c04b05fc44e1c
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
// sha256:9fc56f7e4c117b9a726cbee19a61b910cbcb55481f8b7de5a282a034dfb7f761
ImageID string `protobuf:"bytes,3,opt,name=imageID,proto3" json:"imageID,omitempty"`
// kaatxwrxdc1u0dcut5ij88jqp
NodeID string `protobuf:"bytes,4,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
// p5cxcpr7yu3zhymm0hfig4owt
ServiceID string `protobuf:"bytes,5,opt,name=serviceID,proto3" json:"serviceID,omitempty"`
// nginx
ServiceName string `protobuf:"bytes,6,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
// running
State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
// Up 5 minutes
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
// 2020-06-23T08:23:14.6105524Z
Read string `protobuf:"bytes,9,opt,name=read,proto3" json:"read,omitempty"`
CpuCount uint32 `protobuf:"varint,10,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"`
// 24652610
CpuUsage float32 `protobuf:"fixed32,11,opt,name=cpuUsage,proto3" json:"cpuUsage,omitempty"`
// 307200
MemUsage float32 `protobuf:"fixed32,12,opt,name=memUsage,proto3" json:"memUsage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Container) Reset() { *m = Container{} }
func (m *Container) String() string { return proto.CompactTextString(m) }
func (*Container) ProtoMessage() {}
func (*Container) Descriptor() ([]byte, []int) {
return fileDescriptor_761f286d20991f86, []int{10}
}
func (m *Container) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Container.Unmarshal(m, b)
}
func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Container.Marshal(b, m, deterministic)
}
func (m *Container) XXX_Merge(src proto.Message) {
xxx_messageInfo_Container.Merge(m, src)
}
func (m *Container) XXX_Size() int {
return xxx_messageInfo_Container.Size(m)
}
func (m *Container) XXX_DiscardUnknown() {
xxx_messageInfo_Container.DiscardUnknown(m)
}
var xxx_messageInfo_Container proto.InternalMessageInfo
func (m *Container) GetID() string {
if m != nil {
return m.ID
}
return ""
}
func (m *Container) GetImage() string {
if m != nil {
return m.Image
}
return ""
}
func (m *Container) GetImageID() string {
if m != nil {
return m.ImageID
}
return ""
}
func (m *Container) GetNodeID() string {
if m != nil {
return m.NodeID
}
return ""
}
func (m *Container) GetServiceID() string {
if m != nil {
return m.ServiceID
}
return ""
}
func (m *Container) GetServiceName() string {
if m != nil {
return m.ServiceName
}
return ""
}
func (m *Container) GetState() string {
if m != nil {
return m.State
}
return ""
}
func (m *Container) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
func (m *Container) GetRead() string {
if m != nil {
return m.Read
}
return ""
}
func (m *Container) GetCpuCount() uint32 {
if m != nil {
return m.CpuCount
}
return 0
}
func (m *Container) GetCpuUsage() float32 {
if m != nil {
return m.CpuUsage
}
return 0
}
func (m *Container) GetMemUsage() float32 {
if m != nil {
return m.MemUsage
}
return 0
}
func init() {
proto.RegisterType((*ReqContainerLogs)(nil), "proto.reqContainerLogs")
proto.RegisterType((*RespContainerLogs)(nil), "proto.respContainerLogs")
proto.RegisterType((*ReqContainerList)(nil), "proto.reqContainerList")
proto.RegisterType((*RespContainerList)(nil), "proto.respContainerList")
proto.RegisterType((*ReqContainerInspect)(nil), "proto.reqContainerInspect")
proto.RegisterType((*RespContainerInspect)(nil), "proto.respContainerInspect")
proto.RegisterType((*ReqContainerStats)(nil), "proto.reqContainerStats")
proto.RegisterType((*RespContainerStats)(nil), "proto.respContainerStats")
proto.RegisterType((*ReqContainerStatsAll)(nil), "proto.reqContainerStatsAll")
proto.RegisterType((*RespContainerStatsAll)(nil), "proto.respContainerStatsAll")
proto.RegisterType((*Container)(nil), "proto.container")
}
func init() {
proto.RegisterFile("proto/container.proto", fileDescriptor_761f286d20991f86)
}
var fileDescriptor_761f286d20991f86 = []byte{
// 463 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4d, 0x8f, 0xd3, 0x30,
0x10, 0x55, 0x42, 0x3f, 0x36, 0xd3, 0x65, 0x05, 0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0, 0x16, 0x10, 0x7e, 0x1b, 0x56, 0x15, 0x6b,
0x9e, 0x51, 0x97, 0x6a, 0x76, 0x05, 0x27, 0x65, 0xbb, 0x5d, 0x98, 0xad, 0xf6, 0x1c, 0xf2, 0x64,
0x7e, 0x5b, 0xf6, 0x38, 0x72, 0xef, 0x1c, 0x5e, 0x74, 0x96, 0x27, 0xf3, 0x54, 0xf6, 0x18, 0xb9,
0x46, 0x35, 0x81, 0x3b, 0x0d, 0x5c, 0x87, 0x5f, 0x4c, 0xdf, 0x87, 0x7f, 0xaa, 0x8f, 0x13, 0xfa,
0x79, 0xfa, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xdb, 0xd2, 0xbc, 0x33, 0xd0, 0x04, 0x00, 0x00,
}
Go
1
https://gitee.com/aberic/swarm.git
git@gitee.com:aberic/swarm.git
aberic
swarm
swarm
502bd87b5165

搜索帮助

53164aa7 5694891 3bd8fe86 5694891