-
Notifications
You must be signed in to change notification settings - Fork 1
/
deploy_batch.pb.go
177 lines (158 loc) · 6.69 KB
/
deploy_batch.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: deploy_batch.proto
package easy_flow
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 DeployBatch struct {
//
//分批类型
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type" form:"type"`
//
//自动分批:每批次部署机器数;手动分批:部署总共批次
BatchNum int32 `protobuf:"varint,2,opt,name=batchNum,proto3" json:"batchNum" form:"batchNum"`
//
//部署间隔时长(s)
BatchInterval int32 `protobuf:"varint,3,opt,name=batchInterval,proto3" json:"batchInterval" form:"batchInterval"`
//
//分批详情
Batches []*DeployBatch_Batches `protobuf:"bytes,4,rep,name=batches,proto3" json:"batches" form:"batches"`
//
//是否失败暂停
FailedStop string `protobuf:"bytes,5,opt,name=failedStop,proto3" json:"failedStop" form:"failedStop"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeployBatch) Reset() { *m = DeployBatch{} }
func (m *DeployBatch) String() string { return proto.CompactTextString(m) }
func (*DeployBatch) ProtoMessage() {}
func (*DeployBatch) Descriptor() ([]byte, []int) {
return fileDescriptor_db7721507654d541, []int{0}
}
func (m *DeployBatch) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeployBatch.Unmarshal(m, b)
}
func (m *DeployBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeployBatch.Marshal(b, m, deterministic)
}
func (m *DeployBatch) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeployBatch.Merge(m, src)
}
func (m *DeployBatch) XXX_Size() int {
return xxx_messageInfo_DeployBatch.Size(m)
}
func (m *DeployBatch) XXX_DiscardUnknown() {
xxx_messageInfo_DeployBatch.DiscardUnknown(m)
}
var xxx_messageInfo_DeployBatch proto.InternalMessageInfo
func (m *DeployBatch) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *DeployBatch) GetBatchNum() int32 {
if m != nil {
return m.BatchNum
}
return 0
}
func (m *DeployBatch) GetBatchInterval() int32 {
if m != nil {
return m.BatchInterval
}
return 0
}
func (m *DeployBatch) GetBatches() []*DeployBatch_Batches {
if m != nil {
return m.Batches
}
return nil
}
func (m *DeployBatch) GetFailedStop() string {
if m != nil {
return m.FailedStop
}
return ""
}
type DeployBatch_Batches struct {
//
//批次主机列表
Targets []*DeployBatchTarget `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets" form:"targets"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeployBatch_Batches) Reset() { *m = DeployBatch_Batches{} }
func (m *DeployBatch_Batches) String() string { return proto.CompactTextString(m) }
func (*DeployBatch_Batches) ProtoMessage() {}
func (*DeployBatch_Batches) Descriptor() ([]byte, []int) {
return fileDescriptor_db7721507654d541, []int{0, 0}
}
func (m *DeployBatch_Batches) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeployBatch_Batches.Unmarshal(m, b)
}
func (m *DeployBatch_Batches) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeployBatch_Batches.Marshal(b, m, deterministic)
}
func (m *DeployBatch_Batches) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeployBatch_Batches.Merge(m, src)
}
func (m *DeployBatch_Batches) XXX_Size() int {
return xxx_messageInfo_DeployBatch_Batches.Size(m)
}
func (m *DeployBatch_Batches) XXX_DiscardUnknown() {
xxx_messageInfo_DeployBatch_Batches.DiscardUnknown(m)
}
var xxx_messageInfo_DeployBatch_Batches proto.InternalMessageInfo
func (m *DeployBatch_Batches) GetTargets() []*DeployBatchTarget {
if m != nil {
return m.Targets
}
return nil
}
func init() {
proto.RegisterType((*DeployBatch)(nil), "easy_flow.DeployBatch")
proto.RegisterType((*DeployBatch_Batches)(nil), "easy_flow.DeployBatch.Batches")
}
func init() { proto.RegisterFile("deploy_batch.proto", fileDescriptor_db7721507654d541) }
var fileDescriptor_db7721507654d541 = []byte{
// 350 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0xcd, 0x4a, 0xc3, 0x40,
0x14, 0x85, 0x49, 0x7f, 0xac, 0x9d, 0xa2, 0xc5, 0x51, 0x21, 0x14, 0x31, 0x65, 0xdc, 0x74, 0xd3,
0x0c, 0x28, 0x6e, 0x5c, 0xb8, 0x88, 0xba, 0x50, 0xc4, 0x45, 0xd4, 0x8d, 0x20, 0x25, 0x49, 0x27,
0x69, 0x61, 0xd2, 0x1b, 0x32, 0x53, 0xa5, 0x2f, 0x9b, 0x87, 0xc8, 0x0b, 0x28, 0xbd, 0xd3, 0xd4,
0x08, 0x2e, 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