-
Notifications
You must be signed in to change notification settings - Fork 1
/
easy_command_callback.pb.go
286 lines (259 loc) · 11.6 KB
/
easy_command_callback.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
276
277
278
279
280
281
282
283
284
285
286
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: easy_command_callback.proto
package history
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
_ "github.com/mwitkow/go-proto-validators"
easy_command "github.com/easyopsapis/easyops-api-go/protorepo-models/easyops/model/easy_command"
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
//
//EasyCommandCallback请求
type EasyCommandCallbackRequest struct {
//
//套件id
PluginId string `protobuf:"bytes,1,opt,name=pluginId,proto3" json:"pluginId" form:"pluginId"`
//
//巡检任务ID
InspectionTaskId string `protobuf:"bytes,2,opt,name=inspectionTaskId,proto3" json:"inspectionTaskId" form:"inspectionTaskId"`
//
//巡检作业ID
JobId string `protobuf:"bytes,3,opt,name=jobId,proto3" json:"jobId" form:"jobId"`
//
//任务ID
TaskId string `protobuf:"bytes,4,opt,name=taskId,proto3" json:"taskId" form:"taskId"`
//
//任务执行状态
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status" form:"status"`
//
//整个任务当前的用时,单位为秒
UsedTime int32 `protobuf:"varint,6,opt,name=usedTime,proto3" json:"usedTime" form:"usedTime"`
//
//任务开始时间
StartTime string `protobuf:"bytes,7,opt,name=startTime,proto3" json:"startTime" form:"startTime"`
//
//任务状态更新时间
UpdateTime string `protobuf:"bytes,8,opt,name=updateTime,proto3" json:"updateTime" form:"updateTime"`
//
//任务结束时间
EndTime string `protobuf:"bytes,9,opt,name=endTime,proto3" json:"endTime" form:"endTime"`
//
//任务的各个目标机器的执行结果详情
TargetsLog []*easy_command.TargetLog `protobuf:"bytes,10,rep,name=targetsLog,proto3" json:"targetsLog" form:"targetsLog"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EasyCommandCallbackRequest) Reset() { *m = EasyCommandCallbackRequest{} }
func (m *EasyCommandCallbackRequest) String() string { return proto.CompactTextString(m) }
func (*EasyCommandCallbackRequest) ProtoMessage() {}
func (*EasyCommandCallbackRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_eab6d61bbd45a925, []int{0}
}
func (m *EasyCommandCallbackRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EasyCommandCallbackRequest.Unmarshal(m, b)
}
func (m *EasyCommandCallbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EasyCommandCallbackRequest.Marshal(b, m, deterministic)
}
func (m *EasyCommandCallbackRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_EasyCommandCallbackRequest.Merge(m, src)
}
func (m *EasyCommandCallbackRequest) XXX_Size() int {
return xxx_messageInfo_EasyCommandCallbackRequest.Size(m)
}
func (m *EasyCommandCallbackRequest) XXX_DiscardUnknown() {
xxx_messageInfo_EasyCommandCallbackRequest.DiscardUnknown(m)
}
var xxx_messageInfo_EasyCommandCallbackRequest proto.InternalMessageInfo
func (m *EasyCommandCallbackRequest) GetPluginId() string {
if m != nil {
return m.PluginId
}
return ""
}
func (m *EasyCommandCallbackRequest) GetInspectionTaskId() string {
if m != nil {
return m.InspectionTaskId
}
return ""
}
func (m *EasyCommandCallbackRequest) GetJobId() string {
if m != nil {
return m.JobId
}
return ""
}
func (m *EasyCommandCallbackRequest) GetTaskId() string {
if m != nil {
return m.TaskId
}
return ""
}
func (m *EasyCommandCallbackRequest) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
func (m *EasyCommandCallbackRequest) GetUsedTime() int32 {
if m != nil {
return m.UsedTime
}
return 0
}
func (m *EasyCommandCallbackRequest) GetStartTime() string {
if m != nil {
return m.StartTime
}
return ""
}
func (m *EasyCommandCallbackRequest) GetUpdateTime() string {
if m != nil {
return m.UpdateTime
}
return ""
}
func (m *EasyCommandCallbackRequest) GetEndTime() string {
if m != nil {
return m.EndTime
}
return ""
}
func (m *EasyCommandCallbackRequest) GetTargetsLog() []*easy_command.TargetLog {
if m != nil {
return m.TargetsLog
}
return nil
}
//
//EasyCommandCallbackApi返回
type EasyCommandCallbackResponseWrapper 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 *types.Empty `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 *EasyCommandCallbackResponseWrapper) Reset() { *m = EasyCommandCallbackResponseWrapper{} }
func (m *EasyCommandCallbackResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*EasyCommandCallbackResponseWrapper) ProtoMessage() {}
func (*EasyCommandCallbackResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_eab6d61bbd45a925, []int{1}
}
func (m *EasyCommandCallbackResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EasyCommandCallbackResponseWrapper.Unmarshal(m, b)
}
func (m *EasyCommandCallbackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EasyCommandCallbackResponseWrapper.Marshal(b, m, deterministic)
}
func (m *EasyCommandCallbackResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_EasyCommandCallbackResponseWrapper.Merge(m, src)
}
func (m *EasyCommandCallbackResponseWrapper) XXX_Size() int {
return xxx_messageInfo_EasyCommandCallbackResponseWrapper.Size(m)
}
func (m *EasyCommandCallbackResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_EasyCommandCallbackResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_EasyCommandCallbackResponseWrapper proto.InternalMessageInfo
func (m *EasyCommandCallbackResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *EasyCommandCallbackResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *EasyCommandCallbackResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *EasyCommandCallbackResponseWrapper) GetData() *types.Empty {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*EasyCommandCallbackRequest)(nil), "history.EasyCommandCallbackRequest")
proto.RegisterType((*EasyCommandCallbackResponseWrapper)(nil), "history.EasyCommandCallbackResponseWrapper")
}
func init() { proto.RegisterFile("easy_command_callback.proto", fileDescriptor_eab6d61bbd45a925) }
var fileDescriptor_eab6d61bbd45a925 = []byte{
// 727 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x54, 0xdd, 0x4e, 0xdb, 0x48,
0x18, 0x95, 0x17, 0x02, 0x61, 0xb2, 0xbb, 0x80, 0x57, 0x0b, 0x11, 0xa8, 0x72, 0xe4, 0xa2, 0xca,
0x29, 0x1d, 0x3b, 0x3f, 0x2d, 0x2a, 0xe9, 0x45, 0xd4, 0x20, 0x54, 0x21, 0xa1, 0x5e, 0x58, 0x91,
0x90, 0x70, 0x43, 0x34, 0xb1, 0x07, 0xe3, 0x62, 0x7b, 0x5c, 0xcf, 0xa4, 0x34, 0x25, 0xbc, 0x50,
0xa5, 0xbe, 0x45, 0xd5, 0xbe, 0x45, 0x90, 0x2a, 0x55, 0xe2, 0xa6, 0x37, 0x79, 0x82, 0xca, 0x33,
0x4e, 0x62, 0x01, 0x2f, 0xc0, 0x95, 0xe7, 0xfb, 0xce, 0x39, 0xdf, 0xcc, 0xf9, 0x12, 0x1d, 0xb0,
0x89, 0x11, 0x1d, 0x74, 0x6d, 0x12, 0x04, 0x28, 0x74, 0xba, 0x36, 0xf2, 0xfd, 0x1e, 0xb2, 0xcf,
0xf5, 0x28, 0x26, 0x8c, 0xc8, 0x8b, 0x67, 0x1e, 0x65, 0x24, 0x1e, 0x6c, 0x40, 0xd7, 0x63, 0x67,
0xfd, 0x9e, 0x6e, 0x93, 0xc0, 0x70, 0x89, 0x4b, 0x0c, 0x8e, 0xf7, 0xfa, 0xa7, 0xbc, 0xe2, 0x05,
0x3f, 0x09, 0xdd, 0xc6, 0x91, 0x4b, 0xf4, 0x64, 0x2e, 0x89, 0xa8, 0xee, 0x13, 0x1b, 0xf9, 0x86,
0x4d, 0x42, 0x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