-
Notifications
You must be signed in to change notification settings - Fork 1
/
create.pb.go
275 lines (248 loc) · 9.62 KB
/
create.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: create.proto
package pkg
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
artifact "github.com/easyopsapis/easyops-api-go/protorepo-models/easyops/model/artifact"
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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//Create请求
type CreateRequest struct {
//
//包名称
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
//
//版本类型 1 程序包, 2 配置包, 4 文件包
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type" form:"type"`
//
//包分类
CId int32 `protobuf:"varint,3,opt,name=cId,proto3" json:"cId" form:"cId"`
//
//备注说明
Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo" form:"memo"`
//
//安装路径
InstallPath string `protobuf:"bytes,5,opt,name=installPath,proto3" json:"installPath" form:"installPath"`
//
//平台
Platform string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform" form:"platform"`
//
//包文件源
Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source" form:"source"`
//
//包分类标签
Category string `protobuf:"bytes,8,opt,name=category,proto3" json:"category" form:"category"`
//
//包图标
Icon string `protobuf:"bytes,9,opt,name=icon,proto3" json:"icon" form:"icon"`
//
//包图标样式(颜色)
Style string `protobuf:"bytes,10,opt,name=style,proto3" json:"style" form:"style"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateRequest) Reset() { *m = CreateRequest{} }
func (m *CreateRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRequest) ProtoMessage() {}
func (*CreateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a4d26d5dcda09a78, []int{0}
}
func (m *CreateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateRequest.Unmarshal(m, b)
}
func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateRequest.Marshal(b, m, deterministic)
}
func (m *CreateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateRequest.Merge(m, src)
}
func (m *CreateRequest) XXX_Size() int {
return xxx_messageInfo_CreateRequest.Size(m)
}
func (m *CreateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateRequest proto.InternalMessageInfo
func (m *CreateRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateRequest) GetType() int32 {
if m != nil {
return m.Type
}
return 0
}
func (m *CreateRequest) GetCId() int32 {
if m != nil {
return m.CId
}
return 0
}
func (m *CreateRequest) GetMemo() string {
if m != nil {
return m.Memo
}
return ""
}
func (m *CreateRequest) GetInstallPath() string {
if m != nil {
return m.InstallPath
}
return ""
}
func (m *CreateRequest) GetPlatform() string {
if m != nil {
return m.Platform
}
return ""
}
func (m *CreateRequest) GetSource() string {
if m != nil {
return m.Source
}
return ""
}
func (m *CreateRequest) GetCategory() string {
if m != nil {
return m.Category
}
return ""
}
func (m *CreateRequest) GetIcon() string {
if m != nil {
return m.Icon
}
return ""
}
func (m *CreateRequest) GetStyle() string {
if m != nil {
return m.Style
}
return ""
}
//
//CreateApi返回
type CreateResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *artifact.Package `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateResponseWrapper) Reset() { *m = CreateResponseWrapper{} }
func (m *CreateResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*CreateResponseWrapper) ProtoMessage() {}
func (*CreateResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_a4d26d5dcda09a78, []int{1}
}
func (m *CreateResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateResponseWrapper.Unmarshal(m, b)
}
func (m *CreateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateResponseWrapper.Marshal(b, m, deterministic)
}
func (m *CreateResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateResponseWrapper.Merge(m, src)
}
func (m *CreateResponseWrapper) XXX_Size() int {
return xxx_messageInfo_CreateResponseWrapper.Size(m)
}
func (m *CreateResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_CreateResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_CreateResponseWrapper proto.InternalMessageInfo
func (m *CreateResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *CreateResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *CreateResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *CreateResponseWrapper) GetData() *artifact.Package {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*CreateRequest)(nil), "pkg.CreateRequest")
proto.RegisterType((*CreateResponseWrapper)(nil), "pkg.CreateResponseWrapper")
}
func init() { proto.RegisterFile("create.proto", fileDescriptor_a4d26d5dcda09a78) }
var fileDescriptor_a4d26d5dcda09a78 = []byte{
// 570 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x93, 0x41, 0x4f, 0x14, 0x31,
0x14, 0xc7, 0x59, 0x18, 0x10, 0xba, 0x20, 0x52, 0x83, 0x4e, 0xb8, 0x0c, 0xa9, 0xc6, 0xec, 0x42,
0x76, 0x9a, 0x68, 0x42, 0x0c, 0x31, 0x1a, 0x31, 0xc6, 0x70, 0x23, 0xbd, 0x98, 0x48, 0x21, 0x29,
0xdd, 0x32, 0x4c, 0x98, 0x99, 0xd6, 0x4e, 0x57, 0x58, 0xc3, 0xd5, 0xbb, 0x9f, 0xce, 0xe3, 0x9a,
0xf8, 0x11, 0xe6, 0x13, 0x98, 0xbe, 0xee, 0xc2, 0xa0, 0xa7, 0x9d, 0xfe, 0xff, 0xbf, 0xd7, 0xf7,
0xdf, 0xbc, 0x57, 0xb4, 0x2a,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