Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: dm/api/distributor/swarming/v1/params.pb.go

Issue 2267143002: Add additional validation to swarming v1 distributor. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@dump_all_stacks
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Code generated by protoc-gen-go. 1 // Code generated by protoc-gen-go.
2 // source: github.com/luci/luci-go/dm/api/distributor/swarming/v1/params.proto 2 // source: github.com/luci/luci-go/dm/api/distributor/swarming/v1/params.proto
3 // DO NOT EDIT! 3 // DO NOT EDIT!
4 4
5 package swarmingV1 5 package swarmingV1
6 6
7 import proto "github.com/golang/protobuf/proto" 7 import proto "github.com/golang/protobuf/proto"
8 import fmt "fmt" 8 import fmt "fmt"
9 import math "math" 9 import math "math"
10 import google_protobuf "github.com/luci/luci-go/common/proto/google" 10 import google_protobuf "github.com/luci/luci-go/common/proto/google"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 type Parameters_Job_Inputs struct { 150 type Parameters_Job_Inputs struct {
151 // 0 or more isolated IDs that will be 'included' together into the fina l 151 // 0 or more isolated IDs that will be 'included' together into the fina l
152 // job .isolated sent to swarming. 152 // job .isolated sent to swarming.
153 // 153 //
154 // The "server" value must either be omitted, or equal the isolate serve r 154 // The "server" value must either be omitted, or equal the isolate serve r
155 // defined by this distributor's config (the `isolate.host` field, 155 // defined by this distributor's config (the `isolate.host` field,
156 // prepended with "https://"). 156 // prepended with "https://").
157 Isolated []*IsolatedRef `protobuf:"bytes,1,rep,name=isolated" json:"isol ated,omitempty"` 157 Isolated []*IsolatedRef `protobuf:"bytes,1,rep,name=isolated" json:"isol ated,omitempty"`
158 // 0 or more cipd packages for the job. 158 // 0 or more cipd packages for the job.
159 Packages []*Parameters_Job_Inputs_CipdPackage `protobuf:"bytes,2,rep,nam e=packages" json:"packages,omitempty"` 159 Packages []*Parameters_Job_Inputs_CipdPackage `protobuf:"bytes,2,rep,nam e=packages" json:"packages,omitempty"`
160 » // Optional server to use for cipd packages. If you know you're using 160 » // Server to use for cipd packages. Required (though it may be specified
161 » // swarming's default server, you can omit this. 161 » // by the quest's designated distributor config). This must be
162 » // scheme://<hostname>, e.g. "https://example.appspot.com". The only
163 » // supported schemes are http and https.
162 CipdServer string `protobuf:"bytes,3,opt,name=cipd_server,json=cipdServe r" json:"cipd_server,omitempty"` 164 CipdServer string `protobuf:"bytes,3,opt,name=cipd_server,json=cipdServe r" json:"cipd_server,omitempty"`
163 } 165 }
164 166
165 func (m *Parameters_Job_Inputs) Reset() { *m = Parameters_Job _Inputs{} } 167 func (m *Parameters_Job_Inputs) Reset() { *m = Parameters_Job _Inputs{} }
166 func (m *Parameters_Job_Inputs) String() string { return proto.Compac tTextString(m) } 168 func (m *Parameters_Job_Inputs) String() string { return proto.Compac tTextString(m) }
167 func (*Parameters_Job_Inputs) ProtoMessage() {} 169 func (*Parameters_Job_Inputs) ProtoMessage() {}
168 func (*Parameters_Job_Inputs) Descriptor() ([]byte, []int) { return fileDescript or2, []int{0, 2, 0} } 170 func (*Parameters_Job_Inputs) Descriptor() ([]byte, []int) { return fileDescript or2, []int{0, 2, 0} }
169 171
170 func (m *Parameters_Job_Inputs) GetIsolated() []*IsolatedRef { 172 func (m *Parameters_Job_Inputs) GetIsolated() []*IsolatedRef {
171 if m != nil { 173 if m != nil {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 0x43, 0x94, 0x8f, 0xff, 0xa1, 0x78, 0x9a, 0xaf, 0xab, 0xf0, 0x3c, 0x1e, 0xff, 0xee, 0x40, 0xaf, 239 0x43, 0x94, 0x8f, 0xff, 0xa1, 0x78, 0x9a, 0xaf, 0xab, 0xf0, 0x3c, 0x1e, 0xff, 0xee, 0x40, 0xaf,
238 0xba, 0x03, 0x1d, 0x42, 0xbf, 0x7e, 0x84, 0x89, 0x33, 0xe6, 0x65, 0x6e, 0x6f, 0xcb, 0x4c, 0xea, 240 0xba, 0x03, 0x1d, 0x42, 0xbf, 0x7e, 0x84, 0x89, 0x33, 0xe6, 0x65, 0x6e, 0x6f, 0xcb, 0x4c, 0xea,
239 0x33, 0x26, 0x16, 0xac, 0x05, 0xa2, 0x89, 0x2b, 0x99, 0xcf, 0xcf, 0x79, 0x2a, 0x9a, 0x1a, 0x0f, 241 0x33, 0x26, 0x16, 0xac, 0x05, 0xa2, 0x89, 0x2b, 0x99, 0xcf, 0xcf, 0x79, 0x2a, 0x9a, 0x1a, 0x0f,
240 0x76, 0xfe, 0x0d, 0x39, 0x96, 0x45, 0x32, 0xad, 0x58, 0xac, 0xa5, 0xfb, 0xfc, 0xe6, 0xee, 0x60, 242 0x76, 0xfe, 0x0d, 0x39, 0x96, 0x45, 0x32, 0xad, 0x58, 0xac, 0xa5, 0xfb, 0xfc, 0xe6, 0xee, 0x60,
241 0x66, 0x84, 0x5e, 0x0b, 0x1d, 0x1a, 0x74, 0xf9, 0xf9, 0xd1, 0x59, 0x98, 0xe0, 0x8f, 0x30, 0xdc, 243 0x66, 0x84, 0x5e, 0x0b, 0x1d, 0x1a, 0x74, 0xf9, 0xf9, 0xd1, 0x59, 0x98, 0xe0, 0x8f, 0x30, 0xdc,
242 0x62, 0x22, 0x04, 0x5d, 0x1f, 0x6e, 0x1d, 0x74, 0x58, 0xfb, 0x59, 0xc1, 0xed, 0xb2, 0x2e, 0x29, 244 0x62, 0x22, 0x04, 0x5d, 0x1f, 0x6e, 0x1d, 0x74, 0x58, 0xfb, 0x59, 0xc1, 0xed, 0xb2, 0x2e, 0x29,
243 0xac, 0x7d, 0x66, 0x8e, 0xed, 0xcb, 0xad, 0x35, 0x9b, 0x2d, 0x7e, 0x09, 0xfd, 0x26, 0x8d, 0xff, 245 0xac, 0x7d, 0x66, 0x8e, 0xed, 0xcb, 0xad, 0x35, 0x9b, 0x2d, 0x7e, 0x09, 0xfd, 0x26, 0x8d, 0xff,
244 0x69, 0x3c, 0xee, 0x85, 0xe7, 0x74, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x7f, 0xfc, 0xb8, 0xa6, 246 0x69, 0x3c, 0xee, 0x85, 0xe7, 0x74, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x7f, 0xfc, 0xb8, 0xa6,
245 0x5d, 0x04, 0x00, 0x00, 247 0x5d, 0x04, 0x00, 0x00,
246 } 248 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698