-
Notifications
You must be signed in to change notification settings - Fork 1
/
app_package.pb.go
211 lines (189 loc) · 7.04 KB
/
app_package.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: app_package.proto
package cmdb_extend
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//应用程序包
type AppPackage struct {
//
//包名称
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
//
//包ID
PackageId string `protobuf:"bytes,2,opt,name=packageId,proto3" json:"packageId" form:"packageId"`
//
//安装路径
InstallPath string `protobuf:"bytes,3,opt,name=installPath,proto3" json:"installPath" form:"installPath"`
//
//是否主程序包
IsMaster string `protobuf:"bytes,4,opt,name=isMaster,proto3" json:"isMaster" form:"isMaster"`
//
//系统类型
Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform" form:"platform"`
//
//升级前停止
PreStop int32 `protobuf:"varint,6,opt,name=preStop,proto3" json:"preStop" form:"preStop"`
//
//强制升级
ForceUpdate int32 `protobuf:"varint,7,opt,name=forceUpdate,proto3" json:"forceUpdate" form:"forceUpdate"`
//
//升级后重启
PostRestart int32 `protobuf:"varint,8,opt,name=postRestart,proto3" json:"postRestart" form:"postRestart"`
//
//安装完成自动启动
AutoStart int32 `protobuf:"varint,9,opt,name=autoStart,proto3" json:"autoStart" form:"autoStart"`
//
//目标版本
TargetVersion string `protobuf:"bytes,10,opt,name=targetVersion,proto3" json:"targetVersion" form:"targetVersion"`
//
//发布后检查
UserCheck int32 `protobuf:"varint,11,opt,name=userCheck,proto3" json:"userCheck" form:"userCheck"`
//
//全量升级
FullUpdate int32 `protobuf:"varint,12,opt,name=fullUpdate,proto3" json:"fullUpdate" form:"fullUpdate"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AppPackage) Reset() { *m = AppPackage{} }
func (m *AppPackage) String() string { return proto.CompactTextString(m) }
func (*AppPackage) ProtoMessage() {}
func (*AppPackage) Descriptor() ([]byte, []int) {
return fileDescriptor_3dd06b6ee71df995, []int{0}
}
func (m *AppPackage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AppPackage.Unmarshal(m, b)
}
func (m *AppPackage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AppPackage.Marshal(b, m, deterministic)
}
func (m *AppPackage) XXX_Merge(src proto.Message) {
xxx_messageInfo_AppPackage.Merge(m, src)
}
func (m *AppPackage) XXX_Size() int {
return xxx_messageInfo_AppPackage.Size(m)
}
func (m *AppPackage) XXX_DiscardUnknown() {
xxx_messageInfo_AppPackage.DiscardUnknown(m)
}
var xxx_messageInfo_AppPackage proto.InternalMessageInfo
func (m *AppPackage) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AppPackage) GetPackageId() string {
if m != nil {
return m.PackageId
}
return ""
}
func (m *AppPackage) GetInstallPath() string {
if m != nil {
return m.InstallPath
}
return ""
}
func (m *AppPackage) GetIsMaster() string {
if m != nil {
return m.IsMaster
}
return ""
}
func (m *AppPackage) GetPlatform() string {
if m != nil {
return m.Platform
}
return ""
}
func (m *AppPackage) GetPreStop() int32 {
if m != nil {
return m.PreStop
}
return 0
}
func (m *AppPackage) GetForceUpdate() int32 {
if m != nil {
return m.ForceUpdate
}
return 0
}
func (m *AppPackage) GetPostRestart() int32 {
if m != nil {
return m.PostRestart
}
return 0
}
func (m *AppPackage) GetAutoStart() int32 {
if m != nil {
return m.AutoStart
}
return 0
}
func (m *AppPackage) GetTargetVersion() string {
if m != nil {
return m.TargetVersion
}
return ""
}
func (m *AppPackage) GetUserCheck() int32 {
if m != nil {
return m.UserCheck
}
return 0
}
func (m *AppPackage) GetFullUpdate() int32 {
if m != nil {
return m.FullUpdate
}
return 0
}
func init() {
proto.RegisterType((*AppPackage)(nil), "cmdb_extend.AppPackage")
}
func init() { proto.RegisterFile("app_package.proto", fileDescriptor_3dd06b6ee71df995) }
var fileDescriptor_3dd06b6ee71df995 = []byte{
// 429 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x92, 0x41, 0x6f, 0xd3, 0x30,
0x14, 0x80, 0x55, 0x58, 0xb7, 0xd5, 0x05, 0xc6, 0xcc, 0x40, 0x16, 0x97, 0x4c, 0xe6, 0xb2, 0x03,
0x6b, 0x24, 0x10, 0x12, 0xe2, 0x80, 0x44, 0x11, 0x42, 0x1c, 0x90, 0x26, 0x4f, 0x70, 0xe0, 0x32,
0xb9, 0xc9, 0x6b, 0x5a, 0xcd, 0xc9, 0xb3, 0xec, 0x17, 0x09, 0xae, 0xfc, 0xd0, 0xfc, 0x88, 0xfc,
0x82, 0x29, 0x4e, 0x96, 0x7a, 0xbd, 0xc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