3 Star 0 Fork 0

Aberic / swarm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
image.pb.go 13.94 KB
一键复制 编辑 原始数据 按行查看 历史
Aberic 提交于 2020-06-22 10:36 . project init
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/image.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 ReqImageList struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqImageList) Reset() { *m = ReqImageList{} }
func (m *ReqImageList) String() string { return proto.CompactTextString(m) }
func (*ReqImageList) ProtoMessage() {}
func (*ReqImageList) Descriptor() ([]byte, []int) {
return fileDescriptor_042638d41ebcabe6, []int{0}
}
func (m *ReqImageList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqImageList.Unmarshal(m, b)
}
func (m *ReqImageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqImageList.Marshal(b, m, deterministic)
}
func (m *ReqImageList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqImageList.Merge(m, src)
}
func (m *ReqImageList) XXX_Size() int {
return xxx_messageInfo_ReqImageList.Size(m)
}
func (m *ReqImageList) XXX_DiscardUnknown() {
xxx_messageInfo_ReqImageList.DiscardUnknown(m)
}
var xxx_messageInfo_ReqImageList proto.InternalMessageInfo
type RespImageList 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"`
Images []byte `protobuf:"bytes,3,opt,name=images,proto3" json:"images,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespImageList) Reset() { *m = RespImageList{} }
func (m *RespImageList) String() string { return proto.CompactTextString(m) }
func (*RespImageList) ProtoMessage() {}
func (*RespImageList) Descriptor() ([]byte, []int) {
return fileDescriptor_042638d41ebcabe6, []int{1}
}
func (m *RespImageList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespImageList.Unmarshal(m, b)
}
func (m *RespImageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespImageList.Marshal(b, m, deterministic)
}
func (m *RespImageList) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespImageList.Merge(m, src)
}
func (m *RespImageList) XXX_Size() int {
return xxx_messageInfo_RespImageList.Size(m)
}
func (m *RespImageList) XXX_DiscardUnknown() {
xxx_messageInfo_RespImageList.DiscardUnknown(m)
}
var xxx_messageInfo_RespImageList proto.InternalMessageInfo
func (m *RespImageList) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespImageList) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
func (m *RespImageList) GetImages() []byte {
if m != nil {
return m.Images
}
return nil
}
type ReqImagePull struct {
RefStr string `protobuf:"bytes,1,opt,name=refStr,proto3" json:"refStr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqImagePull) Reset() { *m = ReqImagePull{} }
func (m *ReqImagePull) String() string { return proto.CompactTextString(m) }
func (*ReqImagePull) ProtoMessage() {}
func (*ReqImagePull) Descriptor() ([]byte, []int) {
return fileDescriptor_042638d41ebcabe6, []int{2}
}
func (m *ReqImagePull) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqImagePull.Unmarshal(m, b)
}
func (m *ReqImagePull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqImagePull.Marshal(b, m, deterministic)
}
func (m *ReqImagePull) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqImagePull.Merge(m, src)
}
func (m *ReqImagePull) XXX_Size() int {
return xxx_messageInfo_ReqImagePull.Size(m)
}
func (m *ReqImagePull) XXX_DiscardUnknown() {
xxx_messageInfo_ReqImagePull.DiscardUnknown(m)
}
var xxx_messageInfo_ReqImagePull proto.InternalMessageInfo
func (m *ReqImagePull) GetRefStr() string {
if m != nil {
return m.RefStr
}
return ""
}
type RespImagePull 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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespImagePull) Reset() { *m = RespImagePull{} }
func (m *RespImagePull) String() string { return proto.CompactTextString(m) }
func (*RespImagePull) ProtoMessage() {}
func (*RespImagePull) Descriptor() ([]byte, []int) {
return fileDescriptor_042638d41ebcabe6, []int{3}
}
func (m *RespImagePull) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespImagePull.Unmarshal(m, b)
}
func (m *RespImagePull) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespImagePull.Marshal(b, m, deterministic)
}
func (m *RespImagePull) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespImagePull.Merge(m, src)
}
func (m *RespImagePull) XXX_Size() int {
return xxx_messageInfo_RespImagePull.Size(m)
}
func (m *RespImagePull) XXX_DiscardUnknown() {
xxx_messageInfo_RespImagePull.DiscardUnknown(m)
}
var xxx_messageInfo_RespImagePull proto.InternalMessageInfo
func (m *RespImagePull) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespImagePull) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
type ReqImageRemove struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqImageRemove) Reset() { *m = ReqImageRemove{} }
func (m *ReqImageRemove) String() string { return proto.CompactTextString(m) }
func (*ReqImageRemove) ProtoMessage() {}
func (*ReqImageRemove) Descriptor() ([]byte, []int) {
return fileDescriptor_042638d41ebcabe6, []int{4}
}
func (m *ReqImageRemove) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqImageRemove.Unmarshal(m, b)
}
func (m *ReqImageRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqImageRemove.Marshal(b, m, deterministic)
}
func (m *ReqImageRemove) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqImageRemove.Merge(m, src)
}
func (m *ReqImageRemove) XXX_Size() int {
return xxx_messageInfo_ReqImageRemove.Size(m)
}
func (m *ReqImageRemove) XXX_DiscardUnknown() {
xxx_messageInfo_ReqImageRemove.DiscardUnknown(m)
}
var xxx_messageInfo_ReqImageRemove proto.InternalMessageInfo
func (m *ReqImageRemove) GetID() string {
if m != nil {
return m.ID
}
return ""
}
type RespImageRemove 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"`
ImageItems []byte `protobuf:"bytes,3,opt,name=imageItems,proto3" json:"imageItems,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespImageRemove) Reset() { *m = RespImageRemove{} }
func (m *RespImageRemove) String() string { return proto.CompactTextString(m) }
func (*RespImageRemove) ProtoMessage() {}
func (*RespImageRemove) Descriptor() ([]byte, []int) {
return fileDescriptor_042638d41ebcabe6, []int{5}
}
func (m *RespImageRemove) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespImageRemove.Unmarshal(m, b)
}
func (m *RespImageRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespImageRemove.Marshal(b, m, deterministic)
}
func (m *RespImageRemove) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespImageRemove.Merge(m, src)
}
func (m *RespImageRemove) XXX_Size() int {
return xxx_messageInfo_RespImageRemove.Size(m)
}
func (m *RespImageRemove) XXX_DiscardUnknown() {
xxx_messageInfo_RespImageRemove.DiscardUnknown(m)
}
var xxx_messageInfo_RespImageRemove proto.InternalMessageInfo
func (m *RespImageRemove) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespImageRemove) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
func (m *RespImageRemove) GetImageItems() []byte {
if m != nil {
return m.ImageItems
}
return nil
}
type ReqImageTag struct {
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqImageTag) Reset() { *m = ReqImageTag{} }
func (m *ReqImageTag) String() string { return proto.CompactTextString(m) }
func (*ReqImageTag) ProtoMessage() {}
func (*ReqImageTag) Descriptor() ([]byte, []int) {
return fileDescriptor_042638d41ebcabe6, []int{6}
}
func (m *ReqImageTag) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqImageTag.Unmarshal(m, b)
}
func (m *ReqImageTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqImageTag.Marshal(b, m, deterministic)
}
func (m *ReqImageTag) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqImageTag.Merge(m, src)
}
func (m *ReqImageTag) XXX_Size() int {
return xxx_messageInfo_ReqImageTag.Size(m)
}
func (m *ReqImageTag) XXX_DiscardUnknown() {
xxx_messageInfo_ReqImageTag.DiscardUnknown(m)
}
var xxx_messageInfo_ReqImageTag proto.InternalMessageInfo
func (m *ReqImageTag) GetSource() string {
if m != nil {
return m.Source
}
return ""
}
func (m *ReqImageTag) GetTarget() string {
if m != nil {
return m.Target
}
return ""
}
type RespImageTag 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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RespImageTag) Reset() { *m = RespImageTag{} }
func (m *RespImageTag) String() string { return proto.CompactTextString(m) }
func (*RespImageTag) ProtoMessage() {}
func (*RespImageTag) Descriptor() ([]byte, []int) {
return fileDescriptor_042638d41ebcabe6, []int{7}
}
func (m *RespImageTag) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RespImageTag.Unmarshal(m, b)
}
func (m *RespImageTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RespImageTag.Marshal(b, m, deterministic)
}
func (m *RespImageTag) XXX_Merge(src proto.Message) {
xxx_messageInfo_RespImageTag.Merge(m, src)
}
func (m *RespImageTag) XXX_Size() int {
return xxx_messageInfo_RespImageTag.Size(m)
}
func (m *RespImageTag) XXX_DiscardUnknown() {
xxx_messageInfo_RespImageTag.DiscardUnknown(m)
}
var xxx_messageInfo_RespImageTag proto.InternalMessageInfo
func (m *RespImageTag) GetCode() Code {
if m != nil {
return m.Code
}
return Code_success
}
func (m *RespImageTag) GetErrMsg() string {
if m != nil {
return m.ErrMsg
}
return ""
}
func init() {
proto.RegisterType((*ReqImageList)(nil), "proto.reqImageList")
proto.RegisterType((*RespImageList)(nil), "proto.respImageList")
proto.RegisterType((*ReqImagePull)(nil), "proto.reqImagePull")
proto.RegisterType((*RespImagePull)(nil), "proto.respImagePull")
proto.RegisterType((*ReqImageRemove)(nil), "proto.reqImageRemove")
proto.RegisterType((*RespImageRemove)(nil), "proto.respImageRemove")
proto.RegisterType((*ReqImageTag)(nil), "proto.reqImageTag")
proto.RegisterType((*RespImageTag)(nil), "proto.respImageTag")
}
func init() {
proto.RegisterFile("proto/image.proto", fileDescriptor_042638d41ebcabe6)
}
var fileDescriptor_042638d41ebcabe6 = []byte{
// 263 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0xb1, 0x4e, 0xc3, 0x30,
0x10, 0x55, 0x02, 0x14, 0xf5, 0x5a, 0x82, 0xf0, 0x80, 0x22, 0x06, 0x88, 0x3c, 0xa0, 0x4c, 0x45,
0x82, 0x99, 0x05, 0x55, 0x82, 0x48, 0x20, 0x21, 0xc3, 0xc4, 0x44, 0x08, 0x47, 0x54, 0x54, 0xe3,
0x72, 0x76, 0xf9, 0x7e, 0xe4, 0xb3, 0xdd, 0x76, 0xce, 0xe4, 0xbc, 0x77, 0xcf, 0x79, 0xef, 0x9d,
0x0c, 0x27, 0x2b, 0x32, 0xce, 0x5c, 0x2d, 0x74, 0xdb, 0xe3, 0x8c, 0xbf, 0xc5, 0x01, 0x1f, 0x67,
0x22, 0x4c, 0x3a, 0xa3, 0xb5, 0xf9, 0x09, 0x23, 0x59, 0xc0, 0x94, 0xf0, 0xb7, 0xf1, 0xe2, 0xc7,
0x85, 0x75, 0xf2, 0x1d, 0x8e, 0x08, 0xed, 0x6a, 0x43, 0x88, 0x0b, 0xd8, 0xef, 0xcc, 0x27, 0x96,
0x59, 0x95, 0xd5, 0xc5, 0xf5, 0x24, 0x5c, 0x9b, 0x79, 0x4a, 0xf1, 0x40, 0x9c, 0xc2, 0x08, 0x89,
0x9e, 0x6c, 0x5f, 0xe6, 0x55, 0x56, 0x8f, 0x55, 0x44, 0x9e, 0xe7, 0x0c, 0xb6, 0xdc, 0xab, 0xb2,
0x7a, 0xaa, 0x22, 0x92, 0x97, 0x5b, 0xc7, 0xe7, 0xf5, 0x72, 0xe9, 0x75, 0x84, 0x5f, 0x2f, 0x8e,
0xd8, 0x62, 0xac, 0x22, 0x92, 0x0f, 0x3b, 0x49, 0x58, 0x38, 0x34, 0x89, 0xac, 0xa0, 0x48, 0x8e,
0x0a, 0xb5, 0xf9, 0x43, 0x51, 0x40, 0xde, 0xcc, 0xa3, 0x5f, 0xde, 0xcc, 0xe5, 0x37, 0x1c, 0x6f,
0xbc, 0xa2, 0x64, 0x70, 0xef, 0x73, 0x00, 0x6e, 0xda, 0x38, 0xd4, 0xa9, 0xfb, 0x0e, 0x23, 0x6f,
0x61, 0x92, 0xd2, 0xbc, 0xb6, 0xbc, 0x26, 0x6b, 0xd6, 0xd4, 0x61, 0xaa, 0x1f, 0x90, 0xe7, 0x5d,
0x4b, 0x3d, 0xba, 0xf4, 0xfb, 0x80, 0xe4, 0xbd, 0x5f, 0x5f, 0x8c, 0xea, 0xef, 0x0f, 0xcd, 0x79,
0x77, 0xf8, 0x16, 0x9e, 0xc5, 0xc7, 0x88, 0x8f, 0x9b, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x34,
0x36, 0xbc, 0x0a, 0x39, 0x02, 0x00, 0x00,
}
Go
1
https://gitee.com/aberic/swarm.git
git@gitee.com:aberic/swarm.git
aberic
swarm
swarm
502bd87b5165

搜索帮助

53164aa7 5694891 3bd8fe86 5694891