-
Notifications
You must be signed in to change notification settings - Fork 1
/
target_log.pb.go
212 lines (191 loc) · 8.11 KB
/
target_log.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: target_log.proto
package easy_command
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
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
//
//单个目标机器的任务执行结果
type TargetLog struct {
//
//目标机器ID (cmdb系统的instanceId)
TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId" form:"targetId"`
//
//目标机器名称
TargetName string `protobuf:"bytes,2,opt,name=targetName,proto3" json:"targetName" form:"targetName"`
//
//目标机器上多个action的整体执行结果状态
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status" form:"status"`
//
//系统状态,发生系统错误时,状态记录在此字段
SysStatus string `protobuf:"bytes,4,opt,name=sysStatus,proto3" json:"sysStatus" form:"sysStatus"`
//
//目标机器上最后一个已结束的action的进程退出码
Code int32 `protobuf:"varint,5,opt,name=code,proto3" json:"code" form:"code"`
//
//目标机器上多个action的标准输出的拼接。action的标准错误输出也会重定向到标准输出
Msg string `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg" form:"msg"`
//
//目标机器上多个action的执行结果详情
ActionsLog []*ActionLog `protobuf:"bytes,7,rep,name=actionsLog,proto3" json:"actionsLog" form:"actionsLog"`
//
//目标机器上多个action的执行用时。单位为秒
UsedTime int32 `protobuf:"varint,8,opt,name=usedTime,proto3" json:"usedTime" form:"usedTime"`
//
//目标机器的开始执行时间(第一个action)
StartTime string `protobuf:"bytes,9,opt,name=startTime,proto3" json:"startTime" form:"startTime"`
//
//目标机器的执行状态更新时间
UpdateTime string `protobuf:"bytes,10,opt,name=updateTime,proto3" json:"updateTime" form:"updateTime"`
//
//目标机器的执行结束时间
EndTime string `protobuf:"bytes,11,opt,name=endTime,proto3" json:"endTime" form:"endTime"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TargetLog) Reset() { *m = TargetLog{} }
func (m *TargetLog) String() string { return proto.CompactTextString(m) }
func (*TargetLog) ProtoMessage() {}
func (*TargetLog) Descriptor() ([]byte, []int) {
return fileDescriptor_c5e640d8b5a15d3c, []int{0}
}
func (m *TargetLog) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TargetLog.Unmarshal(m, b)
}
func (m *TargetLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TargetLog.Marshal(b, m, deterministic)
}
func (m *TargetLog) XXX_Merge(src proto.Message) {
xxx_messageInfo_TargetLog.Merge(m, src)
}
func (m *TargetLog) XXX_Size() int {
return xxx_messageInfo_TargetLog.Size(m)
}
func (m *TargetLog) XXX_DiscardUnknown() {
xxx_messageInfo_TargetLog.DiscardUnknown(m)
}
var xxx_messageInfo_TargetLog proto.InternalMessageInfo
func (m *TargetLog) GetTargetId() string {
if m != nil {
return m.TargetId
}
return ""
}
func (m *TargetLog) GetTargetName() string {
if m != nil {
return m.TargetName
}
return ""
}
func (m *TargetLog) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
func (m *TargetLog) GetSysStatus() string {
if m != nil {
return m.SysStatus
}
return ""
}
func (m *TargetLog) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *TargetLog) GetMsg() string {
if m != nil {
return m.Msg
}
return ""
}
func (m *TargetLog) GetActionsLog() []*ActionLog {
if m != nil {
return m.ActionsLog
}
return nil
}
func (m *TargetLog) GetUsedTime() int32 {
if m != nil {
return m.UsedTime
}
return 0
}
func (m *TargetLog) GetStartTime() string {
if m != nil {
return m.StartTime
}
return ""
}
func (m *TargetLog) GetUpdateTime() string {
if m != nil {
return m.UpdateTime
}
return ""
}
func (m *TargetLog) GetEndTime() string {
if m != nil {
return m.EndTime
}
return ""
}
func init() {
proto.RegisterType((*TargetLog)(nil), "easy_command.TargetLog")
}
func init() { proto.RegisterFile("target_log.proto", fileDescriptor_c5e640d8b5a15d3c) }
var fileDescriptor_c5e640d8b5a15d3c = []byte{
// 581 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x94, 0xcd, 0x6e, 0xd3, 0x4e,
0x14, 0xc5, 0xe5, 0x7f, 0x3f, 0x33, 0xfd, 0xd3, 0x0f, 0x03, 0xc2, 0xea, 0xc6, 0x91, 0x61, 0x31,
0xa6, 0x1a, 0xdb, 0x49, 0x29, 0x52, 0xb3, 0x89, 0xe8, 0x02, 0x81, 0x54, 0x75, 0x61, 0x22, 0x21,
0xd5, 0x98, 0x6a, 0x62, 0xbb, 0x43, 0x44, 0x9c, 0x89, 0x3c, 0x13, 0xaa, 0x8a, 0xf0, 0x42, 0x48,
0xbc, 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