3 Star 0 Fork 0

Aberic / swarm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker.pb.go 9.10 KB
一键复制 编辑 原始数据 按行查看 历史
Aberic 提交于 2020-06-28 20:27 . init resource
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/docker.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 DockerInfo struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Containers uint32 `protobuf:"varint,2,opt,name=containers,proto3" json:"containers,omitempty"`
ContainersRunning uint32 `protobuf:"varint,3,opt,name=containersRunning,proto3" json:"containersRunning,omitempty"`
ContainersPaused uint32 `protobuf:"varint,4,opt,name=containersPaused,proto3" json:"containersPaused,omitempty"`
ContainersStopped uint32 `protobuf:"varint,5,opt,name=containersStopped,proto3" json:"containersStopped,omitempty"`
Images uint32 `protobuf:"varint,6,opt,name=images,proto3" json:"images,omitempty"`
OSType string `protobuf:"bytes,7,opt,name=OSType,proto3" json:"OSType,omitempty"`
Architecture string `protobuf:"bytes,8,opt,name=architecture,proto3" json:"architecture,omitempty"`
CpuCount uint32 `protobuf:"varint,9,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"`
CpuTotal int64 `protobuf:"varint,10,opt,name=cpuTotal,proto3" json:"cpuTotal,omitempty"`
MemTotal uint64 `protobuf:"varint,11,opt,name=memTotal,proto3" json:"memTotal,omitempty"`
NodeID string `protobuf:"bytes,12,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
LocalNodeState string `protobuf:"bytes,13,opt,name=localNodeState,proto3" json:"localNodeState,omitempty"`
Error string `protobuf:"bytes,14,opt,name=error,proto3" json:"error,omitempty"`
CreateAT string `protobuf:"bytes,15,opt,name=createAT,proto3" json:"createAT,omitempty"`
UpdatedAt string `protobuf:"bytes,16,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
RemoteManagers []*RemoteManager `protobuf:"bytes,17,rep,name=remoteManagers,proto3" json:"remoteManagers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DockerInfo) Reset() { *m = DockerInfo{} }
func (m *DockerInfo) String() string { return proto.CompactTextString(m) }
func (*DockerInfo) ProtoMessage() {}
func (*DockerInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_dda611a92a44c7dd, []int{0}
}
func (m *DockerInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DockerInfo.Unmarshal(m, b)
}
func (m *DockerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DockerInfo.Marshal(b, m, deterministic)
}
func (m *DockerInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_DockerInfo.Merge(m, src)
}
func (m *DockerInfo) XXX_Size() int {
return xxx_messageInfo_DockerInfo.Size(m)
}
func (m *DockerInfo) XXX_DiscardUnknown() {
xxx_messageInfo_DockerInfo.DiscardUnknown(m)
}
var xxx_messageInfo_DockerInfo proto.InternalMessageInfo
func (m *DockerInfo) GetID() string {
if m != nil {
return m.ID
}
return ""
}
func (m *DockerInfo) GetContainers() uint32 {
if m != nil {
return m.Containers
}
return 0
}
func (m *DockerInfo) GetContainersRunning() uint32 {
if m != nil {
return m.ContainersRunning
}
return 0
}
func (m *DockerInfo) GetContainersPaused() uint32 {
if m != nil {
return m.ContainersPaused
}
return 0
}
func (m *DockerInfo) GetContainersStopped() uint32 {
if m != nil {
return m.ContainersStopped
}
return 0
}
func (m *DockerInfo) GetImages() uint32 {
if m != nil {
return m.Images
}
return 0
}
func (m *DockerInfo) GetOSType() string {
if m != nil {
return m.OSType
}
return ""
}
func (m *DockerInfo) GetArchitecture() string {
if m != nil {
return m.Architecture
}
return ""
}
func (m *DockerInfo) GetCpuCount() uint32 {
if m != nil {
return m.CpuCount
}
return 0
}
func (m *DockerInfo) GetCpuTotal() int64 {
if m != nil {
return m.CpuTotal
}
return 0
}
func (m *DockerInfo) GetMemTotal() uint64 {
if m != nil {
return m.MemTotal
}
return 0
}
func (m *DockerInfo) GetNodeID() string {
if m != nil {
return m.NodeID
}
return ""
}
func (m *DockerInfo) GetLocalNodeState() string {
if m != nil {
return m.LocalNodeState
}
return ""
}
func (m *DockerInfo) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *DockerInfo) GetCreateAT() string {
if m != nil {
return m.CreateAT
}
return ""
}
func (m *DockerInfo) GetUpdatedAt() string {
if m != nil {
return m.UpdatedAt
}
return ""
}
func (m *DockerInfo) GetRemoteManagers() []*RemoteManager {
if m != nil {
return m.RemoteManagers
}
return nil
}
type RemoteManager struct {
NodeID string `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RemoteManager) Reset() { *m = RemoteManager{} }
func (m *RemoteManager) String() string { return proto.CompactTextString(m) }
func (*RemoteManager) ProtoMessage() {}
func (*RemoteManager) Descriptor() ([]byte, []int) {
return fileDescriptor_dda611a92a44c7dd, []int{1}
}
func (m *RemoteManager) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoteManager.Unmarshal(m, b)
}
func (m *RemoteManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoteManager.Marshal(b, m, deterministic)
}
func (m *RemoteManager) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoteManager.Merge(m, src)
}
func (m *RemoteManager) XXX_Size() int {
return xxx_messageInfo_RemoteManager.Size(m)
}
func (m *RemoteManager) XXX_DiscardUnknown() {
xxx_messageInfo_RemoteManager.DiscardUnknown(m)
}
var xxx_messageInfo_RemoteManager proto.InternalMessageInfo
func (m *RemoteManager) GetNodeID() string {
if m != nil {
return m.NodeID
}
return ""
}
func (m *RemoteManager) GetAddr() string {
if m != nil {
return m.Addr
}
return ""
}
func init() {
proto.RegisterType((*DockerInfo)(nil), "proto.dockerInfo")
proto.RegisterType((*RemoteManager)(nil), "proto.remoteManager")
}
func init() {
proto.RegisterFile("proto/docker.proto", fileDescriptor_dda611a92a44c7dd)
}
var fileDescriptor_dda611a92a44c7dd = []byte{
// 366 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0x4d, 0x6b, 0xdb, 0x40,
0x10, 0x86, 0x91, 0x2d, 0x7f, 0x68, 0x6c, 0xab, 0xf6, 0x62, 0xca, 0x52, 0x4a, 0x11, 0x3e, 0x14,
0x51, 0x8a, 0x0b, 0xcd, 0x31, 0xb9, 0x38, 0xf1, 0x45, 0x87, 0x7c, 0x20, 0xfb, 0x94, 0xdb, 0x46,
0x3b, 0x71, 0x44, 0xac, 0x5d, 0xb1, 0x5e, 0x1d, 0xf2, 0xd7, 0xf2, 0xeb, 0x82, 0x46, 0x42, 0xb6,
0xec, 0xd3, 0xea, 0x79, 0x9f, 0x61, 0x98, 0x41, 0x03, 0x2c, 0x37, 0xda, 0xea, 0x7f, 0x52, 0x27,
0xef, 0x68, 0x96, 0x04, 0xac, 0x47, 0xcf, 0xe2, 0xd3, 0x05, 0xa8, 0xf2, 0x48, 0xbd, 0x6a, 0xe6,
0x43, 0x27, 0x5a, 0x73, 0x27, 0x70, 0x42, 0x2f, 0xee, 0x44, 0x6b, 0xf6, 0x0b, 0x20, 0xd1, 0xca,
0x8a, 0x54, 0xa1, 0x39, 0xf0, 0x4e, 0xe0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0xc5,
0x7b, 0xa1, 0xc4, 0xae, 0xfc, 0xc7, 0xb3, 0xa0, 0x1b, 0x8e, 0xfe, 0xcf, 0xab, 0x2b, 0x59, 0xb6,
0x64, 0x7c, 0x56, 0xbb, 0xb8, 0x86, 0x49, 0x2b, 0x39, 0x59, 0xcf, 0x69, 0xad, 0xc7, 0xc0, 0x15,
0x52, 0x1a, 0x3a, 0x20, 0x2f, 0xa6, 0xef, 0xdb, 0xc1, 0x73, 0x75, 0x82, 0x2f, 0x7d, 0x7a, 0xae,
0xbe, 0x02, 0x00, 0x00, 0xff, 0xff, 0x08, 0xa2, 0x99, 0xda, 0xa6, 0x02, 0x00, 0x00,
}
Go
1
https://gitee.com/aberic/swarm.git
git@gitee.com:aberic/swarm.git
aberic
swarm
swarm
502bd87b5165

搜索帮助