| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
package maintenance |
| 16 |
|
| 17 |
import proto "github.com/gogo/protobuf/proto" |
| 18 |
import fmt "fmt" |
| 19 |
import math "math" |
| 20 |
import mesos "github.com/mesos/mesos-go/api/v1/lib" |
| 21 |
import mesos_allocator "github.com/mesos/mesos-go/api/v1/lib/allocator" |
| 22 |
import _ "github.com/gogo/protobuf/gogoproto" |
| 23 |
|
| 24 |
import strings "strings" |
| 25 |
import reflect "reflect" |
| 26 |
|
| 27 |
import io "io" |
| 28 |
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" |
| 29 |
|
| 30 |
|
| 31 |
var _ = proto.Marshal |
| 32 |
var _ = fmt.Errorf |
| 33 |
var _ = math.Inf |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
const _ = proto.GoGoProtoPackageIsVersion2 |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
type Window struct { |
| 45 |
|
| 46 |
MachineIDs []mesos.MachineID `protobuf:"bytes,1,rep,name=machine_ids,json=machineIds" json:"machine_ids"` |
| 47 |
|
| 48 |
Unavailability mesos.Unavailability `protobuf:"bytes,2,req,name=unavailability" json:"unavailability"` |
| 49 |
} |
| 50 |
|
| 51 |
func (m *Window) Reset() { *m = Window{} } |
| 52 |
func (*Window) ProtoMessage() {} |
| 53 |
func (*Window) Descriptor() ([]byte, []int) { return fileDescriptorMaintenance, []int{0} } |
| 54 |
|
| 55 |
func (m *Window) GetMachineIDs() []mesos.MachineID { |
| 56 |
if m != nil { |
| 57 |
return m.MachineIDs |
| 58 |
} |
| 59 |
return nil |
| 60 |
} |
| 61 |
|
| 62 |
func (m *Window) GetUnavailability() mesos.Unavailability { |
| 63 |
if m != nil { |
| 64 |
return m.Unavailability |
| 65 |
} |
| 66 |
return mesos.Unavailability{} |
| 67 |
} |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
type Schedule struct { |
| 73 |
Windows []Window `protobuf:"bytes,1,rep,name=windows" json:"windows"` |
| 74 |
} |
| 75 |
|
| 76 |
func (m *Schedule) Reset() { *m = Schedule{} } |
| 77 |
func (*Schedule) ProtoMessage() {} |
| 78 |
func (*Schedule) Descriptor() ([]byte, []int) { return fileDescriptorMaintenance, []int{1} } |
| 79 |
|
| 80 |
func (m *Schedule) GetWindows() []Window { |
| 81 |
if m != nil { |
| 82 |
return m.Windows |
| 83 |
} |
| 84 |
return nil |
| 85 |
} |
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
type ClusterStatus struct { |
| 91 |
DrainingMachines []ClusterStatus_DrainingMachine `protobuf:"bytes,1,rep,name=draining_machines,json=drainingMachines" json:"draining_machines"` |
| 92 |
DownMachines []mesos.MachineID `protobuf:"bytes,2,rep,name=down_machines,json=downMachines" json:"down_machines"` |
| 93 |
} |
| 94 |
|
| 95 |
func (m *ClusterStatus) Reset() { *m = ClusterStatus{} } |
| 96 |
func (*ClusterStatus) ProtoMessage() {} |
| 97 |
func (*ClusterStatus) Descriptor() ([]byte, []int) { return fileDescriptorMaintenance, []int{2} } |
| 98 |
|
| 99 |
func (m *ClusterStatus) GetDrainingMachines() []ClusterStatus_DrainingMachine { |
| 100 |
if m != nil { |
| 101 |
return m.DrainingMachines |
| 102 |
} |
| 103 |
return nil |
| 104 |
} |
| 105 |
|
| 106 |
func (m *ClusterStatus) GetDownMachines() []mesos.MachineID { |
| 107 |
if m != nil { |
| 108 |
return m.DownMachines |
| 109 |
} |
| 110 |
return nil |
| 111 |
} |
| 112 |
|
| 113 |
type ClusterStatus_DrainingMachine struct { |
| 114 |
ID mesos.MachineID `protobuf:"bytes,1,req,name=id" json:"id"` |
| 115 |
|
| 116 |
|
| 117 |
Statuses []mesos_allocator.InverseOfferStatus `protobuf:"bytes,2,rep,name=statuses" json:"statuses"` |
| 118 |
} |
| 119 |
|
| 120 |
func (m *ClusterStatus_DrainingMachine) Reset() { *m = ClusterStatus_DrainingMachine{} } |
| 121 |
func (*ClusterStatus_DrainingMachine) ProtoMessage() {} |
| 122 |
func (*ClusterStatus_DrainingMachine) Descriptor() ([]byte, []int) { |
| 123 |
return fileDescriptorMaintenance, []int{2, 0} |
| 124 |
} |
| 125 |
|
| 126 |
func (m *ClusterStatus_DrainingMachine) GetID() mesos.MachineID { |
| 127 |
if m != nil { |
| 128 |
return m.ID |
| 129 |
} |
| 130 |
return mesos.MachineID{} |
| 131 |
} |
| 132 |
|
| 133 |
func (m *ClusterStatus_DrainingMachine) GetStatuses() []mesos_allocator.InverseOfferStatus { |
| 134 |
if m != nil { |
| 135 |
return m.Statuses |
| 136 |
} |
| 137 |
return nil |
| 138 |
} |
| 139 |
|
| 140 |
func init() { |
| 141 |
proto.RegisterType((*Window)(nil), "mesos.maintenance.Window") |
| 142 |
proto.RegisterType((*Schedule)(nil), "mesos.maintenance.Schedule") |
| 143 |
proto.RegisterType((*ClusterStatus)(nil), "mesos.maintenance.ClusterStatus") |
| 144 |
proto.RegisterType((*ClusterStatus_DrainingMachine)(nil), "mesos.maintenance.ClusterStatus.DrainingMachine") |
| 145 |
} |
| 146 |
func (this *Window) VerboseEqual(that interface{}) error { |
| 147 |
if that == nil { |
| 148 |
if this == nil { |
| 149 |
return nil |
| 150 |
} |
| 151 |
return fmt.Errorf("that == nil && this != nil") |
| 152 |
} |
| 153 |
|
| 154 |
that1, ok := that.(*Window) |
| 155 |
if !ok { |
| 156 |
that2, ok := that.(Window) |
| 157 |
if ok { |
| 158 |
that1 = &that2 |
| 159 |
} else { |
| 160 |
return fmt.Errorf("that is not of type *Window") |
| 161 |
} |
| 162 |
} |
| 163 |
if that1 == nil { |
| 164 |
if this == nil { |
| 165 |
return nil |
| 166 |
} |
| 167 |
return fmt.Errorf("that is type *Window but is nil && this != nil") |
| 168 |
} else if this == nil { |
| 169 |
return fmt.Errorf("that is type *Window but is not nil && this == nil") |
| 170 |
} |
| 171 |
if len(this.MachineIDs) != len(that1.MachineIDs) { |
| 172 |
return fmt.Errorf("MachineIDs this(%v) Not Equal that(%v)", len(this.MachineIDs), len(that1.MachineIDs)) |
| 173 |
} |
| 174 |
for i := range this.MachineIDs { |
| 175 |
if !this.MachineIDs[i].Equal(&that1.MachineIDs[i]) { |
| 176 |
return fmt.Errorf("MachineIDs this[%v](%v) Not Equal that[%v](%v)", i, this.MachineIDs[i], i, that1.MachineIDs[i]) |
| 177 |
} |
| 178 |
} |
| 179 |
if !this.Unavailability.Equal(&that1.Unavailability) { |
| 180 |
return fmt.Errorf("Unavailability this(%v) Not Equal that(%v)", this.Unavailability, that1.Unavailability) |
| 181 |
} |
| 182 |
return nil |
| 183 |
} |
| 184 |
func (this *Window) Equal(that interface{}) bool { |
| 185 |
if that == nil { |
| 186 |
if this == nil { |
| 187 |
return true |
| 188 |
} |
| 189 |
return false |
| 190 |
} |
| 191 |
|
| 192 |
that1, ok := that.(*Window) |
| 193 |
if !ok { |
| 194 |
that2, ok := that.(Window) |
| 195 |
if ok { |
| 196 |
that1 = &that2 |
| 197 |
} else { |
| 198 |
return false |
| 199 |
} |
| 200 |
} |
| 201 |
if that1 == nil { |
| 202 |
if this == nil { |
| 203 |
return true |
| 204 |
} |
| 205 |
return false |
| 206 |
} else if this == nil { |
| 207 |
return false |
| 208 |
} |
| 209 |
if len(this.MachineIDs) != len(that1.MachineIDs) { |
| 210 |
return false |
| 211 |
} |
| 212 |
for i := range this.MachineIDs { |
| 213 |
if !this.MachineIDs[i].Equal(&that1.MachineIDs[i]) { |
| 214 |
return false |
| 215 |
} |
| 216 |
} |
| 217 |
if !this.Unavailability.Equal(&that1.Unavailability) { |
| 218 |
return false |
| 219 |
} |
| 220 |
return true |
| 221 |
} |
| 222 |
func (this *Schedule) VerboseEqual(that interface{}) error { |
| 223 |
if that == nil { |
| 224 |
if this == nil { |
| 225 |
return nil |
| 226 |
} |
| 227 |
return fmt.Errorf("that == nil && this != nil") |
| 228 |
} |
| 229 |
|
| 230 |
that1, ok := that.(*Schedule) |
| 231 |
if !ok { |
| 232 |
that2, ok := that.(Schedule) |
| 233 |
if ok { |
| 234 |
that1 = &that2 |
| 235 |
} else { |
| 236 |
return fmt.Errorf("that is not of type *Schedule") |
| 237 |
} |
| 238 |
} |
| 239 |
if that1 == nil { |
| 240 |
if this == nil { |
| 241 |
return nil |
| 242 |
} |
| 243 |
return fmt.Errorf("that is type *Schedule but is nil && this != nil") |
| 244 |
} else if this == nil { |
| 245 |
return fmt.Errorf("that is type *Schedule but is not nil && this == nil") |
| 246 |
} |
| 247 |
if len(this.Windows) != len(that1.Windows) { |
| 248 |
return fmt.Errorf("Windows this(%v) Not Equal that(%v)", len(this.Windows), len(that1.Windows)) |
| 249 |
} |
| 250 |
for i := range this.Windows { |
| 251 |
if !this.Windows[i].Equal(&that1.Windows[i]) { |
| 252 |
return fmt.Errorf("Windows this[%v](%v) Not Equal that[%v](%v)", i, this.Windows[i], i, that1.Windows[i]) |
| 253 |
} |
| 254 |
} |
| 255 |
return nil |
| 256 |
} |
| 257 |
func (this *Schedule) Equal(that interface{}) bool { |
| 258 |
if that == nil { |
| 259 |
if this == nil { |
| 260 |
return true |
| 261 |
} |
| 262 |
return false |
| 263 |
} |
| 264 |
|
| 265 |
that1, ok := that.(*Schedule) |
| 266 |
if !ok { |
| 267 |
that2, ok := that.(Schedule) |
| 268 |
if ok { |
| 269 |
that1 = &that2 |
| 270 |
} else { |
| 271 |
return false |
| 272 |
} |
| 273 |
} |
| 274 |
if that1 == nil { |
| 275 |
if this == nil { |
| 276 |
return true |
| 277 |
} |
| 278 |
return false |
| 279 |
} else if this == nil { |
| 280 |
return false |
| 281 |
} |
| 282 |
if len(this.Windows) != len(that1.Windows) { |
| 283 |
return false |
| 284 |
} |
| 285 |
for i := range this.Windows { |
| 286 |
if !this.Windows[i].Equal(&that1.Windows[i]) { |
| 287 |
return false |
| 288 |
} |
| 289 |
} |
| 290 |
return true |
| 291 |
} |
| 292 |
func (this *ClusterStatus) VerboseEqual(that interface{}) error { |
| 293 |
if that == nil { |
| 294 |
if this == nil { |
| 295 |
return nil |
| 296 |
} |
| 297 |
return fmt.Errorf("that == nil && this != nil") |
| 298 |
} |
| 299 |
|
| 300 |
that1, ok := that.(*ClusterStatus) |
| 301 |
if !ok { |
| 302 |
that2, ok := that.(ClusterStatus) |
| 303 |
if ok { |
| 304 |
that1 = &that2 |
| 305 |
} else { |
| 306 |
return fmt.Errorf("that is not of type *ClusterStatus") |
| 307 |
} |
| 308 |
} |
| 309 |
if that1 == nil { |
| 310 |
if this == nil { |
| 311 |
return nil |
| 312 |
} |
| 313 |
return fmt.Errorf("that is type *ClusterStatus but is nil && this != nil") |
| 314 |
} else if this == nil { |
| 315 |
return fmt.Errorf("that is type *ClusterStatus but is not nil && this == nil") |
| 316 |
} |
| 317 |
if len(this.DrainingMachines) != len(that1.DrainingMachines) { |
| 318 |
return fmt.Errorf("DrainingMachines this(%v) Not Equal that(%v)", len(this.DrainingMachines), len(that1.DrainingMachines)) |
| 319 |
} |
| 320 |
for i := range this.DrainingMachines { |
| 321 |
if !this.DrainingMachines[i].Equal(&that1.DrainingMachines[i]) { |
| 322 |
return fmt.Errorf("DrainingMachines this[%v](%v) Not Equal that[%v](%v)", i, this.DrainingMachines[i], i, that1.DrainingMachines[i]) |
| 323 |
} |
| 324 |
} |
| 325 |
if len(this.DownMachines) != len(that1.DownMachines) { |
| 326 |
return fmt.Errorf("DownMachines this(%v) Not Equal that(%v)", len(this.DownMachines), len(that1.DownMachines)) |
| 327 |
} |
| 328 |
for i := range this.DownMachines { |
| 329 |
if !this.DownMachines[i].Equal(&that1.DownMachines[i]) { |
| 330 |
return fmt.Errorf("DownMachines this[%v](%v) Not Equal that[%v](%v)", i, this.DownMachines[i], i, that1.DownMachines[i]) |
| 331 |
} |
| 332 |
} |
| 333 |
return nil |
| 334 |
} |
| 335 |
func (this *ClusterStatus) Equal(that interface{}) bool { |
| 336 |
if that == nil { |
| 337 |
if this == nil { |
| 338 |
return true |
| 339 |
} |
| 340 |
return false |
| 341 |
} |
| 342 |
|
| 343 |
that1, ok := that.(*ClusterStatus) |
| 344 |
if !ok { |
| 345 |
that2, ok := that.(ClusterStatus) |
| 346 |
if ok { |
| 347 |
that1 = &that2 |
| 348 |
} else { |
| 349 |
return false |
| 350 |
} |
| 351 |
} |
| 352 |
if that1 == nil { |
| 353 |
if this == nil { |
| 354 |
return true |
| 355 |
} |
| 356 |
return false |
| 357 |
} else if this == nil { |
| 358 |
return false |
| 359 |
} |
| 360 |
if len(this.DrainingMachines) != len(that1.DrainingMachines) { |
| 361 |
return false |
| 362 |
} |
| 363 |
for i := range this.DrainingMachines { |
| 364 |
if !this.DrainingMachines[i].Equal(&that1.DrainingMachines[i]) { |
| 365 |
return false |
| 366 |
} |
| 367 |
} |
| 368 |
if len(this.DownMachines) != len(that1.DownMachines) { |
| 369 |
return false |
| 370 |
} |
| 371 |
for i := range this.DownMachines { |
| 372 |
if !this.DownMachines[i].Equal(&that1.DownMachines[i]) { |
| 373 |
return false |
| 374 |
} |
| 375 |
} |
| 376 |
return true |
| 377 |
} |
| 378 |
func (this *ClusterStatus_DrainingMachine) VerboseEqual(that interface{}) error { |
| 379 |
if that == nil { |
| 380 |
if this == nil { |
| 381 |
return nil |
| 382 |
} |
| 383 |
return fmt.Errorf("that == nil && this != nil") |
| 384 |
} |
| 385 |
|
| 386 |
that1, ok := that.(*ClusterStatus_DrainingMachine) |
| 387 |
if !ok { |
| 388 |
that2, ok := that.(ClusterStatus_DrainingMachine) |
| 389 |
if ok { |
| 390 |
that1 = &that2 |
| 391 |
} else { |
| 392 |
return fmt.Errorf("that is not of type *ClusterStatus_DrainingMachine") |
| 393 |
} |
| 394 |
} |
| 395 |
if that1 == nil { |
| 396 |
if this == nil { |
| 397 |
return nil |
| 398 |
} |
| 399 |
return fmt.Errorf("that is type *ClusterStatus_DrainingMachine but is nil && this != nil") |
| 400 |
} else if this == nil { |
| 401 |
return fmt.Errorf("that is type *ClusterStatus_DrainingMachine but is not nil && this == nil") |
| 402 |
} |
| 403 |
if !this.ID.Equal(&that1.ID) { |
| 404 |
return fmt.Errorf("ID this(%v) Not Equal that(%v)", this.ID, that1.ID) |
| 405 |
} |
| 406 |
if len(this.Statuses) != len(that1.Statuses) { |
| 407 |
return fmt.Errorf("Statuses this(%v) Not Equal that(%v)", len(this.Statuses), len(that1.Statuses)) |
| 408 |
} |
| 409 |
for i := range this.Statuses { |
| 410 |
if !this.Statuses[i].Equal(&that1.Statuses[i]) { |
| 411 |
return fmt.Errorf("Statuses this[%v](%v) Not Equal that[%v](%v)", i, this.Statuses[i], i, that1.Statuses[i]) |
| 412 |
} |
| 413 |
} |
| 414 |
return nil |
| 415 |
} |
| 416 |
func (this *ClusterStatus_DrainingMachine) Equal(that interface{}) bool { |
| 417 |
if that == nil { |
| 418 |
if this == nil { |
| 419 |
return true |
| 420 |
} |
| 421 |
return false |
| 422 |
} |
| 423 |
|
| 424 |
that1, ok := that.(*ClusterStatus_DrainingMachine) |
| 425 |
if !ok { |
| 426 |
that2, ok := that.(ClusterStatus_DrainingMachine) |
| 427 |
if ok { |
| 428 |
that1 = &that2 |
| 429 |
} else { |
| 430 |
return false |
| 431 |
} |
| 432 |
} |
| 433 |
if that1 == nil { |
| 434 |
if this == nil { |
| 435 |
return true |
| 436 |
} |
| 437 |
return false |
| 438 |
} else if this == nil { |
| 439 |
return false |
| 440 |
} |
| 441 |
if !this.ID.Equal(&that1.ID) { |
| 442 |
return false |
| 443 |
} |
| 444 |
if len(this.Statuses) != len(that1.Statuses) { |
| 445 |
return false |
| 446 |
} |
| 447 |
for i := range this.Statuses { |
| 448 |
if !this.Statuses[i].Equal(&that1.Statuses[i]) { |
| 449 |
return false |
| 450 |
} |
| 451 |
} |
| 452 |
return true |
| 453 |
} |
| 454 |
func (this *Window) GoString() string { |
| 455 |
if this == nil { |
| 456 |
return "nil" |
| 457 |
} |
| 458 |
s := make([]string, 0, 6) |
| 459 |
s = append(s, "&maintenance.Window{") |
| 460 |
if this.MachineIDs != nil { |
| 461 |
s = append(s, "MachineIDs: "+fmt.Sprintf("%#v", this.MachineIDs)+",\n") |
| 462 |
} |
| 463 |
s = append(s, "Unavailability: "+strings.Replace(this.Unavailability.GoString(), `&`, ``, 1)+",\n") |
| 464 |
s = append(s, "}") |
| 465 |
return strings.Join(s, "") |
| 466 |
} |
| 467 |
func (this *Schedule) GoString() string { |
| 468 |
if this == nil { |
| 469 |
return "nil" |
| 470 |
} |
| 471 |
s := make([]string, 0, 5) |
| 472 |
s = append(s, "&maintenance.Schedule{") |
| 473 |
if this.Windows != nil { |
| 474 |
s = append(s, "Windows: "+fmt.Sprintf("%#v", this.Windows)+",\n") |
| 475 |
} |
| 476 |
s = append(s, "}") |
| 477 |
return strings.Join(s, "") |
| 478 |
} |
| 479 |
func (this *ClusterStatus) GoString() string { |
| 480 |
if this == nil { |
| 481 |
return "nil" |
| 482 |
} |
| 483 |
s := make([]string, 0, 6) |
| 484 |
s = append(s, "&maintenance.ClusterStatus{") |
| 485 |
if this.DrainingMachines != nil { |
| 486 |
s = append(s, "DrainingMachines: "+fmt.Sprintf("%#v", this.DrainingMachines)+",\n") |
| 487 |
} |
| 488 |
if this.DownMachines != nil { |
| 489 |
s = append(s, "DownMachines: "+fmt.Sprintf("%#v", this.DownMachines)+",\n") |
| 490 |
} |
| 491 |
s = append(s, "}") |
| 492 |
return strings.Join(s, "") |
| 493 |
} |
| 494 |
func (this *ClusterStatus_DrainingMachine) GoString() string { |
| 495 |
if this == nil { |
| 496 |
return "nil" |
| 497 |
} |
| 498 |
s := make([]string, 0, 6) |
| 499 |
s = append(s, "&maintenance.ClusterStatus_DrainingMachine{") |
| 500 |
s = append(s, "ID: "+strings.Replace(this.ID.GoString(), `&`, ``, 1)+",\n") |
| 501 |
if this.Statuses != nil { |
| 502 |
s = append(s, "Statuses: "+fmt.Sprintf("%#v", this.Statuses)+",\n") |
| 503 |
} |
| 504 |
s = append(s, "}") |
| 505 |
return strings.Join(s, "") |
| 506 |
} |
| 507 |
func valueToGoStringMaintenance(v interface{}, typ string) string { |
| 508 |
rv := reflect.ValueOf(v) |
| 509 |
if rv.IsNil() { |
| 510 |
return "nil" |
| 511 |
} |
| 512 |
pv := reflect.Indirect(rv).Interface() |
| 513 |
return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) |
| 514 |
} |
| 515 |
func (m *Window) Marshal() (dAtA []byte, err error) { |
| 516 |
size := m.ProtoSize() |
| 517 |
dAtA = make([]byte, size) |
| 518 |
n, err := m.MarshalTo(dAtA) |
| 519 |
if err != nil { |
| 520 |
return nil, err |
| 521 |
} |
| 522 |
return dAtA[:n], nil |
| 523 |
} |
| 524 |
|
| 525 |
func (m *Window) MarshalTo(dAtA []byte) (int, error) { |
| 526 |
var i int |
| 527 |
_ = i |
| 528 |
var l int |
| 529 |
_ = l |
| 530 |
if len(m.MachineIDs) > 0 { |
| 531 |
for _, msg := range m.MachineIDs { |
| 532 |
dAtA[i] = 0xa |
| 533 |
i++ |
| 534 |
i = encodeVarintMaintenance(dAtA, i, uint64(msg.ProtoSize())) |
| 535 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 536 |
if err != nil { |
| 537 |
return 0, err |
| 538 |
} |
| 539 |
i += n |
| 540 |
} |
| 541 |
} |
| 542 |
dAtA[i] = 0x12 |
| 543 |
i++ |
| 544 |
i = encodeVarintMaintenance(dAtA, i, uint64(m.Unavailability.ProtoSize())) |
| 545 |
n1, err := m.Unavailability.MarshalTo(dAtA[i:]) |
| 546 |
if err != nil { |
| 547 |
return 0, err |
| 548 |
} |
| 549 |
i += n1 |
| 550 |
return i, nil |
| 551 |
} |
| 552 |
|
| 553 |
func (m *Schedule) Marshal() (dAtA []byte, err error) { |
| 554 |
size := m.ProtoSize() |
| 555 |
dAtA = make([]byte, size) |
| 556 |
n, err := m.MarshalTo(dAtA) |
| 557 |
if err != nil { |
| 558 |
return nil, err |
| 559 |
} |
| 560 |
return dAtA[:n], nil |
| 561 |
} |
| 562 |
|
| 563 |
func (m *Schedule) MarshalTo(dAtA []byte) (int, error) { |
| 564 |
var i int |
| 565 |
_ = i |
| 566 |
var l int |
| 567 |
_ = l |
| 568 |
if len(m.Windows) > 0 { |
| 569 |
for _, msg := range m.Windows { |
| 570 |
dAtA[i] = 0xa |
| 571 |
i++ |
| 572 |
i = encodeVarintMaintenance(dAtA, i, uint64(msg.ProtoSize())) |
| 573 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 574 |
if err != nil { |
| 575 |
return 0, err |
| 576 |
} |
| 577 |
i += n |
| 578 |
} |
| 579 |
} |
| 580 |
return i, nil |
| 581 |
} |
| 582 |
|
| 583 |
func (m *ClusterStatus) Marshal() (dAtA []byte, err error) { |
| 584 |
size := m.ProtoSize() |
| 585 |
dAtA = make([]byte, size) |
| 586 |
n, err := m.MarshalTo(dAtA) |
| 587 |
if err != nil { |
| 588 |
return nil, err |
| 589 |
} |
| 590 |
return dAtA[:n], nil |
| 591 |
} |
| 592 |
|
| 593 |
func (m *ClusterStatus) MarshalTo(dAtA []byte) (int, error) { |
| 594 |
var i int |
| 595 |
_ = i |
| 596 |
var l int |
| 597 |
_ = l |
| 598 |
if len(m.DrainingMachines) > 0 { |
| 599 |
for _, msg := range m.DrainingMachines { |
| 600 |
dAtA[i] = 0xa |
| 601 |
i++ |
| 602 |
i = encodeVarintMaintenance(dAtA, i, uint64(msg.ProtoSize())) |
| 603 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 604 |
if err != nil { |
| 605 |
return 0, err |
| 606 |
} |
| 607 |
i += n |
| 608 |
} |
| 609 |
} |
| 610 |
if len(m.DownMachines) > 0 { |
| 611 |
for _, msg := range m.DownMachines { |
| 612 |
dAtA[i] = 0x12 |
| 613 |
i++ |
| 614 |
i = encodeVarintMaintenance(dAtA, i, uint64(msg.ProtoSize())) |
| 615 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 616 |
if err != nil { |
| 617 |
return 0, err |
| 618 |
} |
| 619 |
i += n |
| 620 |
} |
| 621 |
} |
| 622 |
return i, nil |
| 623 |
} |
| 624 |
|
| 625 |
func (m *ClusterStatus_DrainingMachine) Marshal() (dAtA []byte, err error) { |
| 626 |
size := m.ProtoSize() |
| 627 |
dAtA = make([]byte, size) |
| 628 |
n, err := m.MarshalTo(dAtA) |
| 629 |
if err != nil { |
| 630 |
return nil, err |
| 631 |
} |
| 632 |
return dAtA[:n], nil |
| 633 |
} |
| 634 |
|
| 635 |
func (m *ClusterStatus_DrainingMachine) MarshalTo(dAtA []byte) (int, error) { |
| 636 |
var i int |
| 637 |
_ = i |
| 638 |
var l int |
| 639 |
_ = l |
| 640 |
dAtA[i] = 0xa |
| 641 |
i++ |
| 642 |
i = encodeVarintMaintenance(dAtA, i, uint64(m.ID.ProtoSize())) |
| 643 |
n2, err := m.ID.MarshalTo(dAtA[i:]) |
| 644 |
if err != nil { |
| 645 |
return 0, err |
| 646 |
} |
| 647 |
i += n2 |
| 648 |
if len(m.Statuses) > 0 { |
| 649 |
for _, msg := range m.Statuses { |
| 650 |
dAtA[i] = 0x12 |
| 651 |
i++ |
| 652 |
i = encodeVarintMaintenance(dAtA, i, uint64(msg.ProtoSize())) |
| 653 |
n, err := msg.MarshalTo(dAtA[i:]) |
| 654 |
if err != nil { |
| 655 |
return 0, err |
| 656 |
} |
| 657 |
i += n |
| 658 |
} |
| 659 |
} |
| 660 |
return i, nil |
| 661 |
} |
| 662 |
|
| 663 |
func encodeFixed64Maintenance(dAtA []byte, offset int, v uint64) int { |
| 664 |
dAtA[offset] = uint8(v) |
| 665 |
dAtA[offset+1] = uint8(v >> 8) |
| 666 |
dAtA[offset+2] = uint8(v >> 16) |
| 667 |
dAtA[offset+3] = uint8(v >> 24) |
| 668 |
dAtA[offset+4] = uint8(v >> 32) |
| 669 |
dAtA[offset+5] = uint8(v >> 40) |
| 670 |
dAtA[offset+6] = uint8(v >> 48) |
| 671 |
dAtA[offset+7] = uint8(v >> 56) |
| 672 |
return offset + 8 |
| 673 |
} |
| 674 |
func encodeFixed32Maintenance(dAtA []byte, offset int, v uint32) int { |
| 675 |
dAtA[offset] = uint8(v) |
| 676 |
dAtA[offset+1] = uint8(v >> 8) |
| 677 |
dAtA[offset+2] = uint8(v >> 16) |
| 678 |
dAtA[offset+3] = uint8(v >> 24) |
| 679 |
return offset + 4 |
| 680 |
} |
| 681 |
func encodeVarintMaintenance(dAtA []byte, offset int, v uint64) int { |
| 682 |
for v >= 1<<7 { |
| 683 |
dAtA[offset] = uint8(v&0x7f | 0x80) |
| 684 |
v >>= 7 |
| 685 |
offset++ |
| 686 |
} |
| 687 |
dAtA[offset] = uint8(v) |
| 688 |
return offset + 1 |
| 689 |
} |
| 690 |
func NewPopulatedWindow(r randyMaintenance, easy bool) *Window { |
| 691 |
this := &Window{} |
| 692 |
if r.Intn(10) != 0 { |
| 693 |
v1 := r.Intn(5) |
| 694 |
this.MachineIDs = make([]mesos.MachineID, v1) |
| 695 |
for i := 0; i < v1; i++ { |
| 696 |
v2 := mesos.NewPopulatedMachineID(r, easy) |
| 697 |
this.MachineIDs[i] = *v2 |
| 698 |
} |
| 699 |
} |
| 700 |
v3 := mesos.NewPopulatedUnavailability(r, easy) |
| 701 |
this.Unavailability = *v3 |
| 702 |
if !easy && r.Intn(10) != 0 { |
| 703 |
} |
| 704 |
return this |
| 705 |
} |
| 706 |
|
| 707 |
func NewPopulatedSchedule(r randyMaintenance, easy bool) *Schedule { |
| 708 |
this := &Schedule{} |
| 709 |
if r.Intn(10) != 0 { |
| 710 |
v4 := r.Intn(5) |
| 711 |
this.Windows = make([]Window, v4) |
| 712 |
for i := 0; i < v4; i++ { |
| 713 |
v5 := NewPopulatedWindow(r, easy) |
| 714 |
this.Windows[i] = *v5 |
| 715 |
} |
| 716 |
} |
| 717 |
if !easy && r.Intn(10) != 0 { |
| 718 |
} |
| 719 |
return this |
| 720 |
} |
| 721 |
|
| 722 |
func NewPopulatedClusterStatus(r randyMaintenance, easy bool) *ClusterStatus { |
| 723 |
this := &ClusterStatus{} |
| 724 |
if r.Intn(10) != 0 { |
| 725 |
v6 := r.Intn(5) |
| 726 |
this.DrainingMachines = make([]ClusterStatus_DrainingMachine, v6) |
| 727 |
for i := 0; i < v6; i++ { |
| 728 |
v7 := NewPopulatedClusterStatus_DrainingMachine(r, easy) |
| 729 |
this.DrainingMachines[i] = *v7 |
| 730 |
} |
| 731 |
} |
| 732 |
if r.Intn(10) != 0 { |
| 733 |
v8 := r.Intn(5) |
| 734 |
this.DownMachines = make([]mesos.MachineID, v8) |
| 735 |
for i := 0; i < v8; i++ { |
| 736 |
v9 := mesos.NewPopulatedMachineID(r, easy) |
| 737 |
this.DownMachines[i] = *v9 |
| 738 |
} |
| 739 |
} |
| 740 |
if !easy && r.Intn(10) != 0 { |
| 741 |
} |
| 742 |
return this |
| 743 |
} |
| 744 |
|
| 745 |
func NewPopulatedClusterStatus_DrainingMachine(r randyMaintenance, easy bool) *ClusterStatus_DrainingMachine { |
| 746 |
this := &ClusterStatus_DrainingMachine{} |
| 747 |
v10 := mesos.NewPopulatedMachineID(r, easy) |
| 748 |
this.ID = *v10 |
| 749 |
if r.Intn(10) != 0 { |
| 750 |
v11 := r.Intn(5) |
| 751 |
this.Statuses = make([]mesos_allocator.InverseOfferStatus, v11) |
| 752 |
for i := 0; i < v11; i++ { |
| 753 |
v12 := mesos_allocator.NewPopulatedInverseOfferStatus(r, easy) |
| 754 |
this.Statuses[i] = *v12 |
| 755 |
} |
| 756 |
} |
| 757 |
if !easy && r.Intn(10) != 0 { |
| 758 |
} |
| 759 |
return this |
| 760 |
} |
| 761 |
|
| 762 |
type randyMaintenance interface { |
| 763 |
Float32() float32 |
| 764 |
Float64() float64 |
| 765 |
Int63() int64 |
| 766 |
Int31() int32 |
| 767 |
Uint32() uint32 |
| 768 |
Intn(n int) int |
| 769 |
} |
| 770 |
|
| 771 |
func randUTF8RuneMaintenance(r randyMaintenance) rune { |
| 772 |
ru := r.Intn(62) |
| 773 |
if ru < 10 { |
| 774 |
return rune(ru + 48) |
| 775 |
} else if ru < 36 { |
| 776 |
return rune(ru + 55) |
| 777 |
} |
| 778 |
return rune(ru + 61) |
| 779 |
} |
| 780 |
func randStringMaintenance(r randyMaintenance) string { |
| 781 |
v13 := r.Intn(100) |
| 782 |
tmps := make([]rune, v13) |
| 783 |
for i := 0; i < v13; i++ { |
| 784 |
tmps[i] = randUTF8RuneMaintenance(r) |
| 785 |
} |
| 786 |
return string(tmps) |
| 787 |
} |
| 788 |
func randUnrecognizedMaintenance(r randyMaintenance, maxFieldNumber int) (dAtA []byte) { |
| 789 |
l := r.Intn(5) |
| 790 |
for i := 0; i < l; i++ { |
| 791 |
wire := r.Intn(4) |
| 792 |
if wire == 3 { |
| 793 |
wire = 5 |
| 794 |
} |
| 795 |
fieldNumber := maxFieldNumber + r.Intn(100) |
| 796 |
dAtA = randFieldMaintenance(dAtA, r, fieldNumber, wire) |
| 797 |
} |
| 798 |
return dAtA |
| 799 |
} |
| 800 |
func randFieldMaintenance(dAtA []byte, r randyMaintenance, fieldNumber int, wire int) []byte { |
| 801 |
key := uint32(fieldNumber)<<3 | uint32(wire) |
| 802 |
switch wire { |
| 803 |
case 0: |
| 804 |
dAtA = encodeVarintPopulateMaintenance(dAtA, uint64(key)) |
| 805 |
v14 := r.Int63() |
| 806 |
if r.Intn(2) == 0 { |
| 807 |
v14 *= -1 |
| 808 |
} |
| 809 |
dAtA = encodeVarintPopulateMaintenance(dAtA, uint64(v14)) |
| 810 |
case 1: |
| 811 |
dAtA = encodeVarintPopulateMaintenance(dAtA, uint64(key)) |
| 812 |
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) |
| 813 |
case 2: |
| 814 |
dAtA = encodeVarintPopulateMaintenance(dAtA, uint64(key)) |
| 815 |
ll := r.Intn(100) |
| 816 |
dAtA = encodeVarintPopulateMaintenance(dAtA, uint64(ll)) |
| 817 |
for j := 0; j < ll; j++ { |
| 818 |
dAtA = append(dAtA, byte(r.Intn(256))) |
| 819 |
} |
| 820 |
default: |
| 821 |
dAtA = encodeVarintPopulateMaintenance(dAtA, uint64(key)) |
| 822 |
dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) |
| 823 |
} |
| 824 |
return dAtA |
| 825 |
} |
| 826 |
func encodeVarintPopulateMaintenance(dAtA []byte, v uint64) []byte { |
| 827 |
for v >= 1<<7 { |
| 828 |
dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) |
| 829 |
v >>= 7 |
| 830 |
} |
| 831 |
dAtA = append(dAtA, uint8(v)) |
| 832 |
return dAtA |
| 833 |
} |
| 834 |
func (m *Window) ProtoSize() (n int) { |
| 835 |
var l int |
| 836 |
_ = l |
| 837 |
if len(m.MachineIDs) > 0 { |
| 838 |
for _, e := range m.MachineIDs { |
| 839 |
l = e.ProtoSize() |
| 840 |
n += 1 + l + sovMaintenance(uint64(l)) |
| 841 |
} |
| 842 |
} |
| 843 |
l = m.Unavailability.ProtoSize() |
| 844 |
n += 1 + l + sovMaintenance(uint64(l)) |
| 845 |
return n |
| 846 |
} |
| 847 |
|
| 848 |
func (m *Schedule) ProtoSize() (n int) { |
| 849 |
var l int |
| 850 |
_ = l |
| 851 |
if len(m.Windows) > 0 { |
| 852 |
for _, e := range m.Windows { |
| 853 |
l = e.ProtoSize() |
| 854 |
n += 1 + l + sovMaintenance(uint64(l)) |
| 855 |
} |
| 856 |
} |
| 857 |
return n |
| 858 |
} |
| 859 |
|
| 860 |
func (m *ClusterStatus) ProtoSize() (n int) { |
| 861 |
var l int |
| 862 |
_ = l |
| 863 |
if len(m.DrainingMachines) > 0 { |
| 864 |
for _, e := range m.DrainingMachines { |
| 865 |
l = e.ProtoSize() |
| 866 |
n += 1 + l + sovMaintenance(uint64(l)) |
| 867 |
} |
| 868 |
} |
| 869 |
if len(m.DownMachines) > 0 { |
| 870 |
for _, e := range m.DownMachines { |
| 871 |
l = e.ProtoSize() |
| 872 |
n += 1 + l + sovMaintenance(uint64(l)) |
| 873 |
} |
| 874 |
} |
| 875 |
return n |
| 876 |
} |
| 877 |
|
| 878 |
func (m *ClusterStatus_DrainingMachine) ProtoSize() (n int) { |
| 879 |
var l int |
| 880 |
_ = l |
| 881 |
l = m.ID.ProtoSize() |
| 882 |
n += 1 + l + sovMaintenance(uint64(l)) |
| 883 |
if len(m.Statuses) > 0 { |
| 884 |
for _, e := range m.Statuses { |
| 885 |
l = e.ProtoSize() |
| 886 |
n += 1 + l + sovMaintenance(uint64(l)) |
| 887 |
} |
| 888 |
} |
| 889 |
return n |
| 890 |
} |
| 891 |
|
| 892 |
func sovMaintenance(x uint64) (n int) { |
| 893 |
for { |
| 894 |
n++ |
| 895 |
x >>= 7 |
| 896 |
if x == 0 { |
| 897 |
break |
| 898 |
} |
| 899 |
} |
| 900 |
return n |
| 901 |
} |
| 902 |
func sozMaintenance(x uint64) (n int) { |
| 903 |
return sovMaintenance(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 904 |
} |
| 905 |
func (this *Window) String() string { |
| 906 |
if this == nil { |
| 907 |
return "nil" |
| 908 |
} |
| 909 |
s := strings.Join([]string{`&Window{`, |
| 910 |
`MachineIDs:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MachineIDs), "MachineID", "mesos.MachineID", 1), `&`, ``, 1) + `,`, |
| 911 |
`Unavailability:` + strings.Replace(strings.Replace(this.Unavailability.String(), "Unavailability", "mesos.Unavailability", 1), `&`, ``, 1) + `,`, |
| 912 |
`}`, |
| 913 |
}, "") |
| 914 |
return s |
| 915 |
} |
| 916 |
func (this *Schedule) String() string { |
| 917 |
if this == nil { |
| 918 |
return "nil" |
| 919 |
} |
| 920 |
s := strings.Join([]string{`&Schedule{`, |
| 921 |
`Windows:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Windows), "Window", "Window", 1), `&`, ``, 1) + `,`, |
| 922 |
`}`, |
| 923 |
}, "") |
| 924 |
return s |
| 925 |
} |
| 926 |
func (this *ClusterStatus) String() string { |
| 927 |
if this == nil { |
| 928 |
return "nil" |
| 929 |
} |
| 930 |
s := strings.Join([]string{`&ClusterStatus{`, |
| 931 |
`DrainingMachines:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.DrainingMachines), "ClusterStatus_DrainingMachine", "ClusterStatus_DrainingMachine", 1), `&`, ``, 1) + `,`, |
| 932 |
`DownMachines:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.DownMachines), "MachineID", "mesos.MachineID", 1), `&`, ``, 1) + `,`, |
| 933 |
`}`, |
| 934 |
}, "") |
| 935 |
return s |
| 936 |
} |
| 937 |
func (this *ClusterStatus_DrainingMachine) String() string { |
| 938 |
if this == nil { |
| 939 |
return "nil" |
| 940 |
} |
| 941 |
s := strings.Join([]string{`&ClusterStatus_DrainingMachine{`, |
| 942 |
`ID:` + strings.Replace(strings.Replace(this.ID.String(), "MachineID", "mesos.MachineID", 1), `&`, ``, 1) + `,`, |
| 943 |
`Statuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Statuses), "InverseOfferStatus", "mesos_allocator.InverseOfferStatus", 1), `&`, ``, 1) + `,`, |
| 944 |
`}`, |
| 945 |
}, "") |
| 946 |
return s |
| 947 |
} |
| 948 |
func valueToStringMaintenance(v interface{}) string { |
| 949 |
rv := reflect.ValueOf(v) |
| 950 |
if rv.IsNil() { |
| 951 |
return "nil" |
| 952 |
} |
| 953 |
pv := reflect.Indirect(rv).Interface() |
| 954 |
return fmt.Sprintf("*%v", pv) |
| 955 |
} |
| 956 |
func (m *Window) Unmarshal(dAtA []byte) error { |
| 957 |
var hasFields [1]uint64 |
| 958 |
l := len(dAtA) |
| 959 |
iNdEx := 0 |
| 960 |
for iNdEx < l { |
| 961 |
preIndex := iNdEx |
| 962 |
var wire uint64 |
| 963 |
for shift := uint(0); ; shift += 7 { |
| 964 |
if shift >= 64 { |
| 965 |
return ErrIntOverflowMaintenance |
| 966 |
} |
| 967 |
if iNdEx >= l { |
| 968 |
return io.ErrUnexpectedEOF |
| 969 |
} |
| 970 |
b := dAtA[iNdEx] |
| 971 |
iNdEx++ |
| 972 |
wire |= (uint64(b) & 0x7F) << shift |
| 973 |
if b < 0x80 { |
| 974 |
break |
| 975 |
} |
| 976 |
} |
| 977 |
fieldNum := int32(wire >> 3) |
| 978 |
wireType := int(wire & 0x7) |
| 979 |
if wireType == 4 { |
| 980 |
return fmt.Errorf("proto: Window: wiretype end group for non-group") |
| 981 |
} |
| 982 |
if fieldNum <= 0 { |
| 983 |
return fmt.Errorf("proto: Window: illegal tag %d (wire type %d)", fieldNum, wire) |
| 984 |
} |
| 985 |
switch fieldNum { |
| 986 |
case 1: |
| 987 |
if wireType != 2 { |
| 988 |
return fmt.Errorf("proto: wrong wireType = %d for field MachineIDs", wireType) |
| 989 |
} |
| 990 |
var msglen int |
| 991 |
for shift := uint(0); ; shift += 7 { |
| 992 |
if shift >= 64 { |
| 993 |
return ErrIntOverflowMaintenance |
| 994 |
} |
| 995 |
if iNdEx >= l { |
| 996 |
return io.ErrUnexpectedEOF |
| 997 |
} |
| 998 |
b := dAtA[iNdEx] |
| 999 |
iNdEx++ |
| 1000 |
msglen |= (int(b) & 0x7F) << shift |
| 1001 |
if b < 0x80 { |
| 1002 |
break |
| 1003 |
} |
| 1004 |
} |
| 1005 |
if msglen < 0 { |
| 1006 |
return ErrInvalidLengthMaintenance |
| 1007 |
} |
| 1008 |
postIndex := iNdEx + msglen |
| 1009 |
if postIndex > l { |
| 1010 |
return io.ErrUnexpectedEOF |
| 1011 |
} |
| 1012 |
m.MachineIDs = append(m.MachineIDs, mesos.MachineID{}) |
| 1013 |
if err := m.MachineIDs[len(m.MachineIDs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1014 |
return err |
| 1015 |
} |
| 1016 |
iNdEx = postIndex |
| 1017 |
case 2: |
| 1018 |
if wireType != 2 { |
| 1019 |
return fmt.Errorf("proto: wrong wireType = %d for field Unavailability", wireType) |
| 1020 |
} |
| 1021 |
var msglen int |
| 1022 |
for shift := uint(0); ; shift += 7 { |
| 1023 |
if shift >= 64 { |
| 1024 |
return ErrIntOverflowMaintenance |
| 1025 |
} |
| 1026 |
if iNdEx >= l { |
| 1027 |
return io.ErrUnexpectedEOF |
| 1028 |
} |
| 1029 |
b := dAtA[iNdEx] |
| 1030 |
iNdEx++ |
| 1031 |
msglen |= (int(b) & 0x7F) << shift |
| 1032 |
if b < 0x80 { |
| 1033 |
break |
| 1034 |
} |
| 1035 |
} |
| 1036 |
if msglen < 0 { |
| 1037 |
return ErrInvalidLengthMaintenance |
| 1038 |
} |
| 1039 |
postIndex := iNdEx + msglen |
| 1040 |
if postIndex > l { |
| 1041 |
return io.ErrUnexpectedEOF |
| 1042 |
} |
| 1043 |
if err := m.Unavailability.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1044 |
return err |
| 1045 |
} |
| 1046 |
iNdEx = postIndex |
| 1047 |
hasFields[0] |= uint64(0x00000001) |
| 1048 |
default: |
| 1049 |
iNdEx = preIndex |
| 1050 |
skippy, err := skipMaintenance(dAtA[iNdEx:]) |
| 1051 |
if err != nil { |
| 1052 |
return err |
| 1053 |
} |
| 1054 |
if skippy < 0 { |
| 1055 |
return ErrInvalidLengthMaintenance |
| 1056 |
} |
| 1057 |
if (iNdEx + skippy) > l { |
| 1058 |
return io.ErrUnexpectedEOF |
| 1059 |
} |
| 1060 |
iNdEx += skippy |
| 1061 |
} |
| 1062 |
} |
| 1063 |
if hasFields[0]&uint64(0x00000001) == 0 { |
| 1064 |
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("unavailability") |
| 1065 |
} |
| 1066 |
|
| 1067 |
if iNdEx > l { |
| 1068 |
return io.ErrUnexpectedEOF |
| 1069 |
} |
| 1070 |
return nil |
| 1071 |
} |
| 1072 |
func (m *Schedule) Unmarshal(dAtA []byte) error { |
| 1073 |
l := len(dAtA) |
| 1074 |
iNdEx := 0 |
| 1075 |
for iNdEx < l { |
| 1076 |
preIndex := iNdEx |
| 1077 |
var wire uint64 |
| 1078 |
for shift := uint(0); ; shift += 7 { |
| 1079 |
if shift >= 64 { |
| 1080 |
return ErrIntOverflowMaintenance |
| 1081 |
} |
| 1082 |
if iNdEx >= l { |
| 1083 |
return io.ErrUnexpectedEOF |
| 1084 |
} |
| 1085 |
b := dAtA[iNdEx] |
| 1086 |
iNdEx++ |
| 1087 |
wire |= (uint64(b) & 0x7F) << shift |
| 1088 |
if b < 0x80 { |
| 1089 |
break |
| 1090 |
} |
| 1091 |
} |
| 1092 |
fieldNum := int32(wire >> 3) |
| 1093 |
wireType := int(wire & 0x7) |
| 1094 |
if wireType == 4 { |
| 1095 |
return fmt.Errorf("proto: Schedule: wiretype end group for non-group") |
| 1096 |
} |
| 1097 |
if fieldNum <= 0 { |
| 1098 |
return fmt.Errorf("proto: Schedule: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1099 |
} |
| 1100 |
switch fieldNum { |
| 1101 |
case 1: |
| 1102 |
if wireType != 2 { |
| 1103 |
return fmt.Errorf("proto: wrong wireType = %d for field Windows", wireType) |
| 1104 |
} |
| 1105 |
var msglen int |
| 1106 |
for shift := uint(0); ; shift += 7 { |
| 1107 |
if shift >= 64 { |
| 1108 |
return ErrIntOverflowMaintenance |
| 1109 |
} |
| 1110 |
if iNdEx >= l { |
| 1111 |
return io.ErrUnexpectedEOF |
| 1112 |
} |
| 1113 |
b := dAtA[iNdEx] |
| 1114 |
iNdEx++ |
| 1115 |
msglen |= (int(b) & 0x7F) << shift |
| 1116 |
if b < 0x80 { |
| 1117 |
break |
| 1118 |
} |
| 1119 |
} |
| 1120 |
if msglen < 0 { |
| 1121 |
return ErrInvalidLengthMaintenance |
| 1122 |
} |
| 1123 |
postIndex := iNdEx + msglen |
| 1124 |
if postIndex > l { |
| 1125 |
return io.ErrUnexpectedEOF |
| 1126 |
} |
| 1127 |
m.Windows = append(m.Windows, Window{}) |
| 1128 |
if err := m.Windows[len(m.Windows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1129 |
return err |
| 1130 |
} |
| 1131 |
iNdEx = postIndex |
| 1132 |
default: |
| 1133 |
iNdEx = preIndex |
| 1134 |
skippy, err := skipMaintenance(dAtA[iNdEx:]) |
| 1135 |
if err != nil { |
| 1136 |
return err |
| 1137 |
} |
| 1138 |
if skippy < 0 { |
| 1139 |
return ErrInvalidLengthMaintenance |
| 1140 |
} |
| 1141 |
if (iNdEx + skippy) > l { |
| 1142 |
return io.ErrUnexpectedEOF |
| 1143 |
} |
| 1144 |
iNdEx += skippy |
| 1145 |
} |
| 1146 |
} |
| 1147 |
|
| 1148 |
if iNdEx > l { |
| 1149 |
return io.ErrUnexpectedEOF |
| 1150 |
} |
| 1151 |
return nil |
| 1152 |
} |
| 1153 |
func (m *ClusterStatus) Unmarshal(dAtA []byte) error { |
| 1154 |
l := len(dAtA) |
| 1155 |
iNdEx := 0 |
| 1156 |
for iNdEx < l { |
| 1157 |
preIndex := iNdEx |
| 1158 |
var wire uint64 |
| 1159 |
for shift := uint(0); ; shift += 7 { |
| 1160 |
if shift >= 64 { |
| 1161 |
return ErrIntOverflowMaintenance |
| 1162 |
} |
| 1163 |
if iNdEx >= l { |
| 1164 |
return io.ErrUnexpectedEOF |
| 1165 |
} |
| 1166 |
b := dAtA[iNdEx] |
| 1167 |
iNdEx++ |
| 1168 |
wire |= (uint64(b) & 0x7F) << shift |
| 1169 |
if b < 0x80 { |
| 1170 |
break |
| 1171 |
} |
| 1172 |
} |
| 1173 |
fieldNum := int32(wire >> 3) |
| 1174 |
wireType := int(wire & 0x7) |
| 1175 |
if wireType == 4 { |
| 1176 |
return fmt.Errorf("proto: ClusterStatus: wiretype end group for non-group") |
| 1177 |
} |
| 1178 |
if fieldNum <= 0 { |
| 1179 |
return fmt.Errorf("proto: ClusterStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1180 |
} |
| 1181 |
switch fieldNum { |
| 1182 |
case 1: |
| 1183 |
if wireType != 2 { |
| 1184 |
return fmt.Errorf("proto: wrong wireType = %d for field DrainingMachines", wireType) |
| 1185 |
} |
| 1186 |
var msglen int |
| 1187 |
for shift := uint(0); ; shift += 7 { |
| 1188 |
if shift >= 64 { |
| 1189 |
return ErrIntOverflowMaintenance |
| 1190 |
} |
| 1191 |
if iNdEx >= l { |
| 1192 |
return io.ErrUnexpectedEOF |
| 1193 |
} |
| 1194 |
b := dAtA[iNdEx] |
| 1195 |
iNdEx++ |
| 1196 |
msglen |= (int(b) & 0x7F) << shift |
| 1197 |
if b < 0x80 { |
| 1198 |
break |
| 1199 |
} |
| 1200 |
} |
| 1201 |
if msglen < 0 { |
| 1202 |
return ErrInvalidLengthMaintenance |
| 1203 |
} |
| 1204 |
postIndex := iNdEx + msglen |
| 1205 |
if postIndex > l { |
| 1206 |
return io.ErrUnexpectedEOF |
| 1207 |
} |
| 1208 |
m.DrainingMachines = append(m.DrainingMachines, ClusterStatus_DrainingMachine{}) |
| 1209 |
if err := m.DrainingMachines[len(m.DrainingMachines)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1210 |
return err |
| 1211 |
} |
| 1212 |
iNdEx = postIndex |
| 1213 |
case 2: |
| 1214 |
if wireType != 2 { |
| 1215 |
return fmt.Errorf("proto: wrong wireType = %d for field DownMachines", wireType) |
| 1216 |
} |
| 1217 |
var msglen int |
| 1218 |
for shift := uint(0); ; shift += 7 { |
| 1219 |
if shift >= 64 { |
| 1220 |
return ErrIntOverflowMaintenance |
| 1221 |
} |
| 1222 |
if iNdEx >= l { |
| 1223 |
return io.ErrUnexpectedEOF |
| 1224 |
} |
| 1225 |
b := dAtA[iNdEx] |
| 1226 |
iNdEx++ |
| 1227 |
msglen |= (int(b) & 0x7F) << shift |
| 1228 |
if b < 0x80 { |
| 1229 |
break |
| 1230 |
} |
| 1231 |
} |
| 1232 |
if msglen < 0 { |
| 1233 |
return ErrInvalidLengthMaintenance |
| 1234 |
} |
| 1235 |
postIndex := iNdEx + msglen |
| 1236 |
if postIndex > l { |
| 1237 |
return io.ErrUnexpectedEOF |
| 1238 |
} |
| 1239 |
m.DownMachines = append(m.DownMachines, mesos.MachineID{}) |
| 1240 |
if err := m.DownMachines[len(m.DownMachines)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1241 |
return err |
| 1242 |
} |
| 1243 |
iNdEx = postIndex |
| 1244 |
default: |
| 1245 |
iNdEx = preIndex |
| 1246 |
skippy, err := skipMaintenance(dAtA[iNdEx:]) |
| 1247 |
if err != nil { |
| 1248 |
return err |
| 1249 |
} |
| 1250 |
if skippy < 0 { |
| 1251 |
return ErrInvalidLengthMaintenance |
| 1252 |
} |
| 1253 |
if (iNdEx + skippy) > l { |
| 1254 |
return io.ErrUnexpectedEOF |
| 1255 |
} |
| 1256 |
iNdEx += skippy |
| 1257 |
} |
| 1258 |
} |
| 1259 |
|
| 1260 |
if iNdEx > l { |
| 1261 |
return io.ErrUnexpectedEOF |
| 1262 |
} |
| 1263 |
return nil |
| 1264 |
} |
| 1265 |
func (m *ClusterStatus_DrainingMachine) Unmarshal(dAtA []byte) error { |
| 1266 |
var hasFields [1]uint64 |
| 1267 |
l := len(dAtA) |
| 1268 |
iNdEx := 0 |
| 1269 |
for iNdEx < l { |
| 1270 |
preIndex := iNdEx |
| 1271 |
var wire uint64 |
| 1272 |
for shift := uint(0); ; shift += 7 { |
| 1273 |
if shift >= 64 { |
| 1274 |
return ErrIntOverflowMaintenance |
| 1275 |
} |
| 1276 |
if iNdEx >= l { |
| 1277 |
return io.ErrUnexpectedEOF |
| 1278 |
} |
| 1279 |
b := dAtA[iNdEx] |
| 1280 |
iNdEx++ |
| 1281 |
wire |= (uint64(b) & 0x7F) << shift |
| 1282 |
if b < 0x80 { |
| 1283 |
break |
| 1284 |
} |
| 1285 |
} |
| 1286 |
fieldNum := int32(wire >> 3) |
| 1287 |
wireType := int(wire & 0x7) |
| 1288 |
if wireType == 4 { |
| 1289 |
return fmt.Errorf("proto: DrainingMachine: wiretype end group for non-group") |
| 1290 |
} |
| 1291 |
if fieldNum <= 0 { |
| 1292 |
return fmt.Errorf("proto: DrainingMachine: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1293 |
} |
| 1294 |
switch fieldNum { |
| 1295 |
case 1: |
| 1296 |
if wireType != 2 { |
| 1297 |
return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) |
| 1298 |
} |
| 1299 |
var msglen int |
| 1300 |
for shift := uint(0); ; shift += 7 { |
| 1301 |
if shift >= 64 { |
| 1302 |
return ErrIntOverflowMaintenance |
| 1303 |
} |
| 1304 |
if iNdEx >= l { |
| 1305 |
return io.ErrUnexpectedEOF |
| 1306 |
} |
| 1307 |
b := dAtA[iNdEx] |
| 1308 |
iNdEx++ |
| 1309 |
msglen |= (int(b) & 0x7F) << shift |
| 1310 |
if b < 0x80 { |
| 1311 |
break |
| 1312 |
} |
| 1313 |
} |
| 1314 |
if msglen < 0 { |
| 1315 |
return ErrInvalidLengthMaintenance |
| 1316 |
} |
| 1317 |
postIndex := iNdEx + msglen |
| 1318 |
if postIndex > l { |
| 1319 |
return io.ErrUnexpectedEOF |
| 1320 |
} |
| 1321 |
if err := m.ID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1322 |
return err |
| 1323 |
} |
| 1324 |
iNdEx = postIndex |
| 1325 |
hasFields[0] |= uint64(0x00000001) |
| 1326 |
case 2: |
| 1327 |
if wireType != 2 { |
| 1328 |
return fmt.Errorf("proto: wrong wireType = %d for field Statuses", wireType) |
| 1329 |
} |
| 1330 |
var msglen int |
| 1331 |
for shift := uint(0); ; shift += 7 { |
| 1332 |
if shift >= 64 { |
| 1333 |
return ErrIntOverflowMaintenance |
| 1334 |
} |
| 1335 |
if iNdEx >= l { |
| 1336 |
return io.ErrUnexpectedEOF |
| 1337 |
} |
| 1338 |
b := dAtA[iNdEx] |
| 1339 |
iNdEx++ |
| 1340 |
msglen |= (int(b) & 0x7F) << shift |
| 1341 |
if b < 0x80 { |
| 1342 |
break |
| 1343 |
} |
| 1344 |
} |
| 1345 |
if msglen < 0 { |
| 1346 |
return ErrInvalidLengthMaintenance |
| 1347 |
} |
| 1348 |
postIndex := iNdEx + msglen |
| 1349 |
if postIndex > l { |
| 1350 |
return io.ErrUnexpectedEOF |
| 1351 |
} |
| 1352 |
m.Statuses = append(m.Statuses, mesos_allocator.InverseOfferStatus{}) |
| 1353 |
if err := m.Statuses[len(m.Statuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1354 |
return err |
| 1355 |
} |
| 1356 |
iNdEx = postIndex |
| 1357 |
default: |
| 1358 |
iNdEx = preIndex |
| 1359 |
skippy, err := skipMaintenance(dAtA[iNdEx:]) |
| 1360 |
if err != nil { |
| 1361 |
return err |
| 1362 |
} |
| 1363 |
if skippy < 0 { |
| 1364 |
return ErrInvalidLengthMaintenance |
| 1365 |
} |
| 1366 |
if (iNdEx + skippy) > l { |
| 1367 |
return io.ErrUnexpectedEOF |
| 1368 |
} |
| 1369 |
iNdEx += skippy |
| 1370 |
} |
| 1371 |
} |
| 1372 |
if hasFields[0]&uint64(0x00000001) == 0 { |
| 1373 |
return github_com_gogo_protobuf_proto.NewRequiredNotSetError("id") |
| 1374 |
} |
| 1375 |
|
| 1376 |
if iNdEx > l { |
| 1377 |
return io.ErrUnexpectedEOF |
| 1378 |
} |
| 1379 |
return nil |
| 1380 |
} |
| 1381 |
func skipMaintenance(dAtA []byte) (n int, err error) { |
| 1382 |
l := len(dAtA) |
| 1383 |
iNdEx := 0 |
| 1384 |
for iNdEx < l { |
| 1385 |
var wire uint64 |
| 1386 |
for shift := uint(0); ; shift += 7 { |
| 1387 |
if shift >= 64 { |
| 1388 |
return 0, ErrIntOverflowMaintenance |
| 1389 |
} |
| 1390 |
if iNdEx >= l { |
| 1391 |
return 0, io.ErrUnexpectedEOF |
| 1392 |
} |
| 1393 |
b := dAtA[iNdEx] |
| 1394 |
iNdEx++ |
| 1395 |
wire |= (uint64(b) & 0x7F) << shift |
| 1396 |
if b < 0x80 { |
| 1397 |
break |
| 1398 |
} |
| 1399 |
} |
| 1400 |
wireType := int(wire & 0x7) |
| 1401 |
switch wireType { |
| 1402 |
case 0: |
| 1403 |
for shift := uint(0); ; shift += 7 { |
| 1404 |
if shift >= 64 { |
| 1405 |
return 0, ErrIntOverflowMaintenance |
| 1406 |
} |
| 1407 |
if iNdEx >= l { |
| 1408 |
return 0, io.ErrUnexpectedEOF |
| 1409 |
} |
| 1410 |
iNdEx++ |
| 1411 |
if dAtA[iNdEx-1] < 0x80 { |
| 1412 |
break |
| 1413 |
} |
| 1414 |
} |
| 1415 |
return iNdEx, nil |
| 1416 |
case 1: |
| 1417 |
iNdEx += 8 |
| 1418 |
return iNdEx, nil |
| 1419 |
case 2: |
| 1420 |
var length int |
| 1421 |
for shift := uint(0); ; shift += 7 { |
| 1422 |
if shift >= 64 { |
| 1423 |
return 0, ErrIntOverflowMaintenance |
| 1424 |
} |
| 1425 |
if iNdEx >= l { |
| 1426 |
return 0, io.ErrUnexpectedEOF |
| 1427 |
} |
| 1428 |
b := dAtA[iNdEx] |
| 1429 |
iNdEx++ |
| 1430 |
length |= (int(b) & 0x7F) << shift |
| 1431 |
if b < 0x80 { |
| 1432 |
break |
| 1433 |
} |
| 1434 |
} |
| 1435 |
iNdEx += length |
| 1436 |
if length < 0 { |
| 1437 |
return 0, ErrInvalidLengthMaintenance |
| 1438 |
} |
| 1439 |
return iNdEx, nil |
| 1440 |
case 3: |
| 1441 |
for { |
| 1442 |
var innerWire uint64 |
| 1443 |
var start int = iNdEx |
| 1444 |
for shift := uint(0); ; shift += 7 { |
| 1445 |
if shift >= 64 { |
| 1446 |
return 0, ErrIntOverflowMaintenance |
| 1447 |
} |
| 1448 |
if iNdEx >= l { |
| 1449 |
return 0, io.ErrUnexpectedEOF |
| 1450 |
} |
| 1451 |
b := dAtA[iNdEx] |
| 1452 |
iNdEx++ |
| 1453 |
innerWire |= (uint64(b) & 0x7F) << shift |
| 1454 |
if b < 0x80 { |
| 1455 |
break |
| 1456 |
} |
| 1457 |
} |
| 1458 |
innerWireType := int(innerWire & 0x7) |
| 1459 |
if innerWireType == 4 { |
| 1460 |
break |
| 1461 |
} |
| 1462 |
next, err := skipMaintenance(dAtA[start:]) |
| 1463 |
if err != nil { |
| 1464 |
return 0, err |
| 1465 |
} |
| 1466 |
iNdEx = start + next |
| 1467 |
} |
| 1468 |
return iNdEx, nil |
| 1469 |
case 4: |
| 1470 |
return iNdEx, nil |
| 1471 |
case 5: |
| 1472 |
iNdEx += 4 |
| 1473 |
return iNdEx, nil |
| 1474 |
default: |
| 1475 |
return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 1476 |
} |
| 1477 |
} |
| 1478 |
panic("unreachable") |
| 1479 |
} |
| 1480 |
|
| 1481 |
var ( |
| 1482 |
ErrInvalidLengthMaintenance = fmt.Errorf("proto: negative length found during unmarshaling") |
| 1483 |
ErrIntOverflowMaintenance = fmt.Errorf("proto: integer overflow") |
| 1484 |
) |
| 1485 |
|
| 1486 |
func init() { proto.RegisterFile("maintenance/maintenance.proto", fileDescriptorMaintenance) } |
| 1487 |
|
| 1488 |
var fileDescriptorMaintenance = []byte{ |
| 1489 |
|
| 1490 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x31, 0x6f, 0x13, 0x31, |
| 1491 |
0x14, 0xc7, 0xcf, 0x07, 0x82, 0xca, 0xa1, 0xd0, 0x5a, 0x42, 0x0a, 0x91, 0x70, 0xab, 0xb0, 0x74, |
| 1492 |
0xa0, 0x77, 0xa5, 0x1b, 0x42, 0x62, 0x48, 0x93, 0xe1, 0x06, 0x84, 0x94, 0x0a, 0x21, 0xb1, 0x54, |
| 1493 |
0xce, 0xd9, 0xb9, 0x58, 0xba, 0xd8, 0xd5, 0xd9, 0x97, 0x88, 0x8d, 0x89, 0x99, 0x81, 0x0f, 0xc0, |
| 1494 |
0xc8, 0x47, 0x40, 0x4c, 0x8c, 0x1d, 0x3b, 0x32, 0x55, 0x9c, 0xbb, 0x30, 0x76, 0x64, 0x44, 0xb5, |
| 1495 |
0x7d, 0xc9, 0xa5, 0x05, 0xa9, 0x4b, 0xf4, 0xfc, 0xde, 0xfb, 0xfd, 0xdf, 0xff, 0xbd, 0x1c, 0x7c, |
| 1496 |
0x3c, 0x25, 0x5c, 0x68, 0x26, 0x88, 0x48, 0x59, 0xdc, 0x88, 0xa3, 0xe3, 0x42, 0x6a, 0x89, 0x36, |
| 1497 |
0xa7, 0x4c, 0x49, 0x15, 0x35, 0x0a, 0x9d, 0xbd, 0x8c, 0xeb, 0x49, 0x39, 0x8a, 0x52, 0x39, 0x8d, |
| 1498 |
0x6d, 0xd5, 0xfd, 0xee, 0x66, 0x32, 0x26, 0xc7, 0x3c, 0x9e, 0x3d, 0x8b, 0x73, 0x3e, 0x72, 0x39, |
| 1499 |
0x27, 0xd2, 0x79, 0x79, 0x23, 0x82, 0xe4, 0xb9, 0x4c, 0x89, 0x96, 0xc5, 0x32, 0xf2, 0xfc, 0x6e, |
| 1500 |
0x83, 0xcf, 0x64, 0x26, 0x63, 0x9b, 0x1e, 0x95, 0x63, 0xfb, 0xb2, 0x0f, 0x1b, 0xb9, 0xf6, 0xee, |
| 1501 |
0x67, 0x00, 0xef, 0xbc, 0xe5, 0x82, 0xca, 0x39, 0x1a, 0xc0, 0xd6, 0x94, 0xa4, 0x13, 0x2e, 0xd8, |
| 1502 |
0x11, 0xa7, 0xaa, 0x0d, 0xb6, 0x6f, 0xed, 0xb4, 0xf6, 0x37, 0x22, 0x67, 0xee, 0x95, 0xab, 0x24, |
| 1503 |
0xfd, 0x1e, 0x3a, 0x39, 0xdb, 0x0a, 0xcc, 0xd9, 0x16, 0x5c, 0xa4, 0xd4, 0x10, 0x7a, 0x30, 0xa1, |
| 1504 |
0x0a, 0x1d, 0xc0, 0xfb, 0xa5, 0x20, 0x33, 0xc2, 0x73, 0x32, 0xe2, 0x39, 0xd7, 0xef, 0xdb, 0xe1, |
| 1505 |
0x76, 0xb8, 0xd3, 0xda, 0x7f, 0xe8, 0x95, 0xde, 0xac, 0x14, 0x7b, 0xb7, 0x2f, 0xe5, 0x86, 0x57, |
| 1506 |
0x90, 0xee, 0x00, 0xae, 0x1d, 0xa6, 0x13, 0x46, 0xcb, 0x9c, 0xa1, 0xe7, 0xf0, 0xee, 0xdc, 0x3a, |
| 1507 |
0xac, 0x3d, 0x3d, 0x8a, 0xae, 0x1d, 0x3a, 0x72, 0x3b, 0x78, 0xb5, 0xba, 0xbf, 0xfb, 0x3d, 0x84, |
| 1508 |
0xeb, 0x07, 0x79, 0xa9, 0x34, 0x2b, 0x0e, 0x35, 0xd1, 0xa5, 0x42, 0x29, 0xdc, 0xa4, 0x05, 0xe1, |
| 1509 |
0x82, 0x8b, 0xec, 0xc8, 0x9b, 0xae, 0x65, 0xf7, 0xfe, 0x21, 0xbb, 0x02, 0x47, 0x7d, 0x4f, 0xfa, |
| 1510 |
0xcd, 0xfd, 0xb4, 0x0d, 0xba, 0x9a, 0x56, 0xe8, 0x05, 0x5c, 0xa7, 0x72, 0x2e, 0x96, 0x03, 0xc2, |
| 1511 |
0xff, 0xdc, 0xd2, 0x09, 0xdc, 0xbb, 0x6c, 0xae, 0xe1, 0xce, 0x47, 0x00, 0x1f, 0x5c, 0x19, 0x84, |
| 1512 |
0x9e, 0xc2, 0x90, 0xd3, 0x36, 0xb0, 0x77, 0xbc, 0xae, 0x02, 0xfd, 0x3f, 0x12, 0x26, 0xfd, 0x61, |
| 1513 |
0xc8, 0x29, 0x1a, 0xc0, 0x35, 0x65, 0x0d, 0x2f, 0x26, 0x3f, 0xf1, 0xcc, 0xf2, 0x63, 0x49, 0xc4, |
| 1514 |
0x8c, 0x15, 0x8a, 0xbd, 0x1e, 0x8f, 0xeb, 0xed, 0xbc, 0x99, 0x05, 0xda, 0x4b, 0x4e, 0x2b, 0x1c, |
| 1515 |
0xfc, 0xac, 0x70, 0xf0, 0xab, 0xc2, 0xe0, 0xa2, 0xc2, 0xe0, 0x4f, 0x85, 0xc1, 0x07, 0x83, 0xc1, |
| 1516 |
0x57, 0x83, 0xc1, 0x37, 0x83, 0xc1, 0x0f, 0x83, 0xc1, 0x89, 0xc1, 0xe0, 0xd4, 0x60, 0xf0, 0xdb, |
| 1517 |
0xe0, 0xe0, 0xc2, 0x60, 0xf0, 0xe9, 0x1c, 0x07, 0x5f, 0xce, 0x31, 0x78, 0xd7, 0x6a, 0x9c, 0xf1, |
| 1518 |
0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbf, 0xff, 0xb9, 0xd9, 0x39, 0x03, 0x00, 0x00, |
| 1519 |
} |