github.com/pdmccormick/importable-docker-buildx@v0.0.0-20240426161518-e47091289030/controller/pb/controller.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: controller.proto 3 4 package pb 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/gogo/protobuf/proto" 10 control "github.com/moby/buildkit/api/services/control" 11 pb "github.com/moby/buildkit/sourcepolicy/pb" 12 grpc "google.golang.org/grpc" 13 codes "google.golang.org/grpc/codes" 14 status "google.golang.org/grpc/status" 15 math "math" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var _ = proto.Marshal 20 var _ = fmt.Errorf 21 var _ = math.Inf 22 23 // This is a compile-time assertion to ensure that this generated file 24 // is compatible with the proto package it is being compiled against. 25 // A compilation error at this line likely means your copy of the 26 // proto package needs to be updated. 27 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 28 29 type ListProcessesRequest struct { 30 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 31 XXX_NoUnkeyedLiteral struct{} `json:"-"` 32 XXX_unrecognized []byte `json:"-"` 33 XXX_sizecache int32 `json:"-"` 34 } 35 36 func (m *ListProcessesRequest) Reset() { *m = ListProcessesRequest{} } 37 func (m *ListProcessesRequest) String() string { return proto.CompactTextString(m) } 38 func (*ListProcessesRequest) ProtoMessage() {} 39 func (*ListProcessesRequest) Descriptor() ([]byte, []int) { 40 return fileDescriptor_ed7f10298fa1d90f, []int{0} 41 } 42 func (m *ListProcessesRequest) XXX_Unmarshal(b []byte) error { 43 return xxx_messageInfo_ListProcessesRequest.Unmarshal(m, b) 44 } 45 func (m *ListProcessesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 46 return xxx_messageInfo_ListProcessesRequest.Marshal(b, m, deterministic) 47 } 48 func (m *ListProcessesRequest) XXX_Merge(src proto.Message) { 49 xxx_messageInfo_ListProcessesRequest.Merge(m, src) 50 } 51 func (m *ListProcessesRequest) XXX_Size() int { 52 return xxx_messageInfo_ListProcessesRequest.Size(m) 53 } 54 func (m *ListProcessesRequest) XXX_DiscardUnknown() { 55 xxx_messageInfo_ListProcessesRequest.DiscardUnknown(m) 56 } 57 58 var xxx_messageInfo_ListProcessesRequest proto.InternalMessageInfo 59 60 func (m *ListProcessesRequest) GetRef() string { 61 if m != nil { 62 return m.Ref 63 } 64 return "" 65 } 66 67 type ListProcessesResponse struct { 68 Infos []*ProcessInfo `protobuf:"bytes,1,rep,name=Infos,proto3" json:"Infos,omitempty"` 69 XXX_NoUnkeyedLiteral struct{} `json:"-"` 70 XXX_unrecognized []byte `json:"-"` 71 XXX_sizecache int32 `json:"-"` 72 } 73 74 func (m *ListProcessesResponse) Reset() { *m = ListProcessesResponse{} } 75 func (m *ListProcessesResponse) String() string { return proto.CompactTextString(m) } 76 func (*ListProcessesResponse) ProtoMessage() {} 77 func (*ListProcessesResponse) Descriptor() ([]byte, []int) { 78 return fileDescriptor_ed7f10298fa1d90f, []int{1} 79 } 80 func (m *ListProcessesResponse) XXX_Unmarshal(b []byte) error { 81 return xxx_messageInfo_ListProcessesResponse.Unmarshal(m, b) 82 } 83 func (m *ListProcessesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 84 return xxx_messageInfo_ListProcessesResponse.Marshal(b, m, deterministic) 85 } 86 func (m *ListProcessesResponse) XXX_Merge(src proto.Message) { 87 xxx_messageInfo_ListProcessesResponse.Merge(m, src) 88 } 89 func (m *ListProcessesResponse) XXX_Size() int { 90 return xxx_messageInfo_ListProcessesResponse.Size(m) 91 } 92 func (m *ListProcessesResponse) XXX_DiscardUnknown() { 93 xxx_messageInfo_ListProcessesResponse.DiscardUnknown(m) 94 } 95 96 var xxx_messageInfo_ListProcessesResponse proto.InternalMessageInfo 97 98 func (m *ListProcessesResponse) GetInfos() []*ProcessInfo { 99 if m != nil { 100 return m.Infos 101 } 102 return nil 103 } 104 105 type ProcessInfo struct { 106 ProcessID string `protobuf:"bytes,1,opt,name=ProcessID,proto3" json:"ProcessID,omitempty"` 107 InvokeConfig *InvokeConfig `protobuf:"bytes,2,opt,name=InvokeConfig,proto3" json:"InvokeConfig,omitempty"` 108 XXX_NoUnkeyedLiteral struct{} `json:"-"` 109 XXX_unrecognized []byte `json:"-"` 110 XXX_sizecache int32 `json:"-"` 111 } 112 113 func (m *ProcessInfo) Reset() { *m = ProcessInfo{} } 114 func (m *ProcessInfo) String() string { return proto.CompactTextString(m) } 115 func (*ProcessInfo) ProtoMessage() {} 116 func (*ProcessInfo) Descriptor() ([]byte, []int) { 117 return fileDescriptor_ed7f10298fa1d90f, []int{2} 118 } 119 func (m *ProcessInfo) XXX_Unmarshal(b []byte) error { 120 return xxx_messageInfo_ProcessInfo.Unmarshal(m, b) 121 } 122 func (m *ProcessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 123 return xxx_messageInfo_ProcessInfo.Marshal(b, m, deterministic) 124 } 125 func (m *ProcessInfo) XXX_Merge(src proto.Message) { 126 xxx_messageInfo_ProcessInfo.Merge(m, src) 127 } 128 func (m *ProcessInfo) XXX_Size() int { 129 return xxx_messageInfo_ProcessInfo.Size(m) 130 } 131 func (m *ProcessInfo) XXX_DiscardUnknown() { 132 xxx_messageInfo_ProcessInfo.DiscardUnknown(m) 133 } 134 135 var xxx_messageInfo_ProcessInfo proto.InternalMessageInfo 136 137 func (m *ProcessInfo) GetProcessID() string { 138 if m != nil { 139 return m.ProcessID 140 } 141 return "" 142 } 143 144 func (m *ProcessInfo) GetInvokeConfig() *InvokeConfig { 145 if m != nil { 146 return m.InvokeConfig 147 } 148 return nil 149 } 150 151 type DisconnectProcessRequest struct { 152 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 153 ProcessID string `protobuf:"bytes,2,opt,name=ProcessID,proto3" json:"ProcessID,omitempty"` 154 XXX_NoUnkeyedLiteral struct{} `json:"-"` 155 XXX_unrecognized []byte `json:"-"` 156 XXX_sizecache int32 `json:"-"` 157 } 158 159 func (m *DisconnectProcessRequest) Reset() { *m = DisconnectProcessRequest{} } 160 func (m *DisconnectProcessRequest) String() string { return proto.CompactTextString(m) } 161 func (*DisconnectProcessRequest) ProtoMessage() {} 162 func (*DisconnectProcessRequest) Descriptor() ([]byte, []int) { 163 return fileDescriptor_ed7f10298fa1d90f, []int{3} 164 } 165 func (m *DisconnectProcessRequest) XXX_Unmarshal(b []byte) error { 166 return xxx_messageInfo_DisconnectProcessRequest.Unmarshal(m, b) 167 } 168 func (m *DisconnectProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 169 return xxx_messageInfo_DisconnectProcessRequest.Marshal(b, m, deterministic) 170 } 171 func (m *DisconnectProcessRequest) XXX_Merge(src proto.Message) { 172 xxx_messageInfo_DisconnectProcessRequest.Merge(m, src) 173 } 174 func (m *DisconnectProcessRequest) XXX_Size() int { 175 return xxx_messageInfo_DisconnectProcessRequest.Size(m) 176 } 177 func (m *DisconnectProcessRequest) XXX_DiscardUnknown() { 178 xxx_messageInfo_DisconnectProcessRequest.DiscardUnknown(m) 179 } 180 181 var xxx_messageInfo_DisconnectProcessRequest proto.InternalMessageInfo 182 183 func (m *DisconnectProcessRequest) GetRef() string { 184 if m != nil { 185 return m.Ref 186 } 187 return "" 188 } 189 190 func (m *DisconnectProcessRequest) GetProcessID() string { 191 if m != nil { 192 return m.ProcessID 193 } 194 return "" 195 } 196 197 type DisconnectProcessResponse struct { 198 XXX_NoUnkeyedLiteral struct{} `json:"-"` 199 XXX_unrecognized []byte `json:"-"` 200 XXX_sizecache int32 `json:"-"` 201 } 202 203 func (m *DisconnectProcessResponse) Reset() { *m = DisconnectProcessResponse{} } 204 func (m *DisconnectProcessResponse) String() string { return proto.CompactTextString(m) } 205 func (*DisconnectProcessResponse) ProtoMessage() {} 206 func (*DisconnectProcessResponse) Descriptor() ([]byte, []int) { 207 return fileDescriptor_ed7f10298fa1d90f, []int{4} 208 } 209 func (m *DisconnectProcessResponse) XXX_Unmarshal(b []byte) error { 210 return xxx_messageInfo_DisconnectProcessResponse.Unmarshal(m, b) 211 } 212 func (m *DisconnectProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 213 return xxx_messageInfo_DisconnectProcessResponse.Marshal(b, m, deterministic) 214 } 215 func (m *DisconnectProcessResponse) XXX_Merge(src proto.Message) { 216 xxx_messageInfo_DisconnectProcessResponse.Merge(m, src) 217 } 218 func (m *DisconnectProcessResponse) XXX_Size() int { 219 return xxx_messageInfo_DisconnectProcessResponse.Size(m) 220 } 221 func (m *DisconnectProcessResponse) XXX_DiscardUnknown() { 222 xxx_messageInfo_DisconnectProcessResponse.DiscardUnknown(m) 223 } 224 225 var xxx_messageInfo_DisconnectProcessResponse proto.InternalMessageInfo 226 227 type BuildRequest struct { 228 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 229 Options *BuildOptions `protobuf:"bytes,2,opt,name=Options,proto3" json:"Options,omitempty"` 230 XXX_NoUnkeyedLiteral struct{} `json:"-"` 231 XXX_unrecognized []byte `json:"-"` 232 XXX_sizecache int32 `json:"-"` 233 } 234 235 func (m *BuildRequest) Reset() { *m = BuildRequest{} } 236 func (m *BuildRequest) String() string { return proto.CompactTextString(m) } 237 func (*BuildRequest) ProtoMessage() {} 238 func (*BuildRequest) Descriptor() ([]byte, []int) { 239 return fileDescriptor_ed7f10298fa1d90f, []int{5} 240 } 241 func (m *BuildRequest) XXX_Unmarshal(b []byte) error { 242 return xxx_messageInfo_BuildRequest.Unmarshal(m, b) 243 } 244 func (m *BuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 245 return xxx_messageInfo_BuildRequest.Marshal(b, m, deterministic) 246 } 247 func (m *BuildRequest) XXX_Merge(src proto.Message) { 248 xxx_messageInfo_BuildRequest.Merge(m, src) 249 } 250 func (m *BuildRequest) XXX_Size() int { 251 return xxx_messageInfo_BuildRequest.Size(m) 252 } 253 func (m *BuildRequest) XXX_DiscardUnknown() { 254 xxx_messageInfo_BuildRequest.DiscardUnknown(m) 255 } 256 257 var xxx_messageInfo_BuildRequest proto.InternalMessageInfo 258 259 func (m *BuildRequest) GetRef() string { 260 if m != nil { 261 return m.Ref 262 } 263 return "" 264 } 265 266 func (m *BuildRequest) GetOptions() *BuildOptions { 267 if m != nil { 268 return m.Options 269 } 270 return nil 271 } 272 273 type BuildOptions struct { 274 ContextPath string `protobuf:"bytes,1,opt,name=ContextPath,proto3" json:"ContextPath,omitempty"` 275 DockerfileName string `protobuf:"bytes,2,opt,name=DockerfileName,proto3" json:"DockerfileName,omitempty"` 276 PrintFunc *PrintFunc `protobuf:"bytes,3,opt,name=PrintFunc,proto3" json:"PrintFunc,omitempty"` 277 NamedContexts map[string]string `protobuf:"bytes,4,rep,name=NamedContexts,proto3" json:"NamedContexts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 278 Allow []string `protobuf:"bytes,5,rep,name=Allow,proto3" json:"Allow,omitempty"` 279 Attests []*Attest `protobuf:"bytes,6,rep,name=Attests,proto3" json:"Attests,omitempty"` 280 BuildArgs map[string]string `protobuf:"bytes,7,rep,name=BuildArgs,proto3" json:"BuildArgs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 281 CacheFrom []*CacheOptionsEntry `protobuf:"bytes,8,rep,name=CacheFrom,proto3" json:"CacheFrom,omitempty"` 282 CacheTo []*CacheOptionsEntry `protobuf:"bytes,9,rep,name=CacheTo,proto3" json:"CacheTo,omitempty"` 283 CgroupParent string `protobuf:"bytes,10,opt,name=CgroupParent,proto3" json:"CgroupParent,omitempty"` 284 Exports []*ExportEntry `protobuf:"bytes,11,rep,name=Exports,proto3" json:"Exports,omitempty"` 285 ExtraHosts []string `protobuf:"bytes,12,rep,name=ExtraHosts,proto3" json:"ExtraHosts,omitempty"` 286 Labels map[string]string `protobuf:"bytes,13,rep,name=Labels,proto3" json:"Labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 287 NetworkMode string `protobuf:"bytes,14,opt,name=NetworkMode,proto3" json:"NetworkMode,omitempty"` 288 NoCacheFilter []string `protobuf:"bytes,15,rep,name=NoCacheFilter,proto3" json:"NoCacheFilter,omitempty"` 289 Platforms []string `protobuf:"bytes,16,rep,name=Platforms,proto3" json:"Platforms,omitempty"` 290 Secrets []*Secret `protobuf:"bytes,17,rep,name=Secrets,proto3" json:"Secrets,omitempty"` 291 ShmSize int64 `protobuf:"varint,18,opt,name=ShmSize,proto3" json:"ShmSize,omitempty"` 292 SSH []*SSH `protobuf:"bytes,19,rep,name=SSH,proto3" json:"SSH,omitempty"` 293 Tags []string `protobuf:"bytes,20,rep,name=Tags,proto3" json:"Tags,omitempty"` 294 Target string `protobuf:"bytes,21,opt,name=Target,proto3" json:"Target,omitempty"` 295 Ulimits *UlimitOpt `protobuf:"bytes,22,opt,name=Ulimits,proto3" json:"Ulimits,omitempty"` 296 Builder string `protobuf:"bytes,23,opt,name=Builder,proto3" json:"Builder,omitempty"` 297 NoCache bool `protobuf:"varint,24,opt,name=NoCache,proto3" json:"NoCache,omitempty"` 298 Pull bool `protobuf:"varint,25,opt,name=Pull,proto3" json:"Pull,omitempty"` 299 ExportPush bool `protobuf:"varint,26,opt,name=ExportPush,proto3" json:"ExportPush,omitempty"` 300 ExportLoad bool `protobuf:"varint,27,opt,name=ExportLoad,proto3" json:"ExportLoad,omitempty"` 301 SourcePolicy *pb.Policy `protobuf:"bytes,28,opt,name=SourcePolicy,proto3" json:"SourcePolicy,omitempty"` 302 Ref string `protobuf:"bytes,29,opt,name=Ref,proto3" json:"Ref,omitempty"` 303 GroupRef string `protobuf:"bytes,30,opt,name=GroupRef,proto3" json:"GroupRef,omitempty"` 304 Annotations []string `protobuf:"bytes,31,rep,name=Annotations,proto3" json:"Annotations,omitempty"` 305 WithProvenanceResponse bool `protobuf:"varint,32,opt,name=WithProvenanceResponse,proto3" json:"WithProvenanceResponse,omitempty"` 306 XXX_NoUnkeyedLiteral struct{} `json:"-"` 307 XXX_unrecognized []byte `json:"-"` 308 XXX_sizecache int32 `json:"-"` 309 } 310 311 func (m *BuildOptions) Reset() { *m = BuildOptions{} } 312 func (m *BuildOptions) String() string { return proto.CompactTextString(m) } 313 func (*BuildOptions) ProtoMessage() {} 314 func (*BuildOptions) Descriptor() ([]byte, []int) { 315 return fileDescriptor_ed7f10298fa1d90f, []int{6} 316 } 317 func (m *BuildOptions) XXX_Unmarshal(b []byte) error { 318 return xxx_messageInfo_BuildOptions.Unmarshal(m, b) 319 } 320 func (m *BuildOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 321 return xxx_messageInfo_BuildOptions.Marshal(b, m, deterministic) 322 } 323 func (m *BuildOptions) XXX_Merge(src proto.Message) { 324 xxx_messageInfo_BuildOptions.Merge(m, src) 325 } 326 func (m *BuildOptions) XXX_Size() int { 327 return xxx_messageInfo_BuildOptions.Size(m) 328 } 329 func (m *BuildOptions) XXX_DiscardUnknown() { 330 xxx_messageInfo_BuildOptions.DiscardUnknown(m) 331 } 332 333 var xxx_messageInfo_BuildOptions proto.InternalMessageInfo 334 335 func (m *BuildOptions) GetContextPath() string { 336 if m != nil { 337 return m.ContextPath 338 } 339 return "" 340 } 341 342 func (m *BuildOptions) GetDockerfileName() string { 343 if m != nil { 344 return m.DockerfileName 345 } 346 return "" 347 } 348 349 func (m *BuildOptions) GetPrintFunc() *PrintFunc { 350 if m != nil { 351 return m.PrintFunc 352 } 353 return nil 354 } 355 356 func (m *BuildOptions) GetNamedContexts() map[string]string { 357 if m != nil { 358 return m.NamedContexts 359 } 360 return nil 361 } 362 363 func (m *BuildOptions) GetAllow() []string { 364 if m != nil { 365 return m.Allow 366 } 367 return nil 368 } 369 370 func (m *BuildOptions) GetAttests() []*Attest { 371 if m != nil { 372 return m.Attests 373 } 374 return nil 375 } 376 377 func (m *BuildOptions) GetBuildArgs() map[string]string { 378 if m != nil { 379 return m.BuildArgs 380 } 381 return nil 382 } 383 384 func (m *BuildOptions) GetCacheFrom() []*CacheOptionsEntry { 385 if m != nil { 386 return m.CacheFrom 387 } 388 return nil 389 } 390 391 func (m *BuildOptions) GetCacheTo() []*CacheOptionsEntry { 392 if m != nil { 393 return m.CacheTo 394 } 395 return nil 396 } 397 398 func (m *BuildOptions) GetCgroupParent() string { 399 if m != nil { 400 return m.CgroupParent 401 } 402 return "" 403 } 404 405 func (m *BuildOptions) GetExports() []*ExportEntry { 406 if m != nil { 407 return m.Exports 408 } 409 return nil 410 } 411 412 func (m *BuildOptions) GetExtraHosts() []string { 413 if m != nil { 414 return m.ExtraHosts 415 } 416 return nil 417 } 418 419 func (m *BuildOptions) GetLabels() map[string]string { 420 if m != nil { 421 return m.Labels 422 } 423 return nil 424 } 425 426 func (m *BuildOptions) GetNetworkMode() string { 427 if m != nil { 428 return m.NetworkMode 429 } 430 return "" 431 } 432 433 func (m *BuildOptions) GetNoCacheFilter() []string { 434 if m != nil { 435 return m.NoCacheFilter 436 } 437 return nil 438 } 439 440 func (m *BuildOptions) GetPlatforms() []string { 441 if m != nil { 442 return m.Platforms 443 } 444 return nil 445 } 446 447 func (m *BuildOptions) GetSecrets() []*Secret { 448 if m != nil { 449 return m.Secrets 450 } 451 return nil 452 } 453 454 func (m *BuildOptions) GetShmSize() int64 { 455 if m != nil { 456 return m.ShmSize 457 } 458 return 0 459 } 460 461 func (m *BuildOptions) GetSSH() []*SSH { 462 if m != nil { 463 return m.SSH 464 } 465 return nil 466 } 467 468 func (m *BuildOptions) GetTags() []string { 469 if m != nil { 470 return m.Tags 471 } 472 return nil 473 } 474 475 func (m *BuildOptions) GetTarget() string { 476 if m != nil { 477 return m.Target 478 } 479 return "" 480 } 481 482 func (m *BuildOptions) GetUlimits() *UlimitOpt { 483 if m != nil { 484 return m.Ulimits 485 } 486 return nil 487 } 488 489 func (m *BuildOptions) GetBuilder() string { 490 if m != nil { 491 return m.Builder 492 } 493 return "" 494 } 495 496 func (m *BuildOptions) GetNoCache() bool { 497 if m != nil { 498 return m.NoCache 499 } 500 return false 501 } 502 503 func (m *BuildOptions) GetPull() bool { 504 if m != nil { 505 return m.Pull 506 } 507 return false 508 } 509 510 func (m *BuildOptions) GetExportPush() bool { 511 if m != nil { 512 return m.ExportPush 513 } 514 return false 515 } 516 517 func (m *BuildOptions) GetExportLoad() bool { 518 if m != nil { 519 return m.ExportLoad 520 } 521 return false 522 } 523 524 func (m *BuildOptions) GetSourcePolicy() *pb.Policy { 525 if m != nil { 526 return m.SourcePolicy 527 } 528 return nil 529 } 530 531 func (m *BuildOptions) GetRef() string { 532 if m != nil { 533 return m.Ref 534 } 535 return "" 536 } 537 538 func (m *BuildOptions) GetGroupRef() string { 539 if m != nil { 540 return m.GroupRef 541 } 542 return "" 543 } 544 545 func (m *BuildOptions) GetAnnotations() []string { 546 if m != nil { 547 return m.Annotations 548 } 549 return nil 550 } 551 552 func (m *BuildOptions) GetWithProvenanceResponse() bool { 553 if m != nil { 554 return m.WithProvenanceResponse 555 } 556 return false 557 } 558 559 type ExportEntry struct { 560 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` 561 Attrs map[string]string `protobuf:"bytes,2,rep,name=Attrs,proto3" json:"Attrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 562 Destination string `protobuf:"bytes,3,opt,name=Destination,proto3" json:"Destination,omitempty"` 563 XXX_NoUnkeyedLiteral struct{} `json:"-"` 564 XXX_unrecognized []byte `json:"-"` 565 XXX_sizecache int32 `json:"-"` 566 } 567 568 func (m *ExportEntry) Reset() { *m = ExportEntry{} } 569 func (m *ExportEntry) String() string { return proto.CompactTextString(m) } 570 func (*ExportEntry) ProtoMessage() {} 571 func (*ExportEntry) Descriptor() ([]byte, []int) { 572 return fileDescriptor_ed7f10298fa1d90f, []int{7} 573 } 574 func (m *ExportEntry) XXX_Unmarshal(b []byte) error { 575 return xxx_messageInfo_ExportEntry.Unmarshal(m, b) 576 } 577 func (m *ExportEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 578 return xxx_messageInfo_ExportEntry.Marshal(b, m, deterministic) 579 } 580 func (m *ExportEntry) XXX_Merge(src proto.Message) { 581 xxx_messageInfo_ExportEntry.Merge(m, src) 582 } 583 func (m *ExportEntry) XXX_Size() int { 584 return xxx_messageInfo_ExportEntry.Size(m) 585 } 586 func (m *ExportEntry) XXX_DiscardUnknown() { 587 xxx_messageInfo_ExportEntry.DiscardUnknown(m) 588 } 589 590 var xxx_messageInfo_ExportEntry proto.InternalMessageInfo 591 592 func (m *ExportEntry) GetType() string { 593 if m != nil { 594 return m.Type 595 } 596 return "" 597 } 598 599 func (m *ExportEntry) GetAttrs() map[string]string { 600 if m != nil { 601 return m.Attrs 602 } 603 return nil 604 } 605 606 func (m *ExportEntry) GetDestination() string { 607 if m != nil { 608 return m.Destination 609 } 610 return "" 611 } 612 613 type CacheOptionsEntry struct { 614 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` 615 Attrs map[string]string `protobuf:"bytes,2,rep,name=Attrs,proto3" json:"Attrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 616 XXX_NoUnkeyedLiteral struct{} `json:"-"` 617 XXX_unrecognized []byte `json:"-"` 618 XXX_sizecache int32 `json:"-"` 619 } 620 621 func (m *CacheOptionsEntry) Reset() { *m = CacheOptionsEntry{} } 622 func (m *CacheOptionsEntry) String() string { return proto.CompactTextString(m) } 623 func (*CacheOptionsEntry) ProtoMessage() {} 624 func (*CacheOptionsEntry) Descriptor() ([]byte, []int) { 625 return fileDescriptor_ed7f10298fa1d90f, []int{8} 626 } 627 func (m *CacheOptionsEntry) XXX_Unmarshal(b []byte) error { 628 return xxx_messageInfo_CacheOptionsEntry.Unmarshal(m, b) 629 } 630 func (m *CacheOptionsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 631 return xxx_messageInfo_CacheOptionsEntry.Marshal(b, m, deterministic) 632 } 633 func (m *CacheOptionsEntry) XXX_Merge(src proto.Message) { 634 xxx_messageInfo_CacheOptionsEntry.Merge(m, src) 635 } 636 func (m *CacheOptionsEntry) XXX_Size() int { 637 return xxx_messageInfo_CacheOptionsEntry.Size(m) 638 } 639 func (m *CacheOptionsEntry) XXX_DiscardUnknown() { 640 xxx_messageInfo_CacheOptionsEntry.DiscardUnknown(m) 641 } 642 643 var xxx_messageInfo_CacheOptionsEntry proto.InternalMessageInfo 644 645 func (m *CacheOptionsEntry) GetType() string { 646 if m != nil { 647 return m.Type 648 } 649 return "" 650 } 651 652 func (m *CacheOptionsEntry) GetAttrs() map[string]string { 653 if m != nil { 654 return m.Attrs 655 } 656 return nil 657 } 658 659 type Attest struct { 660 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` 661 Disabled bool `protobuf:"varint,2,opt,name=Disabled,proto3" json:"Disabled,omitempty"` 662 Attrs string `protobuf:"bytes,3,opt,name=Attrs,proto3" json:"Attrs,omitempty"` 663 XXX_NoUnkeyedLiteral struct{} `json:"-"` 664 XXX_unrecognized []byte `json:"-"` 665 XXX_sizecache int32 `json:"-"` 666 } 667 668 func (m *Attest) Reset() { *m = Attest{} } 669 func (m *Attest) String() string { return proto.CompactTextString(m) } 670 func (*Attest) ProtoMessage() {} 671 func (*Attest) Descriptor() ([]byte, []int) { 672 return fileDescriptor_ed7f10298fa1d90f, []int{9} 673 } 674 func (m *Attest) XXX_Unmarshal(b []byte) error { 675 return xxx_messageInfo_Attest.Unmarshal(m, b) 676 } 677 func (m *Attest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 678 return xxx_messageInfo_Attest.Marshal(b, m, deterministic) 679 } 680 func (m *Attest) XXX_Merge(src proto.Message) { 681 xxx_messageInfo_Attest.Merge(m, src) 682 } 683 func (m *Attest) XXX_Size() int { 684 return xxx_messageInfo_Attest.Size(m) 685 } 686 func (m *Attest) XXX_DiscardUnknown() { 687 xxx_messageInfo_Attest.DiscardUnknown(m) 688 } 689 690 var xxx_messageInfo_Attest proto.InternalMessageInfo 691 692 func (m *Attest) GetType() string { 693 if m != nil { 694 return m.Type 695 } 696 return "" 697 } 698 699 func (m *Attest) GetDisabled() bool { 700 if m != nil { 701 return m.Disabled 702 } 703 return false 704 } 705 706 func (m *Attest) GetAttrs() string { 707 if m != nil { 708 return m.Attrs 709 } 710 return "" 711 } 712 713 type SSH struct { 714 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` 715 Paths []string `protobuf:"bytes,2,rep,name=Paths,proto3" json:"Paths,omitempty"` 716 XXX_NoUnkeyedLiteral struct{} `json:"-"` 717 XXX_unrecognized []byte `json:"-"` 718 XXX_sizecache int32 `json:"-"` 719 } 720 721 func (m *SSH) Reset() { *m = SSH{} } 722 func (m *SSH) String() string { return proto.CompactTextString(m) } 723 func (*SSH) ProtoMessage() {} 724 func (*SSH) Descriptor() ([]byte, []int) { 725 return fileDescriptor_ed7f10298fa1d90f, []int{10} 726 } 727 func (m *SSH) XXX_Unmarshal(b []byte) error { 728 return xxx_messageInfo_SSH.Unmarshal(m, b) 729 } 730 func (m *SSH) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 731 return xxx_messageInfo_SSH.Marshal(b, m, deterministic) 732 } 733 func (m *SSH) XXX_Merge(src proto.Message) { 734 xxx_messageInfo_SSH.Merge(m, src) 735 } 736 func (m *SSH) XXX_Size() int { 737 return xxx_messageInfo_SSH.Size(m) 738 } 739 func (m *SSH) XXX_DiscardUnknown() { 740 xxx_messageInfo_SSH.DiscardUnknown(m) 741 } 742 743 var xxx_messageInfo_SSH proto.InternalMessageInfo 744 745 func (m *SSH) GetID() string { 746 if m != nil { 747 return m.ID 748 } 749 return "" 750 } 751 752 func (m *SSH) GetPaths() []string { 753 if m != nil { 754 return m.Paths 755 } 756 return nil 757 } 758 759 type Secret struct { 760 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` 761 FilePath string `protobuf:"bytes,2,opt,name=FilePath,proto3" json:"FilePath,omitempty"` 762 Env string `protobuf:"bytes,3,opt,name=Env,proto3" json:"Env,omitempty"` 763 XXX_NoUnkeyedLiteral struct{} `json:"-"` 764 XXX_unrecognized []byte `json:"-"` 765 XXX_sizecache int32 `json:"-"` 766 } 767 768 func (m *Secret) Reset() { *m = Secret{} } 769 func (m *Secret) String() string { return proto.CompactTextString(m) } 770 func (*Secret) ProtoMessage() {} 771 func (*Secret) Descriptor() ([]byte, []int) { 772 return fileDescriptor_ed7f10298fa1d90f, []int{11} 773 } 774 func (m *Secret) XXX_Unmarshal(b []byte) error { 775 return xxx_messageInfo_Secret.Unmarshal(m, b) 776 } 777 func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 778 return xxx_messageInfo_Secret.Marshal(b, m, deterministic) 779 } 780 func (m *Secret) XXX_Merge(src proto.Message) { 781 xxx_messageInfo_Secret.Merge(m, src) 782 } 783 func (m *Secret) XXX_Size() int { 784 return xxx_messageInfo_Secret.Size(m) 785 } 786 func (m *Secret) XXX_DiscardUnknown() { 787 xxx_messageInfo_Secret.DiscardUnknown(m) 788 } 789 790 var xxx_messageInfo_Secret proto.InternalMessageInfo 791 792 func (m *Secret) GetID() string { 793 if m != nil { 794 return m.ID 795 } 796 return "" 797 } 798 799 func (m *Secret) GetFilePath() string { 800 if m != nil { 801 return m.FilePath 802 } 803 return "" 804 } 805 806 func (m *Secret) GetEnv() string { 807 if m != nil { 808 return m.Env 809 } 810 return "" 811 } 812 813 type PrintFunc struct { 814 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 815 Format string `protobuf:"bytes,2,opt,name=Format,proto3" json:"Format,omitempty"` 816 IgnoreStatus bool `protobuf:"varint,3,opt,name=IgnoreStatus,proto3" json:"IgnoreStatus,omitempty"` 817 XXX_NoUnkeyedLiteral struct{} `json:"-"` 818 XXX_unrecognized []byte `json:"-"` 819 XXX_sizecache int32 `json:"-"` 820 } 821 822 func (m *PrintFunc) Reset() { *m = PrintFunc{} } 823 func (m *PrintFunc) String() string { return proto.CompactTextString(m) } 824 func (*PrintFunc) ProtoMessage() {} 825 func (*PrintFunc) Descriptor() ([]byte, []int) { 826 return fileDescriptor_ed7f10298fa1d90f, []int{12} 827 } 828 func (m *PrintFunc) XXX_Unmarshal(b []byte) error { 829 return xxx_messageInfo_PrintFunc.Unmarshal(m, b) 830 } 831 func (m *PrintFunc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 832 return xxx_messageInfo_PrintFunc.Marshal(b, m, deterministic) 833 } 834 func (m *PrintFunc) XXX_Merge(src proto.Message) { 835 xxx_messageInfo_PrintFunc.Merge(m, src) 836 } 837 func (m *PrintFunc) XXX_Size() int { 838 return xxx_messageInfo_PrintFunc.Size(m) 839 } 840 func (m *PrintFunc) XXX_DiscardUnknown() { 841 xxx_messageInfo_PrintFunc.DiscardUnknown(m) 842 } 843 844 var xxx_messageInfo_PrintFunc proto.InternalMessageInfo 845 846 func (m *PrintFunc) GetName() string { 847 if m != nil { 848 return m.Name 849 } 850 return "" 851 } 852 853 func (m *PrintFunc) GetFormat() string { 854 if m != nil { 855 return m.Format 856 } 857 return "" 858 } 859 860 func (m *PrintFunc) GetIgnoreStatus() bool { 861 if m != nil { 862 return m.IgnoreStatus 863 } 864 return false 865 } 866 867 type InspectRequest struct { 868 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 869 XXX_NoUnkeyedLiteral struct{} `json:"-"` 870 XXX_unrecognized []byte `json:"-"` 871 XXX_sizecache int32 `json:"-"` 872 } 873 874 func (m *InspectRequest) Reset() { *m = InspectRequest{} } 875 func (m *InspectRequest) String() string { return proto.CompactTextString(m) } 876 func (*InspectRequest) ProtoMessage() {} 877 func (*InspectRequest) Descriptor() ([]byte, []int) { 878 return fileDescriptor_ed7f10298fa1d90f, []int{13} 879 } 880 func (m *InspectRequest) XXX_Unmarshal(b []byte) error { 881 return xxx_messageInfo_InspectRequest.Unmarshal(m, b) 882 } 883 func (m *InspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 884 return xxx_messageInfo_InspectRequest.Marshal(b, m, deterministic) 885 } 886 func (m *InspectRequest) XXX_Merge(src proto.Message) { 887 xxx_messageInfo_InspectRequest.Merge(m, src) 888 } 889 func (m *InspectRequest) XXX_Size() int { 890 return xxx_messageInfo_InspectRequest.Size(m) 891 } 892 func (m *InspectRequest) XXX_DiscardUnknown() { 893 xxx_messageInfo_InspectRequest.DiscardUnknown(m) 894 } 895 896 var xxx_messageInfo_InspectRequest proto.InternalMessageInfo 897 898 func (m *InspectRequest) GetRef() string { 899 if m != nil { 900 return m.Ref 901 } 902 return "" 903 } 904 905 type InspectResponse struct { 906 Options *BuildOptions `protobuf:"bytes,1,opt,name=Options,proto3" json:"Options,omitempty"` 907 XXX_NoUnkeyedLiteral struct{} `json:"-"` 908 XXX_unrecognized []byte `json:"-"` 909 XXX_sizecache int32 `json:"-"` 910 } 911 912 func (m *InspectResponse) Reset() { *m = InspectResponse{} } 913 func (m *InspectResponse) String() string { return proto.CompactTextString(m) } 914 func (*InspectResponse) ProtoMessage() {} 915 func (*InspectResponse) Descriptor() ([]byte, []int) { 916 return fileDescriptor_ed7f10298fa1d90f, []int{14} 917 } 918 func (m *InspectResponse) XXX_Unmarshal(b []byte) error { 919 return xxx_messageInfo_InspectResponse.Unmarshal(m, b) 920 } 921 func (m *InspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 922 return xxx_messageInfo_InspectResponse.Marshal(b, m, deterministic) 923 } 924 func (m *InspectResponse) XXX_Merge(src proto.Message) { 925 xxx_messageInfo_InspectResponse.Merge(m, src) 926 } 927 func (m *InspectResponse) XXX_Size() int { 928 return xxx_messageInfo_InspectResponse.Size(m) 929 } 930 func (m *InspectResponse) XXX_DiscardUnknown() { 931 xxx_messageInfo_InspectResponse.DiscardUnknown(m) 932 } 933 934 var xxx_messageInfo_InspectResponse proto.InternalMessageInfo 935 936 func (m *InspectResponse) GetOptions() *BuildOptions { 937 if m != nil { 938 return m.Options 939 } 940 return nil 941 } 942 943 type UlimitOpt struct { 944 Values map[string]*Ulimit `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 945 XXX_NoUnkeyedLiteral struct{} `json:"-"` 946 XXX_unrecognized []byte `json:"-"` 947 XXX_sizecache int32 `json:"-"` 948 } 949 950 func (m *UlimitOpt) Reset() { *m = UlimitOpt{} } 951 func (m *UlimitOpt) String() string { return proto.CompactTextString(m) } 952 func (*UlimitOpt) ProtoMessage() {} 953 func (*UlimitOpt) Descriptor() ([]byte, []int) { 954 return fileDescriptor_ed7f10298fa1d90f, []int{15} 955 } 956 func (m *UlimitOpt) XXX_Unmarshal(b []byte) error { 957 return xxx_messageInfo_UlimitOpt.Unmarshal(m, b) 958 } 959 func (m *UlimitOpt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 960 return xxx_messageInfo_UlimitOpt.Marshal(b, m, deterministic) 961 } 962 func (m *UlimitOpt) XXX_Merge(src proto.Message) { 963 xxx_messageInfo_UlimitOpt.Merge(m, src) 964 } 965 func (m *UlimitOpt) XXX_Size() int { 966 return xxx_messageInfo_UlimitOpt.Size(m) 967 } 968 func (m *UlimitOpt) XXX_DiscardUnknown() { 969 xxx_messageInfo_UlimitOpt.DiscardUnknown(m) 970 } 971 972 var xxx_messageInfo_UlimitOpt proto.InternalMessageInfo 973 974 func (m *UlimitOpt) GetValues() map[string]*Ulimit { 975 if m != nil { 976 return m.Values 977 } 978 return nil 979 } 980 981 type Ulimit struct { 982 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 983 Hard int64 `protobuf:"varint,2,opt,name=Hard,proto3" json:"Hard,omitempty"` 984 Soft int64 `protobuf:"varint,3,opt,name=Soft,proto3" json:"Soft,omitempty"` 985 XXX_NoUnkeyedLiteral struct{} `json:"-"` 986 XXX_unrecognized []byte `json:"-"` 987 XXX_sizecache int32 `json:"-"` 988 } 989 990 func (m *Ulimit) Reset() { *m = Ulimit{} } 991 func (m *Ulimit) String() string { return proto.CompactTextString(m) } 992 func (*Ulimit) ProtoMessage() {} 993 func (*Ulimit) Descriptor() ([]byte, []int) { 994 return fileDescriptor_ed7f10298fa1d90f, []int{16} 995 } 996 func (m *Ulimit) XXX_Unmarshal(b []byte) error { 997 return xxx_messageInfo_Ulimit.Unmarshal(m, b) 998 } 999 func (m *Ulimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1000 return xxx_messageInfo_Ulimit.Marshal(b, m, deterministic) 1001 } 1002 func (m *Ulimit) XXX_Merge(src proto.Message) { 1003 xxx_messageInfo_Ulimit.Merge(m, src) 1004 } 1005 func (m *Ulimit) XXX_Size() int { 1006 return xxx_messageInfo_Ulimit.Size(m) 1007 } 1008 func (m *Ulimit) XXX_DiscardUnknown() { 1009 xxx_messageInfo_Ulimit.DiscardUnknown(m) 1010 } 1011 1012 var xxx_messageInfo_Ulimit proto.InternalMessageInfo 1013 1014 func (m *Ulimit) GetName() string { 1015 if m != nil { 1016 return m.Name 1017 } 1018 return "" 1019 } 1020 1021 func (m *Ulimit) GetHard() int64 { 1022 if m != nil { 1023 return m.Hard 1024 } 1025 return 0 1026 } 1027 1028 func (m *Ulimit) GetSoft() int64 { 1029 if m != nil { 1030 return m.Soft 1031 } 1032 return 0 1033 } 1034 1035 type BuildResponse struct { 1036 ExporterResponse map[string]string `protobuf:"bytes,1,rep,name=ExporterResponse,proto3" json:"ExporterResponse,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1037 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1038 XXX_unrecognized []byte `json:"-"` 1039 XXX_sizecache int32 `json:"-"` 1040 } 1041 1042 func (m *BuildResponse) Reset() { *m = BuildResponse{} } 1043 func (m *BuildResponse) String() string { return proto.CompactTextString(m) } 1044 func (*BuildResponse) ProtoMessage() {} 1045 func (*BuildResponse) Descriptor() ([]byte, []int) { 1046 return fileDescriptor_ed7f10298fa1d90f, []int{17} 1047 } 1048 func (m *BuildResponse) XXX_Unmarshal(b []byte) error { 1049 return xxx_messageInfo_BuildResponse.Unmarshal(m, b) 1050 } 1051 func (m *BuildResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1052 return xxx_messageInfo_BuildResponse.Marshal(b, m, deterministic) 1053 } 1054 func (m *BuildResponse) XXX_Merge(src proto.Message) { 1055 xxx_messageInfo_BuildResponse.Merge(m, src) 1056 } 1057 func (m *BuildResponse) XXX_Size() int { 1058 return xxx_messageInfo_BuildResponse.Size(m) 1059 } 1060 func (m *BuildResponse) XXX_DiscardUnknown() { 1061 xxx_messageInfo_BuildResponse.DiscardUnknown(m) 1062 } 1063 1064 var xxx_messageInfo_BuildResponse proto.InternalMessageInfo 1065 1066 func (m *BuildResponse) GetExporterResponse() map[string]string { 1067 if m != nil { 1068 return m.ExporterResponse 1069 } 1070 return nil 1071 } 1072 1073 type DisconnectRequest struct { 1074 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 1075 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1076 XXX_unrecognized []byte `json:"-"` 1077 XXX_sizecache int32 `json:"-"` 1078 } 1079 1080 func (m *DisconnectRequest) Reset() { *m = DisconnectRequest{} } 1081 func (m *DisconnectRequest) String() string { return proto.CompactTextString(m) } 1082 func (*DisconnectRequest) ProtoMessage() {} 1083 func (*DisconnectRequest) Descriptor() ([]byte, []int) { 1084 return fileDescriptor_ed7f10298fa1d90f, []int{18} 1085 } 1086 func (m *DisconnectRequest) XXX_Unmarshal(b []byte) error { 1087 return xxx_messageInfo_DisconnectRequest.Unmarshal(m, b) 1088 } 1089 func (m *DisconnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1090 return xxx_messageInfo_DisconnectRequest.Marshal(b, m, deterministic) 1091 } 1092 func (m *DisconnectRequest) XXX_Merge(src proto.Message) { 1093 xxx_messageInfo_DisconnectRequest.Merge(m, src) 1094 } 1095 func (m *DisconnectRequest) XXX_Size() int { 1096 return xxx_messageInfo_DisconnectRequest.Size(m) 1097 } 1098 func (m *DisconnectRequest) XXX_DiscardUnknown() { 1099 xxx_messageInfo_DisconnectRequest.DiscardUnknown(m) 1100 } 1101 1102 var xxx_messageInfo_DisconnectRequest proto.InternalMessageInfo 1103 1104 func (m *DisconnectRequest) GetRef() string { 1105 if m != nil { 1106 return m.Ref 1107 } 1108 return "" 1109 } 1110 1111 type DisconnectResponse struct { 1112 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1113 XXX_unrecognized []byte `json:"-"` 1114 XXX_sizecache int32 `json:"-"` 1115 } 1116 1117 func (m *DisconnectResponse) Reset() { *m = DisconnectResponse{} } 1118 func (m *DisconnectResponse) String() string { return proto.CompactTextString(m) } 1119 func (*DisconnectResponse) ProtoMessage() {} 1120 func (*DisconnectResponse) Descriptor() ([]byte, []int) { 1121 return fileDescriptor_ed7f10298fa1d90f, []int{19} 1122 } 1123 func (m *DisconnectResponse) XXX_Unmarshal(b []byte) error { 1124 return xxx_messageInfo_DisconnectResponse.Unmarshal(m, b) 1125 } 1126 func (m *DisconnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1127 return xxx_messageInfo_DisconnectResponse.Marshal(b, m, deterministic) 1128 } 1129 func (m *DisconnectResponse) XXX_Merge(src proto.Message) { 1130 xxx_messageInfo_DisconnectResponse.Merge(m, src) 1131 } 1132 func (m *DisconnectResponse) XXX_Size() int { 1133 return xxx_messageInfo_DisconnectResponse.Size(m) 1134 } 1135 func (m *DisconnectResponse) XXX_DiscardUnknown() { 1136 xxx_messageInfo_DisconnectResponse.DiscardUnknown(m) 1137 } 1138 1139 var xxx_messageInfo_DisconnectResponse proto.InternalMessageInfo 1140 1141 type ListRequest struct { 1142 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 1143 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1144 XXX_unrecognized []byte `json:"-"` 1145 XXX_sizecache int32 `json:"-"` 1146 } 1147 1148 func (m *ListRequest) Reset() { *m = ListRequest{} } 1149 func (m *ListRequest) String() string { return proto.CompactTextString(m) } 1150 func (*ListRequest) ProtoMessage() {} 1151 func (*ListRequest) Descriptor() ([]byte, []int) { 1152 return fileDescriptor_ed7f10298fa1d90f, []int{20} 1153 } 1154 func (m *ListRequest) XXX_Unmarshal(b []byte) error { 1155 return xxx_messageInfo_ListRequest.Unmarshal(m, b) 1156 } 1157 func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1158 return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic) 1159 } 1160 func (m *ListRequest) XXX_Merge(src proto.Message) { 1161 xxx_messageInfo_ListRequest.Merge(m, src) 1162 } 1163 func (m *ListRequest) XXX_Size() int { 1164 return xxx_messageInfo_ListRequest.Size(m) 1165 } 1166 func (m *ListRequest) XXX_DiscardUnknown() { 1167 xxx_messageInfo_ListRequest.DiscardUnknown(m) 1168 } 1169 1170 var xxx_messageInfo_ListRequest proto.InternalMessageInfo 1171 1172 func (m *ListRequest) GetRef() string { 1173 if m != nil { 1174 return m.Ref 1175 } 1176 return "" 1177 } 1178 1179 type ListResponse struct { 1180 Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` 1181 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1182 XXX_unrecognized []byte `json:"-"` 1183 XXX_sizecache int32 `json:"-"` 1184 } 1185 1186 func (m *ListResponse) Reset() { *m = ListResponse{} } 1187 func (m *ListResponse) String() string { return proto.CompactTextString(m) } 1188 func (*ListResponse) ProtoMessage() {} 1189 func (*ListResponse) Descriptor() ([]byte, []int) { 1190 return fileDescriptor_ed7f10298fa1d90f, []int{21} 1191 } 1192 func (m *ListResponse) XXX_Unmarshal(b []byte) error { 1193 return xxx_messageInfo_ListResponse.Unmarshal(m, b) 1194 } 1195 func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1196 return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic) 1197 } 1198 func (m *ListResponse) XXX_Merge(src proto.Message) { 1199 xxx_messageInfo_ListResponse.Merge(m, src) 1200 } 1201 func (m *ListResponse) XXX_Size() int { 1202 return xxx_messageInfo_ListResponse.Size(m) 1203 } 1204 func (m *ListResponse) XXX_DiscardUnknown() { 1205 xxx_messageInfo_ListResponse.DiscardUnknown(m) 1206 } 1207 1208 var xxx_messageInfo_ListResponse proto.InternalMessageInfo 1209 1210 func (m *ListResponse) GetKeys() []string { 1211 if m != nil { 1212 return m.Keys 1213 } 1214 return nil 1215 } 1216 1217 type InputMessage struct { 1218 // Types that are valid to be assigned to Input: 1219 // *InputMessage_Init 1220 // *InputMessage_Data 1221 Input isInputMessage_Input `protobuf_oneof:"Input"` 1222 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1223 XXX_unrecognized []byte `json:"-"` 1224 XXX_sizecache int32 `json:"-"` 1225 } 1226 1227 func (m *InputMessage) Reset() { *m = InputMessage{} } 1228 func (m *InputMessage) String() string { return proto.CompactTextString(m) } 1229 func (*InputMessage) ProtoMessage() {} 1230 func (*InputMessage) Descriptor() ([]byte, []int) { 1231 return fileDescriptor_ed7f10298fa1d90f, []int{22} 1232 } 1233 func (m *InputMessage) XXX_Unmarshal(b []byte) error { 1234 return xxx_messageInfo_InputMessage.Unmarshal(m, b) 1235 } 1236 func (m *InputMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1237 return xxx_messageInfo_InputMessage.Marshal(b, m, deterministic) 1238 } 1239 func (m *InputMessage) XXX_Merge(src proto.Message) { 1240 xxx_messageInfo_InputMessage.Merge(m, src) 1241 } 1242 func (m *InputMessage) XXX_Size() int { 1243 return xxx_messageInfo_InputMessage.Size(m) 1244 } 1245 func (m *InputMessage) XXX_DiscardUnknown() { 1246 xxx_messageInfo_InputMessage.DiscardUnknown(m) 1247 } 1248 1249 var xxx_messageInfo_InputMessage proto.InternalMessageInfo 1250 1251 type isInputMessage_Input interface { 1252 isInputMessage_Input() 1253 } 1254 1255 type InputMessage_Init struct { 1256 Init *InputInitMessage `protobuf:"bytes,1,opt,name=Init,proto3,oneof" json:"Init,omitempty"` 1257 } 1258 type InputMessage_Data struct { 1259 Data *DataMessage `protobuf:"bytes,2,opt,name=Data,proto3,oneof" json:"Data,omitempty"` 1260 } 1261 1262 func (*InputMessage_Init) isInputMessage_Input() {} 1263 func (*InputMessage_Data) isInputMessage_Input() {} 1264 1265 func (m *InputMessage) GetInput() isInputMessage_Input { 1266 if m != nil { 1267 return m.Input 1268 } 1269 return nil 1270 } 1271 1272 func (m *InputMessage) GetInit() *InputInitMessage { 1273 if x, ok := m.GetInput().(*InputMessage_Init); ok { 1274 return x.Init 1275 } 1276 return nil 1277 } 1278 1279 func (m *InputMessage) GetData() *DataMessage { 1280 if x, ok := m.GetInput().(*InputMessage_Data); ok { 1281 return x.Data 1282 } 1283 return nil 1284 } 1285 1286 // XXX_OneofWrappers is for the internal use of the proto package. 1287 func (*InputMessage) XXX_OneofWrappers() []interface{} { 1288 return []interface{}{ 1289 (*InputMessage_Init)(nil), 1290 (*InputMessage_Data)(nil), 1291 } 1292 } 1293 1294 type InputInitMessage struct { 1295 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 1296 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1297 XXX_unrecognized []byte `json:"-"` 1298 XXX_sizecache int32 `json:"-"` 1299 } 1300 1301 func (m *InputInitMessage) Reset() { *m = InputInitMessage{} } 1302 func (m *InputInitMessage) String() string { return proto.CompactTextString(m) } 1303 func (*InputInitMessage) ProtoMessage() {} 1304 func (*InputInitMessage) Descriptor() ([]byte, []int) { 1305 return fileDescriptor_ed7f10298fa1d90f, []int{23} 1306 } 1307 func (m *InputInitMessage) XXX_Unmarshal(b []byte) error { 1308 return xxx_messageInfo_InputInitMessage.Unmarshal(m, b) 1309 } 1310 func (m *InputInitMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1311 return xxx_messageInfo_InputInitMessage.Marshal(b, m, deterministic) 1312 } 1313 func (m *InputInitMessage) XXX_Merge(src proto.Message) { 1314 xxx_messageInfo_InputInitMessage.Merge(m, src) 1315 } 1316 func (m *InputInitMessage) XXX_Size() int { 1317 return xxx_messageInfo_InputInitMessage.Size(m) 1318 } 1319 func (m *InputInitMessage) XXX_DiscardUnknown() { 1320 xxx_messageInfo_InputInitMessage.DiscardUnknown(m) 1321 } 1322 1323 var xxx_messageInfo_InputInitMessage proto.InternalMessageInfo 1324 1325 func (m *InputInitMessage) GetRef() string { 1326 if m != nil { 1327 return m.Ref 1328 } 1329 return "" 1330 } 1331 1332 type DataMessage struct { 1333 EOF bool `protobuf:"varint,1,opt,name=EOF,proto3" json:"EOF,omitempty"` 1334 Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` 1335 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1336 XXX_unrecognized []byte `json:"-"` 1337 XXX_sizecache int32 `json:"-"` 1338 } 1339 1340 func (m *DataMessage) Reset() { *m = DataMessage{} } 1341 func (m *DataMessage) String() string { return proto.CompactTextString(m) } 1342 func (*DataMessage) ProtoMessage() {} 1343 func (*DataMessage) Descriptor() ([]byte, []int) { 1344 return fileDescriptor_ed7f10298fa1d90f, []int{24} 1345 } 1346 func (m *DataMessage) XXX_Unmarshal(b []byte) error { 1347 return xxx_messageInfo_DataMessage.Unmarshal(m, b) 1348 } 1349 func (m *DataMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1350 return xxx_messageInfo_DataMessage.Marshal(b, m, deterministic) 1351 } 1352 func (m *DataMessage) XXX_Merge(src proto.Message) { 1353 xxx_messageInfo_DataMessage.Merge(m, src) 1354 } 1355 func (m *DataMessage) XXX_Size() int { 1356 return xxx_messageInfo_DataMessage.Size(m) 1357 } 1358 func (m *DataMessage) XXX_DiscardUnknown() { 1359 xxx_messageInfo_DataMessage.DiscardUnknown(m) 1360 } 1361 1362 var xxx_messageInfo_DataMessage proto.InternalMessageInfo 1363 1364 func (m *DataMessage) GetEOF() bool { 1365 if m != nil { 1366 return m.EOF 1367 } 1368 return false 1369 } 1370 1371 func (m *DataMessage) GetData() []byte { 1372 if m != nil { 1373 return m.Data 1374 } 1375 return nil 1376 } 1377 1378 type InputResponse struct { 1379 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1380 XXX_unrecognized []byte `json:"-"` 1381 XXX_sizecache int32 `json:"-"` 1382 } 1383 1384 func (m *InputResponse) Reset() { *m = InputResponse{} } 1385 func (m *InputResponse) String() string { return proto.CompactTextString(m) } 1386 func (*InputResponse) ProtoMessage() {} 1387 func (*InputResponse) Descriptor() ([]byte, []int) { 1388 return fileDescriptor_ed7f10298fa1d90f, []int{25} 1389 } 1390 func (m *InputResponse) XXX_Unmarshal(b []byte) error { 1391 return xxx_messageInfo_InputResponse.Unmarshal(m, b) 1392 } 1393 func (m *InputResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1394 return xxx_messageInfo_InputResponse.Marshal(b, m, deterministic) 1395 } 1396 func (m *InputResponse) XXX_Merge(src proto.Message) { 1397 xxx_messageInfo_InputResponse.Merge(m, src) 1398 } 1399 func (m *InputResponse) XXX_Size() int { 1400 return xxx_messageInfo_InputResponse.Size(m) 1401 } 1402 func (m *InputResponse) XXX_DiscardUnknown() { 1403 xxx_messageInfo_InputResponse.DiscardUnknown(m) 1404 } 1405 1406 var xxx_messageInfo_InputResponse proto.InternalMessageInfo 1407 1408 type Message struct { 1409 // Types that are valid to be assigned to Input: 1410 // *Message_Init 1411 // *Message_File 1412 // *Message_Resize 1413 // *Message_Signal 1414 Input isMessage_Input `protobuf_oneof:"Input"` 1415 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1416 XXX_unrecognized []byte `json:"-"` 1417 XXX_sizecache int32 `json:"-"` 1418 } 1419 1420 func (m *Message) Reset() { *m = Message{} } 1421 func (m *Message) String() string { return proto.CompactTextString(m) } 1422 func (*Message) ProtoMessage() {} 1423 func (*Message) Descriptor() ([]byte, []int) { 1424 return fileDescriptor_ed7f10298fa1d90f, []int{26} 1425 } 1426 func (m *Message) XXX_Unmarshal(b []byte) error { 1427 return xxx_messageInfo_Message.Unmarshal(m, b) 1428 } 1429 func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1430 return xxx_messageInfo_Message.Marshal(b, m, deterministic) 1431 } 1432 func (m *Message) XXX_Merge(src proto.Message) { 1433 xxx_messageInfo_Message.Merge(m, src) 1434 } 1435 func (m *Message) XXX_Size() int { 1436 return xxx_messageInfo_Message.Size(m) 1437 } 1438 func (m *Message) XXX_DiscardUnknown() { 1439 xxx_messageInfo_Message.DiscardUnknown(m) 1440 } 1441 1442 var xxx_messageInfo_Message proto.InternalMessageInfo 1443 1444 type isMessage_Input interface { 1445 isMessage_Input() 1446 } 1447 1448 type Message_Init struct { 1449 Init *InitMessage `protobuf:"bytes,1,opt,name=Init,proto3,oneof" json:"Init,omitempty"` 1450 } 1451 type Message_File struct { 1452 File *FdMessage `protobuf:"bytes,2,opt,name=File,proto3,oneof" json:"File,omitempty"` 1453 } 1454 type Message_Resize struct { 1455 Resize *ResizeMessage `protobuf:"bytes,3,opt,name=Resize,proto3,oneof" json:"Resize,omitempty"` 1456 } 1457 type Message_Signal struct { 1458 Signal *SignalMessage `protobuf:"bytes,4,opt,name=Signal,proto3,oneof" json:"Signal,omitempty"` 1459 } 1460 1461 func (*Message_Init) isMessage_Input() {} 1462 func (*Message_File) isMessage_Input() {} 1463 func (*Message_Resize) isMessage_Input() {} 1464 func (*Message_Signal) isMessage_Input() {} 1465 1466 func (m *Message) GetInput() isMessage_Input { 1467 if m != nil { 1468 return m.Input 1469 } 1470 return nil 1471 } 1472 1473 func (m *Message) GetInit() *InitMessage { 1474 if x, ok := m.GetInput().(*Message_Init); ok { 1475 return x.Init 1476 } 1477 return nil 1478 } 1479 1480 func (m *Message) GetFile() *FdMessage { 1481 if x, ok := m.GetInput().(*Message_File); ok { 1482 return x.File 1483 } 1484 return nil 1485 } 1486 1487 func (m *Message) GetResize() *ResizeMessage { 1488 if x, ok := m.GetInput().(*Message_Resize); ok { 1489 return x.Resize 1490 } 1491 return nil 1492 } 1493 1494 func (m *Message) GetSignal() *SignalMessage { 1495 if x, ok := m.GetInput().(*Message_Signal); ok { 1496 return x.Signal 1497 } 1498 return nil 1499 } 1500 1501 // XXX_OneofWrappers is for the internal use of the proto package. 1502 func (*Message) XXX_OneofWrappers() []interface{} { 1503 return []interface{}{ 1504 (*Message_Init)(nil), 1505 (*Message_File)(nil), 1506 (*Message_Resize)(nil), 1507 (*Message_Signal)(nil), 1508 } 1509 } 1510 1511 type InitMessage struct { 1512 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 1513 // If ProcessID already exists in the server, it tries to connect to it 1514 // instead of invoking the new one. In this case, InvokeConfig will be ignored. 1515 ProcessID string `protobuf:"bytes,2,opt,name=ProcessID,proto3" json:"ProcessID,omitempty"` 1516 InvokeConfig *InvokeConfig `protobuf:"bytes,3,opt,name=InvokeConfig,proto3" json:"InvokeConfig,omitempty"` 1517 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1518 XXX_unrecognized []byte `json:"-"` 1519 XXX_sizecache int32 `json:"-"` 1520 } 1521 1522 func (m *InitMessage) Reset() { *m = InitMessage{} } 1523 func (m *InitMessage) String() string { return proto.CompactTextString(m) } 1524 func (*InitMessage) ProtoMessage() {} 1525 func (*InitMessage) Descriptor() ([]byte, []int) { 1526 return fileDescriptor_ed7f10298fa1d90f, []int{27} 1527 } 1528 func (m *InitMessage) XXX_Unmarshal(b []byte) error { 1529 return xxx_messageInfo_InitMessage.Unmarshal(m, b) 1530 } 1531 func (m *InitMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1532 return xxx_messageInfo_InitMessage.Marshal(b, m, deterministic) 1533 } 1534 func (m *InitMessage) XXX_Merge(src proto.Message) { 1535 xxx_messageInfo_InitMessage.Merge(m, src) 1536 } 1537 func (m *InitMessage) XXX_Size() int { 1538 return xxx_messageInfo_InitMessage.Size(m) 1539 } 1540 func (m *InitMessage) XXX_DiscardUnknown() { 1541 xxx_messageInfo_InitMessage.DiscardUnknown(m) 1542 } 1543 1544 var xxx_messageInfo_InitMessage proto.InternalMessageInfo 1545 1546 func (m *InitMessage) GetRef() string { 1547 if m != nil { 1548 return m.Ref 1549 } 1550 return "" 1551 } 1552 1553 func (m *InitMessage) GetProcessID() string { 1554 if m != nil { 1555 return m.ProcessID 1556 } 1557 return "" 1558 } 1559 1560 func (m *InitMessage) GetInvokeConfig() *InvokeConfig { 1561 if m != nil { 1562 return m.InvokeConfig 1563 } 1564 return nil 1565 } 1566 1567 type InvokeConfig struct { 1568 Entrypoint []string `protobuf:"bytes,1,rep,name=Entrypoint,proto3" json:"Entrypoint,omitempty"` 1569 Cmd []string `protobuf:"bytes,2,rep,name=Cmd,proto3" json:"Cmd,omitempty"` 1570 NoCmd bool `protobuf:"varint,11,opt,name=NoCmd,proto3" json:"NoCmd,omitempty"` 1571 Env []string `protobuf:"bytes,3,rep,name=Env,proto3" json:"Env,omitempty"` 1572 User string `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"` 1573 NoUser bool `protobuf:"varint,5,opt,name=NoUser,proto3" json:"NoUser,omitempty"` 1574 Cwd string `protobuf:"bytes,6,opt,name=Cwd,proto3" json:"Cwd,omitempty"` 1575 NoCwd bool `protobuf:"varint,7,opt,name=NoCwd,proto3" json:"NoCwd,omitempty"` 1576 Tty bool `protobuf:"varint,8,opt,name=Tty,proto3" json:"Tty,omitempty"` 1577 Rollback bool `protobuf:"varint,9,opt,name=Rollback,proto3" json:"Rollback,omitempty"` 1578 Initial bool `protobuf:"varint,10,opt,name=Initial,proto3" json:"Initial,omitempty"` 1579 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1580 XXX_unrecognized []byte `json:"-"` 1581 XXX_sizecache int32 `json:"-"` 1582 } 1583 1584 func (m *InvokeConfig) Reset() { *m = InvokeConfig{} } 1585 func (m *InvokeConfig) String() string { return proto.CompactTextString(m) } 1586 func (*InvokeConfig) ProtoMessage() {} 1587 func (*InvokeConfig) Descriptor() ([]byte, []int) { 1588 return fileDescriptor_ed7f10298fa1d90f, []int{28} 1589 } 1590 func (m *InvokeConfig) XXX_Unmarshal(b []byte) error { 1591 return xxx_messageInfo_InvokeConfig.Unmarshal(m, b) 1592 } 1593 func (m *InvokeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1594 return xxx_messageInfo_InvokeConfig.Marshal(b, m, deterministic) 1595 } 1596 func (m *InvokeConfig) XXX_Merge(src proto.Message) { 1597 xxx_messageInfo_InvokeConfig.Merge(m, src) 1598 } 1599 func (m *InvokeConfig) XXX_Size() int { 1600 return xxx_messageInfo_InvokeConfig.Size(m) 1601 } 1602 func (m *InvokeConfig) XXX_DiscardUnknown() { 1603 xxx_messageInfo_InvokeConfig.DiscardUnknown(m) 1604 } 1605 1606 var xxx_messageInfo_InvokeConfig proto.InternalMessageInfo 1607 1608 func (m *InvokeConfig) GetEntrypoint() []string { 1609 if m != nil { 1610 return m.Entrypoint 1611 } 1612 return nil 1613 } 1614 1615 func (m *InvokeConfig) GetCmd() []string { 1616 if m != nil { 1617 return m.Cmd 1618 } 1619 return nil 1620 } 1621 1622 func (m *InvokeConfig) GetNoCmd() bool { 1623 if m != nil { 1624 return m.NoCmd 1625 } 1626 return false 1627 } 1628 1629 func (m *InvokeConfig) GetEnv() []string { 1630 if m != nil { 1631 return m.Env 1632 } 1633 return nil 1634 } 1635 1636 func (m *InvokeConfig) GetUser() string { 1637 if m != nil { 1638 return m.User 1639 } 1640 return "" 1641 } 1642 1643 func (m *InvokeConfig) GetNoUser() bool { 1644 if m != nil { 1645 return m.NoUser 1646 } 1647 return false 1648 } 1649 1650 func (m *InvokeConfig) GetCwd() string { 1651 if m != nil { 1652 return m.Cwd 1653 } 1654 return "" 1655 } 1656 1657 func (m *InvokeConfig) GetNoCwd() bool { 1658 if m != nil { 1659 return m.NoCwd 1660 } 1661 return false 1662 } 1663 1664 func (m *InvokeConfig) GetTty() bool { 1665 if m != nil { 1666 return m.Tty 1667 } 1668 return false 1669 } 1670 1671 func (m *InvokeConfig) GetRollback() bool { 1672 if m != nil { 1673 return m.Rollback 1674 } 1675 return false 1676 } 1677 1678 func (m *InvokeConfig) GetInitial() bool { 1679 if m != nil { 1680 return m.Initial 1681 } 1682 return false 1683 } 1684 1685 type FdMessage struct { 1686 Fd uint32 `protobuf:"varint,1,opt,name=Fd,proto3" json:"Fd,omitempty"` 1687 EOF bool `protobuf:"varint,2,opt,name=EOF,proto3" json:"EOF,omitempty"` 1688 Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` 1689 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1690 XXX_unrecognized []byte `json:"-"` 1691 XXX_sizecache int32 `json:"-"` 1692 } 1693 1694 func (m *FdMessage) Reset() { *m = FdMessage{} } 1695 func (m *FdMessage) String() string { return proto.CompactTextString(m) } 1696 func (*FdMessage) ProtoMessage() {} 1697 func (*FdMessage) Descriptor() ([]byte, []int) { 1698 return fileDescriptor_ed7f10298fa1d90f, []int{29} 1699 } 1700 func (m *FdMessage) XXX_Unmarshal(b []byte) error { 1701 return xxx_messageInfo_FdMessage.Unmarshal(m, b) 1702 } 1703 func (m *FdMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1704 return xxx_messageInfo_FdMessage.Marshal(b, m, deterministic) 1705 } 1706 func (m *FdMessage) XXX_Merge(src proto.Message) { 1707 xxx_messageInfo_FdMessage.Merge(m, src) 1708 } 1709 func (m *FdMessage) XXX_Size() int { 1710 return xxx_messageInfo_FdMessage.Size(m) 1711 } 1712 func (m *FdMessage) XXX_DiscardUnknown() { 1713 xxx_messageInfo_FdMessage.DiscardUnknown(m) 1714 } 1715 1716 var xxx_messageInfo_FdMessage proto.InternalMessageInfo 1717 1718 func (m *FdMessage) GetFd() uint32 { 1719 if m != nil { 1720 return m.Fd 1721 } 1722 return 0 1723 } 1724 1725 func (m *FdMessage) GetEOF() bool { 1726 if m != nil { 1727 return m.EOF 1728 } 1729 return false 1730 } 1731 1732 func (m *FdMessage) GetData() []byte { 1733 if m != nil { 1734 return m.Data 1735 } 1736 return nil 1737 } 1738 1739 type ResizeMessage struct { 1740 Rows uint32 `protobuf:"varint,1,opt,name=Rows,proto3" json:"Rows,omitempty"` 1741 Cols uint32 `protobuf:"varint,2,opt,name=Cols,proto3" json:"Cols,omitempty"` 1742 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1743 XXX_unrecognized []byte `json:"-"` 1744 XXX_sizecache int32 `json:"-"` 1745 } 1746 1747 func (m *ResizeMessage) Reset() { *m = ResizeMessage{} } 1748 func (m *ResizeMessage) String() string { return proto.CompactTextString(m) } 1749 func (*ResizeMessage) ProtoMessage() {} 1750 func (*ResizeMessage) Descriptor() ([]byte, []int) { 1751 return fileDescriptor_ed7f10298fa1d90f, []int{30} 1752 } 1753 func (m *ResizeMessage) XXX_Unmarshal(b []byte) error { 1754 return xxx_messageInfo_ResizeMessage.Unmarshal(m, b) 1755 } 1756 func (m *ResizeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1757 return xxx_messageInfo_ResizeMessage.Marshal(b, m, deterministic) 1758 } 1759 func (m *ResizeMessage) XXX_Merge(src proto.Message) { 1760 xxx_messageInfo_ResizeMessage.Merge(m, src) 1761 } 1762 func (m *ResizeMessage) XXX_Size() int { 1763 return xxx_messageInfo_ResizeMessage.Size(m) 1764 } 1765 func (m *ResizeMessage) XXX_DiscardUnknown() { 1766 xxx_messageInfo_ResizeMessage.DiscardUnknown(m) 1767 } 1768 1769 var xxx_messageInfo_ResizeMessage proto.InternalMessageInfo 1770 1771 func (m *ResizeMessage) GetRows() uint32 { 1772 if m != nil { 1773 return m.Rows 1774 } 1775 return 0 1776 } 1777 1778 func (m *ResizeMessage) GetCols() uint32 { 1779 if m != nil { 1780 return m.Cols 1781 } 1782 return 0 1783 } 1784 1785 type SignalMessage struct { 1786 // we only send name (ie HUP, INT) because the int values 1787 // are platform dependent. 1788 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 1789 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1790 XXX_unrecognized []byte `json:"-"` 1791 XXX_sizecache int32 `json:"-"` 1792 } 1793 1794 func (m *SignalMessage) Reset() { *m = SignalMessage{} } 1795 func (m *SignalMessage) String() string { return proto.CompactTextString(m) } 1796 func (*SignalMessage) ProtoMessage() {} 1797 func (*SignalMessage) Descriptor() ([]byte, []int) { 1798 return fileDescriptor_ed7f10298fa1d90f, []int{31} 1799 } 1800 func (m *SignalMessage) XXX_Unmarshal(b []byte) error { 1801 return xxx_messageInfo_SignalMessage.Unmarshal(m, b) 1802 } 1803 func (m *SignalMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1804 return xxx_messageInfo_SignalMessage.Marshal(b, m, deterministic) 1805 } 1806 func (m *SignalMessage) XXX_Merge(src proto.Message) { 1807 xxx_messageInfo_SignalMessage.Merge(m, src) 1808 } 1809 func (m *SignalMessage) XXX_Size() int { 1810 return xxx_messageInfo_SignalMessage.Size(m) 1811 } 1812 func (m *SignalMessage) XXX_DiscardUnknown() { 1813 xxx_messageInfo_SignalMessage.DiscardUnknown(m) 1814 } 1815 1816 var xxx_messageInfo_SignalMessage proto.InternalMessageInfo 1817 1818 func (m *SignalMessage) GetName() string { 1819 if m != nil { 1820 return m.Name 1821 } 1822 return "" 1823 } 1824 1825 type StatusRequest struct { 1826 Ref string `protobuf:"bytes,1,opt,name=Ref,proto3" json:"Ref,omitempty"` 1827 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1828 XXX_unrecognized []byte `json:"-"` 1829 XXX_sizecache int32 `json:"-"` 1830 } 1831 1832 func (m *StatusRequest) Reset() { *m = StatusRequest{} } 1833 func (m *StatusRequest) String() string { return proto.CompactTextString(m) } 1834 func (*StatusRequest) ProtoMessage() {} 1835 func (*StatusRequest) Descriptor() ([]byte, []int) { 1836 return fileDescriptor_ed7f10298fa1d90f, []int{32} 1837 } 1838 func (m *StatusRequest) XXX_Unmarshal(b []byte) error { 1839 return xxx_messageInfo_StatusRequest.Unmarshal(m, b) 1840 } 1841 func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1842 return xxx_messageInfo_StatusRequest.Marshal(b, m, deterministic) 1843 } 1844 func (m *StatusRequest) XXX_Merge(src proto.Message) { 1845 xxx_messageInfo_StatusRequest.Merge(m, src) 1846 } 1847 func (m *StatusRequest) XXX_Size() int { 1848 return xxx_messageInfo_StatusRequest.Size(m) 1849 } 1850 func (m *StatusRequest) XXX_DiscardUnknown() { 1851 xxx_messageInfo_StatusRequest.DiscardUnknown(m) 1852 } 1853 1854 var xxx_messageInfo_StatusRequest proto.InternalMessageInfo 1855 1856 func (m *StatusRequest) GetRef() string { 1857 if m != nil { 1858 return m.Ref 1859 } 1860 return "" 1861 } 1862 1863 type StatusResponse struct { 1864 Vertexes []*control.Vertex `protobuf:"bytes,1,rep,name=vertexes,proto3" json:"vertexes,omitempty"` 1865 Statuses []*control.VertexStatus `protobuf:"bytes,2,rep,name=statuses,proto3" json:"statuses,omitempty"` 1866 Logs []*control.VertexLog `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"` 1867 Warnings []*control.VertexWarning `protobuf:"bytes,4,rep,name=warnings,proto3" json:"warnings,omitempty"` 1868 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1869 XXX_unrecognized []byte `json:"-"` 1870 XXX_sizecache int32 `json:"-"` 1871 } 1872 1873 func (m *StatusResponse) Reset() { *m = StatusResponse{} } 1874 func (m *StatusResponse) String() string { return proto.CompactTextString(m) } 1875 func (*StatusResponse) ProtoMessage() {} 1876 func (*StatusResponse) Descriptor() ([]byte, []int) { 1877 return fileDescriptor_ed7f10298fa1d90f, []int{33} 1878 } 1879 func (m *StatusResponse) XXX_Unmarshal(b []byte) error { 1880 return xxx_messageInfo_StatusResponse.Unmarshal(m, b) 1881 } 1882 func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1883 return xxx_messageInfo_StatusResponse.Marshal(b, m, deterministic) 1884 } 1885 func (m *StatusResponse) XXX_Merge(src proto.Message) { 1886 xxx_messageInfo_StatusResponse.Merge(m, src) 1887 } 1888 func (m *StatusResponse) XXX_Size() int { 1889 return xxx_messageInfo_StatusResponse.Size(m) 1890 } 1891 func (m *StatusResponse) XXX_DiscardUnknown() { 1892 xxx_messageInfo_StatusResponse.DiscardUnknown(m) 1893 } 1894 1895 var xxx_messageInfo_StatusResponse proto.InternalMessageInfo 1896 1897 func (m *StatusResponse) GetVertexes() []*control.Vertex { 1898 if m != nil { 1899 return m.Vertexes 1900 } 1901 return nil 1902 } 1903 1904 func (m *StatusResponse) GetStatuses() []*control.VertexStatus { 1905 if m != nil { 1906 return m.Statuses 1907 } 1908 return nil 1909 } 1910 1911 func (m *StatusResponse) GetLogs() []*control.VertexLog { 1912 if m != nil { 1913 return m.Logs 1914 } 1915 return nil 1916 } 1917 1918 func (m *StatusResponse) GetWarnings() []*control.VertexWarning { 1919 if m != nil { 1920 return m.Warnings 1921 } 1922 return nil 1923 } 1924 1925 type InfoRequest struct { 1926 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1927 XXX_unrecognized []byte `json:"-"` 1928 XXX_sizecache int32 `json:"-"` 1929 } 1930 1931 func (m *InfoRequest) Reset() { *m = InfoRequest{} } 1932 func (m *InfoRequest) String() string { return proto.CompactTextString(m) } 1933 func (*InfoRequest) ProtoMessage() {} 1934 func (*InfoRequest) Descriptor() ([]byte, []int) { 1935 return fileDescriptor_ed7f10298fa1d90f, []int{34} 1936 } 1937 func (m *InfoRequest) XXX_Unmarshal(b []byte) error { 1938 return xxx_messageInfo_InfoRequest.Unmarshal(m, b) 1939 } 1940 func (m *InfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1941 return xxx_messageInfo_InfoRequest.Marshal(b, m, deterministic) 1942 } 1943 func (m *InfoRequest) XXX_Merge(src proto.Message) { 1944 xxx_messageInfo_InfoRequest.Merge(m, src) 1945 } 1946 func (m *InfoRequest) XXX_Size() int { 1947 return xxx_messageInfo_InfoRequest.Size(m) 1948 } 1949 func (m *InfoRequest) XXX_DiscardUnknown() { 1950 xxx_messageInfo_InfoRequest.DiscardUnknown(m) 1951 } 1952 1953 var xxx_messageInfo_InfoRequest proto.InternalMessageInfo 1954 1955 type InfoResponse struct { 1956 BuildxVersion *BuildxVersion `protobuf:"bytes,1,opt,name=buildxVersion,proto3" json:"buildxVersion,omitempty"` 1957 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1958 XXX_unrecognized []byte `json:"-"` 1959 XXX_sizecache int32 `json:"-"` 1960 } 1961 1962 func (m *InfoResponse) Reset() { *m = InfoResponse{} } 1963 func (m *InfoResponse) String() string { return proto.CompactTextString(m) } 1964 func (*InfoResponse) ProtoMessage() {} 1965 func (*InfoResponse) Descriptor() ([]byte, []int) { 1966 return fileDescriptor_ed7f10298fa1d90f, []int{35} 1967 } 1968 func (m *InfoResponse) XXX_Unmarshal(b []byte) error { 1969 return xxx_messageInfo_InfoResponse.Unmarshal(m, b) 1970 } 1971 func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1972 return xxx_messageInfo_InfoResponse.Marshal(b, m, deterministic) 1973 } 1974 func (m *InfoResponse) XXX_Merge(src proto.Message) { 1975 xxx_messageInfo_InfoResponse.Merge(m, src) 1976 } 1977 func (m *InfoResponse) XXX_Size() int { 1978 return xxx_messageInfo_InfoResponse.Size(m) 1979 } 1980 func (m *InfoResponse) XXX_DiscardUnknown() { 1981 xxx_messageInfo_InfoResponse.DiscardUnknown(m) 1982 } 1983 1984 var xxx_messageInfo_InfoResponse proto.InternalMessageInfo 1985 1986 func (m *InfoResponse) GetBuildxVersion() *BuildxVersion { 1987 if m != nil { 1988 return m.BuildxVersion 1989 } 1990 return nil 1991 } 1992 1993 type BuildxVersion struct { 1994 Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"` 1995 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 1996 Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` 1997 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1998 XXX_unrecognized []byte `json:"-"` 1999 XXX_sizecache int32 `json:"-"` 2000 } 2001 2002 func (m *BuildxVersion) Reset() { *m = BuildxVersion{} } 2003 func (m *BuildxVersion) String() string { return proto.CompactTextString(m) } 2004 func (*BuildxVersion) ProtoMessage() {} 2005 func (*BuildxVersion) Descriptor() ([]byte, []int) { 2006 return fileDescriptor_ed7f10298fa1d90f, []int{36} 2007 } 2008 func (m *BuildxVersion) XXX_Unmarshal(b []byte) error { 2009 return xxx_messageInfo_BuildxVersion.Unmarshal(m, b) 2010 } 2011 func (m *BuildxVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2012 return xxx_messageInfo_BuildxVersion.Marshal(b, m, deterministic) 2013 } 2014 func (m *BuildxVersion) XXX_Merge(src proto.Message) { 2015 xxx_messageInfo_BuildxVersion.Merge(m, src) 2016 } 2017 func (m *BuildxVersion) XXX_Size() int { 2018 return xxx_messageInfo_BuildxVersion.Size(m) 2019 } 2020 func (m *BuildxVersion) XXX_DiscardUnknown() { 2021 xxx_messageInfo_BuildxVersion.DiscardUnknown(m) 2022 } 2023 2024 var xxx_messageInfo_BuildxVersion proto.InternalMessageInfo 2025 2026 func (m *BuildxVersion) GetPackage() string { 2027 if m != nil { 2028 return m.Package 2029 } 2030 return "" 2031 } 2032 2033 func (m *BuildxVersion) GetVersion() string { 2034 if m != nil { 2035 return m.Version 2036 } 2037 return "" 2038 } 2039 2040 func (m *BuildxVersion) GetRevision() string { 2041 if m != nil { 2042 return m.Revision 2043 } 2044 return "" 2045 } 2046 2047 func init() { 2048 proto.RegisterType((*ListProcessesRequest)(nil), "buildx.controller.v1.ListProcessesRequest") 2049 proto.RegisterType((*ListProcessesResponse)(nil), "buildx.controller.v1.ListProcessesResponse") 2050 proto.RegisterType((*ProcessInfo)(nil), "buildx.controller.v1.ProcessInfo") 2051 proto.RegisterType((*DisconnectProcessRequest)(nil), "buildx.controller.v1.DisconnectProcessRequest") 2052 proto.RegisterType((*DisconnectProcessResponse)(nil), "buildx.controller.v1.DisconnectProcessResponse") 2053 proto.RegisterType((*BuildRequest)(nil), "buildx.controller.v1.BuildRequest") 2054 proto.RegisterType((*BuildOptions)(nil), "buildx.controller.v1.BuildOptions") 2055 proto.RegisterMapType((map[string]string)(nil), "buildx.controller.v1.BuildOptions.BuildArgsEntry") 2056 proto.RegisterMapType((map[string]string)(nil), "buildx.controller.v1.BuildOptions.LabelsEntry") 2057 proto.RegisterMapType((map[string]string)(nil), "buildx.controller.v1.BuildOptions.NamedContextsEntry") 2058 proto.RegisterType((*ExportEntry)(nil), "buildx.controller.v1.ExportEntry") 2059 proto.RegisterMapType((map[string]string)(nil), "buildx.controller.v1.ExportEntry.AttrsEntry") 2060 proto.RegisterType((*CacheOptionsEntry)(nil), "buildx.controller.v1.CacheOptionsEntry") 2061 proto.RegisterMapType((map[string]string)(nil), "buildx.controller.v1.CacheOptionsEntry.AttrsEntry") 2062 proto.RegisterType((*Attest)(nil), "buildx.controller.v1.Attest") 2063 proto.RegisterType((*SSH)(nil), "buildx.controller.v1.SSH") 2064 proto.RegisterType((*Secret)(nil), "buildx.controller.v1.Secret") 2065 proto.RegisterType((*PrintFunc)(nil), "buildx.controller.v1.PrintFunc") 2066 proto.RegisterType((*InspectRequest)(nil), "buildx.controller.v1.InspectRequest") 2067 proto.RegisterType((*InspectResponse)(nil), "buildx.controller.v1.InspectResponse") 2068 proto.RegisterType((*UlimitOpt)(nil), "buildx.controller.v1.UlimitOpt") 2069 proto.RegisterMapType((map[string]*Ulimit)(nil), "buildx.controller.v1.UlimitOpt.ValuesEntry") 2070 proto.RegisterType((*Ulimit)(nil), "buildx.controller.v1.Ulimit") 2071 proto.RegisterType((*BuildResponse)(nil), "buildx.controller.v1.BuildResponse") 2072 proto.RegisterMapType((map[string]string)(nil), "buildx.controller.v1.BuildResponse.ExporterResponseEntry") 2073 proto.RegisterType((*DisconnectRequest)(nil), "buildx.controller.v1.DisconnectRequest") 2074 proto.RegisterType((*DisconnectResponse)(nil), "buildx.controller.v1.DisconnectResponse") 2075 proto.RegisterType((*ListRequest)(nil), "buildx.controller.v1.ListRequest") 2076 proto.RegisterType((*ListResponse)(nil), "buildx.controller.v1.ListResponse") 2077 proto.RegisterType((*InputMessage)(nil), "buildx.controller.v1.InputMessage") 2078 proto.RegisterType((*InputInitMessage)(nil), "buildx.controller.v1.InputInitMessage") 2079 proto.RegisterType((*DataMessage)(nil), "buildx.controller.v1.DataMessage") 2080 proto.RegisterType((*InputResponse)(nil), "buildx.controller.v1.InputResponse") 2081 proto.RegisterType((*Message)(nil), "buildx.controller.v1.Message") 2082 proto.RegisterType((*InitMessage)(nil), "buildx.controller.v1.InitMessage") 2083 proto.RegisterType((*InvokeConfig)(nil), "buildx.controller.v1.InvokeConfig") 2084 proto.RegisterType((*FdMessage)(nil), "buildx.controller.v1.FdMessage") 2085 proto.RegisterType((*ResizeMessage)(nil), "buildx.controller.v1.ResizeMessage") 2086 proto.RegisterType((*SignalMessage)(nil), "buildx.controller.v1.SignalMessage") 2087 proto.RegisterType((*StatusRequest)(nil), "buildx.controller.v1.StatusRequest") 2088 proto.RegisterType((*StatusResponse)(nil), "buildx.controller.v1.StatusResponse") 2089 proto.RegisterType((*InfoRequest)(nil), "buildx.controller.v1.InfoRequest") 2090 proto.RegisterType((*InfoResponse)(nil), "buildx.controller.v1.InfoResponse") 2091 proto.RegisterType((*BuildxVersion)(nil), "buildx.controller.v1.BuildxVersion") 2092 } 2093 2094 func init() { proto.RegisterFile("controller.proto", fileDescriptor_ed7f10298fa1d90f) } 2095 2096 var fileDescriptor_ed7f10298fa1d90f = []byte{ 2097 // 1960 bytes of a gzipped FileDescriptorProto 2098 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0x5f, 0x73, 0x1b, 0x49, 2099 0x11, 0x67, 0x25, 0x59, 0x7f, 0x5a, 0x96, 0xcf, 0x19, 0x9c, 0x30, 0xd9, 0xe4, 0x12, 0x67, 0x93, 2100 0x1c, 0x2a, 0x42, 0xc9, 0x77, 0x3e, 0x72, 0xb9, 0x5c, 0xee, 0xaa, 0xb0, 0x65, 0x0b, 0xfb, 0x2a, 2101 0xb1, 0x5d, 0x23, 0x27, 0x29, 0xb8, 0x2a, 0xae, 0x56, 0xd2, 0x58, 0xde, 0xd2, 0x6a, 0x47, 0xec, 2102 0x8c, 0x64, 0x8b, 0x27, 0x1e, 0xe0, 0x8d, 0xe2, 0x7b, 0x50, 0x7c, 0x04, 0x9e, 0x78, 0xe3, 0xe3, 2103 0xf0, 0x11, 0xa8, 0xf9, 0xb3, 0xab, 0x5d, 0x4b, 0x2b, 0xdb, 0xf0, 0xa4, 0xe9, 0x9e, 0x5f, 0x77, 2104 0x4f, 0xf7, 0xf6, 0x74, 0xf7, 0x08, 0xd6, 0xbb, 0x2c, 0x10, 0x21, 0xf3, 0x7d, 0x1a, 0x36, 0x46, 2105 0x21, 0x13, 0x0c, 0x6d, 0x74, 0xc6, 0x9e, 0xdf, 0xbb, 0x6c, 0x24, 0x36, 0x26, 0x5f, 0xd8, 0x6f, 2106 0xfa, 0x9e, 0x38, 0x1f, 0x77, 0x1a, 0x5d, 0x36, 0xdc, 0x1a, 0xb2, 0xce, 0x74, 0x4b, 0xa1, 0x06, 2107 0x9e, 0xd8, 0x72, 0x47, 0xde, 0x16, 0xa7, 0xe1, 0xc4, 0xeb, 0x52, 0xbe, 0x65, 0x84, 0xa2, 0x5f, 2108 0xad, 0xd2, 0x7e, 0x99, 0x29, 0xcc, 0xd9, 0x38, 0xec, 0xd2, 0x11, 0xf3, 0xbd, 0xee, 0x74, 0x6b, 2109 0xd4, 0xd9, 0xd2, 0x2b, 0x2d, 0xe6, 0xd4, 0x61, 0xe3, 0xad, 0xc7, 0xc5, 0x49, 0xc8, 0xba, 0x94, 2110 0x73, 0xca, 0x09, 0xfd, 0xc3, 0x98, 0x72, 0x81, 0xd6, 0x21, 0x4f, 0xe8, 0x19, 0xb6, 0x36, 0xad, 2111 0x7a, 0x85, 0xc8, 0xa5, 0x73, 0x02, 0x77, 0xaf, 0x20, 0xf9, 0x88, 0x05, 0x9c, 0xa2, 0x57, 0xb0, 2112 0x72, 0x18, 0x9c, 0x31, 0x8e, 0xad, 0xcd, 0x7c, 0xbd, 0xba, 0xfd, 0xa4, 0xb1, 0xc8, 0xb9, 0x86, 2113 0x91, 0x93, 0x48, 0xa2, 0xf1, 0x0e, 0x87, 0x6a, 0x82, 0x8b, 0x1e, 0x42, 0x25, 0x22, 0xf7, 0x8c, 2114 0xe1, 0x19, 0x03, 0xb5, 0x60, 0xf5, 0x30, 0x98, 0xb0, 0x01, 0x6d, 0xb2, 0xe0, 0xcc, 0xeb, 0xe3, 2115 0xdc, 0xa6, 0x55, 0xaf, 0x6e, 0x3b, 0x8b, 0x8d, 0x25, 0x91, 0x24, 0x25, 0xe7, 0x7c, 0x0f, 0x78, 2116 0xcf, 0xe3, 0x5d, 0x16, 0x04, 0xb4, 0x1b, 0x39, 0x93, 0xe9, 0x74, 0xfa, 0x4c, 0xb9, 0x2b, 0x67, 2117 0x72, 0x1e, 0xc0, 0xfd, 0x05, 0xba, 0x74, 0x58, 0x9c, 0xdf, 0xc3, 0xea, 0xae, 0x3c, 0x5b, 0xb6, 2118 0xf2, 0x6f, 0xa1, 0x74, 0x3c, 0x12, 0x1e, 0x0b, 0xf8, 0x72, 0x6f, 0x94, 0x1a, 0x83, 0x24, 0x91, 2119 0x88, 0xf3, 0xef, 0x55, 0x63, 0xc0, 0x30, 0xd0, 0x26, 0x54, 0x9b, 0x2c, 0x10, 0xf4, 0x52, 0x9c, 2120 0xb8, 0xe2, 0xdc, 0x18, 0x4a, 0xb2, 0xd0, 0x67, 0xb0, 0xb6, 0xc7, 0xba, 0x03, 0x1a, 0x9e, 0x79, 2121 0x3e, 0x3d, 0x72, 0x87, 0xd4, 0xb8, 0x74, 0x85, 0x8b, 0xbe, 0x93, 0x5e, 0x7b, 0x81, 0x68, 0x8d, 2122 0x83, 0x2e, 0xce, 0xab, 0xa3, 0x3d, 0xce, 0xfa, 0xaa, 0x06, 0x46, 0x66, 0x12, 0xe8, 0x07, 0xa8, 2123 0x49, 0x35, 0x3d, 0x63, 0x9a, 0xe3, 0x82, 0x4a, 0x8c, 0x97, 0xd7, 0x7b, 0xd7, 0x48, 0xc9, 0xed, 2124 0x07, 0x22, 0x9c, 0x92, 0xb4, 0x2e, 0xb4, 0x01, 0x2b, 0x3b, 0xbe, 0xcf, 0x2e, 0xf0, 0xca, 0x66, 2125 0xbe, 0x5e, 0x21, 0x9a, 0x40, 0x5f, 0x41, 0x69, 0x47, 0x08, 0xca, 0x05, 0xc7, 0x45, 0x65, 0xec, 2126 0xe1, 0x62, 0x63, 0x1a, 0x44, 0x22, 0x30, 0x3a, 0x86, 0x8a, 0xb2, 0xbf, 0x13, 0xf6, 0x39, 0x2e, 2127 0x29, 0xc9, 0x2f, 0x6e, 0x70, 0xcc, 0x58, 0x46, 0x1f, 0x71, 0xa6, 0x03, 0xed, 0x43, 0xa5, 0xe9, 2128 0x76, 0xcf, 0x69, 0x2b, 0x64, 0x43, 0x5c, 0x56, 0x0a, 0x7f, 0xbe, 0x58, 0xa1, 0x82, 0x19, 0x85, 2129 0x46, 0x4d, 0x2c, 0x89, 0x76, 0xa0, 0xa4, 0x88, 0x53, 0x86, 0x2b, 0xb7, 0x53, 0x12, 0xc9, 0x21, 2130 0x07, 0x56, 0x9b, 0xfd, 0x90, 0x8d, 0x47, 0x27, 0x6e, 0x48, 0x03, 0x81, 0x41, 0x7d, 0xea, 0x14, 2131 0x0f, 0xbd, 0x81, 0xd2, 0xfe, 0xe5, 0x88, 0x85, 0x82, 0xe3, 0xea, 0xb2, 0xcb, 0xab, 0x41, 0xc6, 2132 0x80, 0x91, 0x40, 0x8f, 0x00, 0xf6, 0x2f, 0x45, 0xe8, 0x1e, 0x30, 0x19, 0xf6, 0x55, 0xf5, 0x39, 2133 0x12, 0x1c, 0xd4, 0x82, 0xe2, 0x5b, 0xb7, 0x43, 0x7d, 0x8e, 0x6b, 0x4a, 0x77, 0xe3, 0x06, 0x81, 2134 0xd5, 0x02, 0xda, 0x90, 0x91, 0x96, 0x79, 0x7d, 0x44, 0xc5, 0x05, 0x0b, 0x07, 0xef, 0x58, 0x8f, 2135 0xe2, 0x35, 0x9d, 0xd7, 0x09, 0x16, 0x7a, 0x06, 0xb5, 0x23, 0xa6, 0x83, 0xe7, 0xf9, 0x82, 0x86, 2136 0xf8, 0x13, 0x75, 0x98, 0x34, 0x53, 0xdd, 0x65, 0xdf, 0x15, 0x67, 0x2c, 0x1c, 0x72, 0xbc, 0xae, 2137 0x10, 0x33, 0x86, 0xcc, 0xa0, 0x36, 0xed, 0x86, 0x54, 0x70, 0x7c, 0x67, 0x59, 0x06, 0x69, 0x10, 2138 0x89, 0xc0, 0x08, 0x43, 0xa9, 0x7d, 0x3e, 0x6c, 0x7b, 0x7f, 0xa4, 0x18, 0x6d, 0x5a, 0xf5, 0x3c, 2139 0x89, 0x48, 0xf4, 0x02, 0xf2, 0xed, 0xf6, 0x01, 0xfe, 0xa9, 0xd2, 0x76, 0x3f, 0x43, 0x5b, 0xfb, 2140 0x80, 0x48, 0x14, 0x42, 0x50, 0x38, 0x75, 0xfb, 0x1c, 0x6f, 0xa8, 0x73, 0xa9, 0x35, 0xba, 0x07, 2141 0xc5, 0x53, 0x37, 0xec, 0x53, 0x81, 0xef, 0x2a, 0x9f, 0x0d, 0x85, 0x5e, 0x43, 0xe9, 0xbd, 0xef, 2142 0x0d, 0x3d, 0xc1, 0xf1, 0xbd, 0x65, 0x97, 0x53, 0x83, 0x8e, 0x47, 0x82, 0x44, 0x78, 0x79, 0x5a, 2143 0x15, 0x6f, 0x1a, 0xe2, 0x9f, 0x29, 0x9d, 0x11, 0x29, 0x77, 0x4c, 0xb8, 0x30, 0xde, 0xb4, 0xea, 2144 0x65, 0x12, 0x91, 0xf2, 0x68, 0x27, 0x63, 0xdf, 0xc7, 0xf7, 0x15, 0x5b, 0xad, 0xf5, 0xb7, 0x97, 2145 0x69, 0x70, 0x32, 0xe6, 0xe7, 0xd8, 0x56, 0x3b, 0x09, 0xce, 0x6c, 0xff, 0x2d, 0x73, 0x7b, 0xf8, 2146 0x41, 0x72, 0x5f, 0x72, 0xd0, 0x21, 0xac, 0xb6, 0x55, 0x5b, 0x3a, 0x51, 0xcd, 0x08, 0x3f, 0x54, 2147 0x7e, 0x3c, 0x6f, 0xc8, 0xce, 0xd5, 0x88, 0x3a, 0x97, 0xf4, 0x21, 0xd9, 0xbc, 0x1a, 0x1a, 0x4c, 2148 0x52, 0xa2, 0x51, 0x5d, 0xfd, 0x74, 0x56, 0x57, 0x6d, 0x28, 0xff, 0x46, 0x26, 0xb9, 0x64, 0x3f, 2149 0x52, 0xec, 0x98, 0x96, 0xc9, 0xb4, 0x13, 0x04, 0x4c, 0xb8, 0xba, 0xee, 0x3e, 0x56, 0xe1, 0x4e, 2150 0xb2, 0xd0, 0x57, 0x70, 0xef, 0xa3, 0x27, 0xce, 0x4f, 0x42, 0x36, 0xa1, 0x81, 0x1b, 0x74, 0x69, 2151 0x54, 0xd1, 0xf1, 0xa6, 0x72, 0x23, 0x63, 0xd7, 0xfe, 0x35, 0xa0, 0xf9, 0xea, 0x25, 0x4f, 0x37, 2152 0xa0, 0xd3, 0xa8, 0xea, 0x0f, 0xe8, 0x54, 0x16, 0xb0, 0x89, 0xeb, 0x8f, 0xa3, 0xda, 0xab, 0x89, 2153 0x6f, 0x72, 0x5f, 0x5b, 0xf6, 0xb7, 0xb0, 0x96, 0x2e, 0x2c, 0xb7, 0x92, 0x7e, 0x0d, 0xd5, 0xc4, 2154 0xed, 0xb9, 0x8d, 0xa8, 0xf3, 0x2f, 0x0b, 0xaa, 0x89, 0x2b, 0xae, 0x92, 0x71, 0x3a, 0xa2, 0x46, 2155 0x58, 0xad, 0xd1, 0x2e, 0xac, 0xec, 0x08, 0x11, 0xca, 0x56, 0x25, 0xf3, 0xf9, 0x97, 0xd7, 0x16, 2156 0x8a, 0x86, 0x82, 0xeb, 0xab, 0xac, 0x45, 0x65, 0xf0, 0xf7, 0x28, 0x17, 0x5e, 0xa0, 0x42, 0xad, 2157 0x3a, 0x4b, 0x85, 0x24, 0x59, 0xf6, 0xd7, 0x00, 0x33, 0xb1, 0x5b, 0xf9, 0xf0, 0x0f, 0x0b, 0xee, 2158 0xcc, 0x55, 0xc3, 0x85, 0x9e, 0x1c, 0xa4, 0x3d, 0xd9, 0xbe, 0x61, 0x65, 0x9d, 0xf7, 0xe7, 0xff, 2159 0x38, 0xed, 0x11, 0x14, 0x75, 0x0b, 0x5a, 0x78, 0x42, 0x1b, 0xca, 0x7b, 0x1e, 0x77, 0x3b, 0x3e, 2160 0xed, 0x29, 0xd1, 0x32, 0x89, 0x69, 0xd5, 0xff, 0xd4, 0xe9, 0x75, 0xf4, 0x34, 0xe1, 0xe8, 0x5a, 2161 0x83, 0xd6, 0x20, 0x17, 0xcf, 0x4e, 0xb9, 0xc3, 0x3d, 0x09, 0x96, 0x8d, 0x5f, 0xbb, 0x5a, 0x21, 2162 0x9a, 0x70, 0x5a, 0x50, 0xd4, 0xd5, 0x6b, 0x0e, 0x6f, 0x43, 0xb9, 0xe5, 0xf9, 0x54, 0xcd, 0x0f, 2163 0xfa, 0xcc, 0x31, 0x2d, 0xdd, 0xdb, 0x0f, 0x26, 0xc6, 0xac, 0x5c, 0x3a, 0x3f, 0x24, 0xc6, 0x04, 2164 0xe9, 0x87, 0x9a, 0x28, 0x8c, 0x1f, 0x6a, 0x8e, 0xb8, 0x07, 0xc5, 0x16, 0x0b, 0x87, 0xae, 0x30, 2165 0xca, 0x0c, 0x25, 0x5b, 0xd3, 0x61, 0x3f, 0x60, 0x21, 0x6d, 0x0b, 0x57, 0x8c, 0xb5, 0x2b, 0x65, 2166 0x92, 0xe2, 0x39, 0x0e, 0xac, 0x1d, 0x06, 0x7c, 0x44, 0xbb, 0x22, 0x7b, 0x24, 0x3d, 0x86, 0x4f, 2167 0x62, 0x8c, 0x19, 0x46, 0x13, 0x33, 0x95, 0x75, 0xfb, 0x99, 0xea, 0xef, 0x16, 0x54, 0xe2, 0xaa, 2168 0x89, 0x9a, 0x50, 0x54, 0x5f, 0x2c, 0x9a, 0x6c, 0x5f, 0x5c, 0x53, 0x66, 0x1b, 0x1f, 0x14, 0xda, 2169 0x74, 0x2f, 0x2d, 0x6a, 0x7f, 0x84, 0x6a, 0x82, 0xbd, 0x20, 0x49, 0xb6, 0x93, 0x49, 0x92, 0xd9, 2170 0x76, 0xb4, 0x91, 0x64, 0x0a, 0xed, 0x41, 0x51, 0x33, 0x17, 0x86, 0x1e, 0x41, 0xe1, 0xc0, 0x0d, 2171 0x75, 0xfa, 0xe4, 0x89, 0x5a, 0x4b, 0x5e, 0x9b, 0x9d, 0x09, 0x15, 0xee, 0x3c, 0x51, 0x6b, 0xe7, 2172 0x9f, 0x16, 0xd4, 0xcc, 0x98, 0x6a, 0x22, 0x48, 0x61, 0x5d, 0xdf, 0x62, 0x1a, 0xc6, 0x95, 0x4f, 2173 0xfb, 0xff, 0x7a, 0x49, 0x28, 0x23, 0x68, 0xe3, 0xaa, 0xac, 0x8e, 0xc6, 0x9c, 0x4a, 0xbb, 0x09, 2174 0x77, 0x17, 0x42, 0x6f, 0x75, 0x8d, 0x9e, 0xc3, 0x9d, 0xd9, 0x00, 0x9e, 0x9d, 0x27, 0x1b, 0x80, 2175 0x92, 0x30, 0x33, 0xa0, 0x3f, 0x86, 0xaa, 0x7c, 0xd0, 0x64, 0x8b, 0x39, 0xb0, 0xaa, 0x01, 0x26, 2176 0x32, 0x08, 0x0a, 0x03, 0x3a, 0xd5, 0xd9, 0x50, 0x21, 0x6a, 0xed, 0xfc, 0xcd, 0x92, 0xef, 0x92, 2177 0xd1, 0x58, 0xbc, 0xa3, 0x9c, 0xbb, 0x7d, 0x99, 0x80, 0x85, 0xc3, 0xc0, 0x13, 0x26, 0xfb, 0x3e, 2178 0xcb, 0x7a, 0x9f, 0x8c, 0xc6, 0x42, 0xc2, 0x8c, 0xd4, 0xc1, 0x4f, 0x88, 0x92, 0x42, 0xaf, 0xa0, 2179 0xb0, 0xe7, 0x0a, 0xd7, 0xe4, 0x42, 0xc6, 0x34, 0x26, 0x11, 0x09, 0x41, 0x49, 0xee, 0x96, 0xe4, 2180 0x23, 0x6c, 0x34, 0x16, 0xce, 0x33, 0x58, 0xbf, 0xaa, 0x7d, 0x81, 0x6b, 0x5f, 0x42, 0x35, 0xa1, 2181 0x45, 0xdd, 0xed, 0xe3, 0x96, 0x02, 0x94, 0x89, 0x5c, 0x4a, 0x5f, 0xe3, 0x83, 0xac, 0x6a, 0x1b, 2182 0xce, 0x27, 0x50, 0x53, 0xaa, 0xe3, 0x08, 0xfe, 0x29, 0x07, 0xa5, 0x48, 0xc5, 0xab, 0x94, 0xdf, 2183 0x4f, 0xb2, 0xfc, 0x9e, 0x77, 0xf9, 0x25, 0x14, 0x64, 0x8d, 0x31, 0x2e, 0x67, 0x8c, 0x32, 0xad, 2184 0x5e, 0x42, 0x4c, 0xc2, 0xd1, 0x77, 0x50, 0x24, 0x94, 0xcb, 0xb1, 0x4b, 0x3f, 0x50, 0x9e, 0x2e, 2185 0x16, 0xd4, 0x98, 0x99, 0xb0, 0x11, 0x92, 0xe2, 0x6d, 0xaf, 0x1f, 0xb8, 0x3e, 0x2e, 0x2c, 0x13, 2186 0xd7, 0x98, 0x84, 0xb8, 0x66, 0xcc, 0xc2, 0xfd, 0x17, 0x0b, 0xaa, 0x4b, 0x43, 0xbd, 0xfc, 0x09, 2187 0x39, 0xf7, 0xac, 0xcd, 0xff, 0x8f, 0xcf, 0xda, 0x3f, 0xe7, 0xd2, 0x8a, 0xd4, 0x04, 0x26, 0xef, 2188 0xd3, 0x88, 0x79, 0x81, 0x30, 0x29, 0x9b, 0xe0, 0xc8, 0x83, 0x36, 0x87, 0x3d, 0xd3, 0x18, 0xe4, 2189 0x52, 0x5e, 0xb3, 0x23, 0x26, 0x79, 0x55, 0x95, 0x06, 0x9a, 0x98, 0x95, 0xfd, 0xbc, 0x29, 0xfb, 2190 0x32, 0x35, 0xde, 0x73, 0x1a, 0xaa, 0xc0, 0x55, 0x88, 0x5a, 0xcb, 0x4a, 0x7f, 0xc4, 0x14, 0x77, 2191 0x45, 0x09, 0x1b, 0x4a, 0x59, 0xb9, 0xe8, 0xe1, 0xa2, 0x0e, 0x47, 0xf3, 0x22, 0xb2, 0x72, 0xd1, 2192 0xc3, 0xa5, 0xd8, 0xca, 0x85, 0xb2, 0x72, 0x2a, 0xa6, 0xb8, 0xac, 0x13, 0xf0, 0x54, 0x4c, 0x65, 2193 0x2b, 0x22, 0xcc, 0xf7, 0x3b, 0x6e, 0x77, 0x80, 0x2b, 0xba, 0x07, 0x46, 0xb4, 0x9c, 0x55, 0x65, 2194 0xcc, 0x3d, 0xd7, 0x57, 0xaf, 0x9a, 0x32, 0x89, 0x48, 0x67, 0x07, 0x2a, 0x71, 0xaa, 0xc8, 0xee, 2195 0xd6, 0xea, 0xa9, 0x4f, 0x51, 0x23, 0xb9, 0x56, 0x2f, 0xca, 0xf2, 0xdc, 0x7c, 0x96, 0xe7, 0x13, 2196 0x59, 0xfe, 0x0a, 0x6a, 0xa9, 0xa4, 0x91, 0x20, 0xc2, 0x2e, 0xb8, 0x51, 0xa4, 0xd6, 0x92, 0xd7, 2197 0x64, 0xbe, 0x7e, 0xb7, 0xd7, 0x88, 0x5a, 0x3b, 0x4f, 0xa1, 0x96, 0x4a, 0x97, 0x45, 0x75, 0xd9, 2198 0x79, 0x02, 0x35, 0xdd, 0xe0, 0xb2, 0xcb, 0xce, 0x7f, 0x2c, 0x58, 0x8b, 0x30, 0xa6, 0xf2, 0xfc, 2199 0x0a, 0xca, 0x13, 0x1a, 0x0a, 0x7a, 0x19, 0xf7, 0x22, 0x3c, 0x3f, 0x2a, 0x7f, 0x50, 0x08, 0x12, 2200 0x23, 0xd1, 0x37, 0x50, 0xe6, 0x4a, 0x0f, 0x8d, 0x66, 0x9d, 0x47, 0x59, 0x52, 0xc6, 0x5e, 0x8c, 2201 0x47, 0x5b, 0x50, 0xf0, 0x59, 0x9f, 0xab, 0xef, 0x5e, 0xdd, 0x7e, 0x90, 0x25, 0xf7, 0x96, 0xf5, 2202 0x89, 0x02, 0xa2, 0x37, 0x50, 0xbe, 0x70, 0xc3, 0xc0, 0x0b, 0xfa, 0xd1, 0x7b, 0xff, 0x71, 0x96, 2203 0xd0, 0x47, 0x8d, 0x23, 0xb1, 0x80, 0x53, 0x93, 0x97, 0xe8, 0x8c, 0x99, 0x98, 0x38, 0xbf, 0x95, 2204 0xb9, 0x2c, 0x49, 0xe3, 0xfe, 0x21, 0xd4, 0xf4, 0x7d, 0xf8, 0x40, 0x43, 0x2e, 0x27, 0x47, 0x6b, 2205 0xd9, 0x9d, 0xdd, 0x4d, 0x42, 0x49, 0x5a, 0xd2, 0xf9, 0xd1, 0xb4, 0xbb, 0x88, 0x21, 0x73, 0x69, 2206 0xe4, 0x76, 0x07, 0x6e, 0x3f, 0xfa, 0x4e, 0x11, 0x29, 0x77, 0x26, 0xc6, 0x9e, 0xbe, 0xb6, 0x11, 2207 0x29, 0x73, 0x33, 0xa4, 0x13, 0x8f, 0xcf, 0x86, 0xd8, 0x98, 0xde, 0xfe, 0x6b, 0x09, 0xa0, 0x19, 2208 0x9f, 0x07, 0x9d, 0xc0, 0x8a, 0xb2, 0x87, 0x9c, 0xa5, 0xcd, 0x53, 0xf9, 0x6d, 0x3f, 0xbd, 0x41, 2209 0x83, 0x45, 0x1f, 0x64, 0xf2, 0xab, 0xa1, 0x07, 0x3d, 0xcb, 0x2a, 0x13, 0xc9, 0xb9, 0xc9, 0x7e, 2210 0x7e, 0x0d, 0xca, 0xe8, 0x7d, 0x0f, 0x45, 0x9d, 0x05, 0x28, 0xab, 0x16, 0x26, 0xf3, 0xd6, 0x7e, 2211 0xb6, 0x1c, 0xa4, 0x95, 0x7e, 0x6e, 0x21, 0x62, 0x2a, 0x25, 0x72, 0x96, 0xb4, 0x42, 0x73, 0x63, 2212 0xb2, 0x02, 0x90, 0xea, 0x3a, 0x75, 0x0b, 0x7d, 0x0f, 0x45, 0x5d, 0xeb, 0xd0, 0xa7, 0x8b, 0x05, 2213 0x22, 0x7d, 0xcb, 0xb7, 0xeb, 0xd6, 0xe7, 0x16, 0x7a, 0x07, 0x05, 0xd9, 0xe4, 0x51, 0x46, 0xc7, 2214 0x4a, 0x4c, 0x08, 0xb6, 0xb3, 0x0c, 0x62, 0xa2, 0xf8, 0x23, 0xc0, 0x6c, 0xd4, 0x40, 0x19, 0xff, 2215 0xda, 0xcc, 0xcd, 0x2c, 0x76, 0xfd, 0x7a, 0xa0, 0x31, 0xf0, 0x4e, 0xf6, 0xd9, 0x33, 0x86, 0x32, 2216 0x3b, 0x6c, 0x7c, 0x8d, 0x6c, 0x67, 0x19, 0xc4, 0xa8, 0x3b, 0x87, 0x5a, 0xea, 0x5f, 0x5d, 0xf4, 2217 0x8b, 0x6c, 0x27, 0xaf, 0xfe, 0x49, 0x6c, 0xbf, 0xb8, 0x11, 0xd6, 0x58, 0x12, 0xc9, 0x59, 0xcd, 2218 0x6c, 0xa3, 0xc6, 0x75, 0x7e, 0xa7, 0xff, 0xa1, 0xb5, 0xb7, 0x6e, 0x8c, 0xd7, 0x56, 0x77, 0x0b, 2219 0xbf, 0xcb, 0x8d, 0x3a, 0x9d, 0xa2, 0xfa, 0xb3, 0xfb, 0xcb, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 2220 0xc1, 0x07, 0x8b, 0x2b, 0x8a, 0x17, 0x00, 0x00, 2221 } 2222 2223 // Reference imports to suppress errors if they are not otherwise used. 2224 var _ context.Context 2225 var _ grpc.ClientConn 2226 2227 // This is a compile-time assertion to ensure that this generated file 2228 // is compatible with the grpc package it is being compiled against. 2229 const _ = grpc.SupportPackageIsVersion4 2230 2231 // ControllerClient is the client API for Controller service. 2232 // 2233 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2234 type ControllerClient interface { 2235 Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*BuildResponse, error) 2236 Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error) 2237 Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (Controller_StatusClient, error) 2238 Input(ctx context.Context, opts ...grpc.CallOption) (Controller_InputClient, error) 2239 Invoke(ctx context.Context, opts ...grpc.CallOption) (Controller_InvokeClient, error) 2240 List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) 2241 Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error) 2242 Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) 2243 ListProcesses(ctx context.Context, in *ListProcessesRequest, opts ...grpc.CallOption) (*ListProcessesResponse, error) 2244 DisconnectProcess(ctx context.Context, in *DisconnectProcessRequest, opts ...grpc.CallOption) (*DisconnectProcessResponse, error) 2245 } 2246 2247 type controllerClient struct { 2248 cc *grpc.ClientConn 2249 } 2250 2251 func NewControllerClient(cc *grpc.ClientConn) ControllerClient { 2252 return &controllerClient{cc} 2253 } 2254 2255 func (c *controllerClient) Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*BuildResponse, error) { 2256 out := new(BuildResponse) 2257 err := c.cc.Invoke(ctx, "/buildx.controller.v1.Controller/Build", in, out, opts...) 2258 if err != nil { 2259 return nil, err 2260 } 2261 return out, nil 2262 } 2263 2264 func (c *controllerClient) Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error) { 2265 out := new(InspectResponse) 2266 err := c.cc.Invoke(ctx, "/buildx.controller.v1.Controller/Inspect", in, out, opts...) 2267 if err != nil { 2268 return nil, err 2269 } 2270 return out, nil 2271 } 2272 2273 func (c *controllerClient) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (Controller_StatusClient, error) { 2274 stream, err := c.cc.NewStream(ctx, &_Controller_serviceDesc.Streams[0], "/buildx.controller.v1.Controller/Status", opts...) 2275 if err != nil { 2276 return nil, err 2277 } 2278 x := &controllerStatusClient{stream} 2279 if err := x.ClientStream.SendMsg(in); err != nil { 2280 return nil, err 2281 } 2282 if err := x.ClientStream.CloseSend(); err != nil { 2283 return nil, err 2284 } 2285 return x, nil 2286 } 2287 2288 type Controller_StatusClient interface { 2289 Recv() (*StatusResponse, error) 2290 grpc.ClientStream 2291 } 2292 2293 type controllerStatusClient struct { 2294 grpc.ClientStream 2295 } 2296 2297 func (x *controllerStatusClient) Recv() (*StatusResponse, error) { 2298 m := new(StatusResponse) 2299 if err := x.ClientStream.RecvMsg(m); err != nil { 2300 return nil, err 2301 } 2302 return m, nil 2303 } 2304 2305 func (c *controllerClient) Input(ctx context.Context, opts ...grpc.CallOption) (Controller_InputClient, error) { 2306 stream, err := c.cc.NewStream(ctx, &_Controller_serviceDesc.Streams[1], "/buildx.controller.v1.Controller/Input", opts...) 2307 if err != nil { 2308 return nil, err 2309 } 2310 x := &controllerInputClient{stream} 2311 return x, nil 2312 } 2313 2314 type Controller_InputClient interface { 2315 Send(*InputMessage) error 2316 CloseAndRecv() (*InputResponse, error) 2317 grpc.ClientStream 2318 } 2319 2320 type controllerInputClient struct { 2321 grpc.ClientStream 2322 } 2323 2324 func (x *controllerInputClient) Send(m *InputMessage) error { 2325 return x.ClientStream.SendMsg(m) 2326 } 2327 2328 func (x *controllerInputClient) CloseAndRecv() (*InputResponse, error) { 2329 if err := x.ClientStream.CloseSend(); err != nil { 2330 return nil, err 2331 } 2332 m := new(InputResponse) 2333 if err := x.ClientStream.RecvMsg(m); err != nil { 2334 return nil, err 2335 } 2336 return m, nil 2337 } 2338 2339 func (c *controllerClient) Invoke(ctx context.Context, opts ...grpc.CallOption) (Controller_InvokeClient, error) { 2340 stream, err := c.cc.NewStream(ctx, &_Controller_serviceDesc.Streams[2], "/buildx.controller.v1.Controller/Invoke", opts...) 2341 if err != nil { 2342 return nil, err 2343 } 2344 x := &controllerInvokeClient{stream} 2345 return x, nil 2346 } 2347 2348 type Controller_InvokeClient interface { 2349 Send(*Message) error 2350 Recv() (*Message, error) 2351 grpc.ClientStream 2352 } 2353 2354 type controllerInvokeClient struct { 2355 grpc.ClientStream 2356 } 2357 2358 func (x *controllerInvokeClient) Send(m *Message) error { 2359 return x.ClientStream.SendMsg(m) 2360 } 2361 2362 func (x *controllerInvokeClient) Recv() (*Message, error) { 2363 m := new(Message) 2364 if err := x.ClientStream.RecvMsg(m); err != nil { 2365 return nil, err 2366 } 2367 return m, nil 2368 } 2369 2370 func (c *controllerClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) { 2371 out := new(ListResponse) 2372 err := c.cc.Invoke(ctx, "/buildx.controller.v1.Controller/List", in, out, opts...) 2373 if err != nil { 2374 return nil, err 2375 } 2376 return out, nil 2377 } 2378 2379 func (c *controllerClient) Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error) { 2380 out := new(DisconnectResponse) 2381 err := c.cc.Invoke(ctx, "/buildx.controller.v1.Controller/Disconnect", in, out, opts...) 2382 if err != nil { 2383 return nil, err 2384 } 2385 return out, nil 2386 } 2387 2388 func (c *controllerClient) Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) { 2389 out := new(InfoResponse) 2390 err := c.cc.Invoke(ctx, "/buildx.controller.v1.Controller/Info", in, out, opts...) 2391 if err != nil { 2392 return nil, err 2393 } 2394 return out, nil 2395 } 2396 2397 func (c *controllerClient) ListProcesses(ctx context.Context, in *ListProcessesRequest, opts ...grpc.CallOption) (*ListProcessesResponse, error) { 2398 out := new(ListProcessesResponse) 2399 err := c.cc.Invoke(ctx, "/buildx.controller.v1.Controller/ListProcesses", in, out, opts...) 2400 if err != nil { 2401 return nil, err 2402 } 2403 return out, nil 2404 } 2405 2406 func (c *controllerClient) DisconnectProcess(ctx context.Context, in *DisconnectProcessRequest, opts ...grpc.CallOption) (*DisconnectProcessResponse, error) { 2407 out := new(DisconnectProcessResponse) 2408 err := c.cc.Invoke(ctx, "/buildx.controller.v1.Controller/DisconnectProcess", in, out, opts...) 2409 if err != nil { 2410 return nil, err 2411 } 2412 return out, nil 2413 } 2414 2415 // ControllerServer is the server API for Controller service. 2416 type ControllerServer interface { 2417 Build(context.Context, *BuildRequest) (*BuildResponse, error) 2418 Inspect(context.Context, *InspectRequest) (*InspectResponse, error) 2419 Status(*StatusRequest, Controller_StatusServer) error 2420 Input(Controller_InputServer) error 2421 Invoke(Controller_InvokeServer) error 2422 List(context.Context, *ListRequest) (*ListResponse, error) 2423 Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error) 2424 Info(context.Context, *InfoRequest) (*InfoResponse, error) 2425 ListProcesses(context.Context, *ListProcessesRequest) (*ListProcessesResponse, error) 2426 DisconnectProcess(context.Context, *DisconnectProcessRequest) (*DisconnectProcessResponse, error) 2427 } 2428 2429 // UnimplementedControllerServer can be embedded to have forward compatible implementations. 2430 type UnimplementedControllerServer struct { 2431 } 2432 2433 func (*UnimplementedControllerServer) Build(ctx context.Context, req *BuildRequest) (*BuildResponse, error) { 2434 return nil, status.Errorf(codes.Unimplemented, "method Build not implemented") 2435 } 2436 func (*UnimplementedControllerServer) Inspect(ctx context.Context, req *InspectRequest) (*InspectResponse, error) { 2437 return nil, status.Errorf(codes.Unimplemented, "method Inspect not implemented") 2438 } 2439 func (*UnimplementedControllerServer) Status(req *StatusRequest, srv Controller_StatusServer) error { 2440 return status.Errorf(codes.Unimplemented, "method Status not implemented") 2441 } 2442 func (*UnimplementedControllerServer) Input(srv Controller_InputServer) error { 2443 return status.Errorf(codes.Unimplemented, "method Input not implemented") 2444 } 2445 func (*UnimplementedControllerServer) Invoke(srv Controller_InvokeServer) error { 2446 return status.Errorf(codes.Unimplemented, "method Invoke not implemented") 2447 } 2448 func (*UnimplementedControllerServer) List(ctx context.Context, req *ListRequest) (*ListResponse, error) { 2449 return nil, status.Errorf(codes.Unimplemented, "method List not implemented") 2450 } 2451 func (*UnimplementedControllerServer) Disconnect(ctx context.Context, req *DisconnectRequest) (*DisconnectResponse, error) { 2452 return nil, status.Errorf(codes.Unimplemented, "method Disconnect not implemented") 2453 } 2454 func (*UnimplementedControllerServer) Info(ctx context.Context, req *InfoRequest) (*InfoResponse, error) { 2455 return nil, status.Errorf(codes.Unimplemented, "method Info not implemented") 2456 } 2457 func (*UnimplementedControllerServer) ListProcesses(ctx context.Context, req *ListProcessesRequest) (*ListProcessesResponse, error) { 2458 return nil, status.Errorf(codes.Unimplemented, "method ListProcesses not implemented") 2459 } 2460 func (*UnimplementedControllerServer) DisconnectProcess(ctx context.Context, req *DisconnectProcessRequest) (*DisconnectProcessResponse, error) { 2461 return nil, status.Errorf(codes.Unimplemented, "method DisconnectProcess not implemented") 2462 } 2463 2464 func RegisterControllerServer(s *grpc.Server, srv ControllerServer) { 2465 s.RegisterService(&_Controller_serviceDesc, srv) 2466 } 2467 2468 func _Controller_Build_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2469 in := new(BuildRequest) 2470 if err := dec(in); err != nil { 2471 return nil, err 2472 } 2473 if interceptor == nil { 2474 return srv.(ControllerServer).Build(ctx, in) 2475 } 2476 info := &grpc.UnaryServerInfo{ 2477 Server: srv, 2478 FullMethod: "/buildx.controller.v1.Controller/Build", 2479 } 2480 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2481 return srv.(ControllerServer).Build(ctx, req.(*BuildRequest)) 2482 } 2483 return interceptor(ctx, in, info, handler) 2484 } 2485 2486 func _Controller_Inspect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2487 in := new(InspectRequest) 2488 if err := dec(in); err != nil { 2489 return nil, err 2490 } 2491 if interceptor == nil { 2492 return srv.(ControllerServer).Inspect(ctx, in) 2493 } 2494 info := &grpc.UnaryServerInfo{ 2495 Server: srv, 2496 FullMethod: "/buildx.controller.v1.Controller/Inspect", 2497 } 2498 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2499 return srv.(ControllerServer).Inspect(ctx, req.(*InspectRequest)) 2500 } 2501 return interceptor(ctx, in, info, handler) 2502 } 2503 2504 func _Controller_Status_Handler(srv interface{}, stream grpc.ServerStream) error { 2505 m := new(StatusRequest) 2506 if err := stream.RecvMsg(m); err != nil { 2507 return err 2508 } 2509 return srv.(ControllerServer).Status(m, &controllerStatusServer{stream}) 2510 } 2511 2512 type Controller_StatusServer interface { 2513 Send(*StatusResponse) error 2514 grpc.ServerStream 2515 } 2516 2517 type controllerStatusServer struct { 2518 grpc.ServerStream 2519 } 2520 2521 func (x *controllerStatusServer) Send(m *StatusResponse) error { 2522 return x.ServerStream.SendMsg(m) 2523 } 2524 2525 func _Controller_Input_Handler(srv interface{}, stream grpc.ServerStream) error { 2526 return srv.(ControllerServer).Input(&controllerInputServer{stream}) 2527 } 2528 2529 type Controller_InputServer interface { 2530 SendAndClose(*InputResponse) error 2531 Recv() (*InputMessage, error) 2532 grpc.ServerStream 2533 } 2534 2535 type controllerInputServer struct { 2536 grpc.ServerStream 2537 } 2538 2539 func (x *controllerInputServer) SendAndClose(m *InputResponse) error { 2540 return x.ServerStream.SendMsg(m) 2541 } 2542 2543 func (x *controllerInputServer) Recv() (*InputMessage, error) { 2544 m := new(InputMessage) 2545 if err := x.ServerStream.RecvMsg(m); err != nil { 2546 return nil, err 2547 } 2548 return m, nil 2549 } 2550 2551 func _Controller_Invoke_Handler(srv interface{}, stream grpc.ServerStream) error { 2552 return srv.(ControllerServer).Invoke(&controllerInvokeServer{stream}) 2553 } 2554 2555 type Controller_InvokeServer interface { 2556 Send(*Message) error 2557 Recv() (*Message, error) 2558 grpc.ServerStream 2559 } 2560 2561 type controllerInvokeServer struct { 2562 grpc.ServerStream 2563 } 2564 2565 func (x *controllerInvokeServer) Send(m *Message) error { 2566 return x.ServerStream.SendMsg(m) 2567 } 2568 2569 func (x *controllerInvokeServer) Recv() (*Message, error) { 2570 m := new(Message) 2571 if err := x.ServerStream.RecvMsg(m); err != nil { 2572 return nil, err 2573 } 2574 return m, nil 2575 } 2576 2577 func _Controller_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2578 in := new(ListRequest) 2579 if err := dec(in); err != nil { 2580 return nil, err 2581 } 2582 if interceptor == nil { 2583 return srv.(ControllerServer).List(ctx, in) 2584 } 2585 info := &grpc.UnaryServerInfo{ 2586 Server: srv, 2587 FullMethod: "/buildx.controller.v1.Controller/List", 2588 } 2589 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2590 return srv.(ControllerServer).List(ctx, req.(*ListRequest)) 2591 } 2592 return interceptor(ctx, in, info, handler) 2593 } 2594 2595 func _Controller_Disconnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2596 in := new(DisconnectRequest) 2597 if err := dec(in); err != nil { 2598 return nil, err 2599 } 2600 if interceptor == nil { 2601 return srv.(ControllerServer).Disconnect(ctx, in) 2602 } 2603 info := &grpc.UnaryServerInfo{ 2604 Server: srv, 2605 FullMethod: "/buildx.controller.v1.Controller/Disconnect", 2606 } 2607 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2608 return srv.(ControllerServer).Disconnect(ctx, req.(*DisconnectRequest)) 2609 } 2610 return interceptor(ctx, in, info, handler) 2611 } 2612 2613 func _Controller_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2614 in := new(InfoRequest) 2615 if err := dec(in); err != nil { 2616 return nil, err 2617 } 2618 if interceptor == nil { 2619 return srv.(ControllerServer).Info(ctx, in) 2620 } 2621 info := &grpc.UnaryServerInfo{ 2622 Server: srv, 2623 FullMethod: "/buildx.controller.v1.Controller/Info", 2624 } 2625 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2626 return srv.(ControllerServer).Info(ctx, req.(*InfoRequest)) 2627 } 2628 return interceptor(ctx, in, info, handler) 2629 } 2630 2631 func _Controller_ListProcesses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2632 in := new(ListProcessesRequest) 2633 if err := dec(in); err != nil { 2634 return nil, err 2635 } 2636 if interceptor == nil { 2637 return srv.(ControllerServer).ListProcesses(ctx, in) 2638 } 2639 info := &grpc.UnaryServerInfo{ 2640 Server: srv, 2641 FullMethod: "/buildx.controller.v1.Controller/ListProcesses", 2642 } 2643 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2644 return srv.(ControllerServer).ListProcesses(ctx, req.(*ListProcessesRequest)) 2645 } 2646 return interceptor(ctx, in, info, handler) 2647 } 2648 2649 func _Controller_DisconnectProcess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2650 in := new(DisconnectProcessRequest) 2651 if err := dec(in); err != nil { 2652 return nil, err 2653 } 2654 if interceptor == nil { 2655 return srv.(ControllerServer).DisconnectProcess(ctx, in) 2656 } 2657 info := &grpc.UnaryServerInfo{ 2658 Server: srv, 2659 FullMethod: "/buildx.controller.v1.Controller/DisconnectProcess", 2660 } 2661 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2662 return srv.(ControllerServer).DisconnectProcess(ctx, req.(*DisconnectProcessRequest)) 2663 } 2664 return interceptor(ctx, in, info, handler) 2665 } 2666 2667 var _Controller_serviceDesc = grpc.ServiceDesc{ 2668 ServiceName: "buildx.controller.v1.Controller", 2669 HandlerType: (*ControllerServer)(nil), 2670 Methods: []grpc.MethodDesc{ 2671 { 2672 MethodName: "Build", 2673 Handler: _Controller_Build_Handler, 2674 }, 2675 { 2676 MethodName: "Inspect", 2677 Handler: _Controller_Inspect_Handler, 2678 }, 2679 { 2680 MethodName: "List", 2681 Handler: _Controller_List_Handler, 2682 }, 2683 { 2684 MethodName: "Disconnect", 2685 Handler: _Controller_Disconnect_Handler, 2686 }, 2687 { 2688 MethodName: "Info", 2689 Handler: _Controller_Info_Handler, 2690 }, 2691 { 2692 MethodName: "ListProcesses", 2693 Handler: _Controller_ListProcesses_Handler, 2694 }, 2695 { 2696 MethodName: "DisconnectProcess", 2697 Handler: _Controller_DisconnectProcess_Handler, 2698 }, 2699 }, 2700 Streams: []grpc.StreamDesc{ 2701 { 2702 StreamName: "Status", 2703 Handler: _Controller_Status_Handler, 2704 ServerStreams: true, 2705 }, 2706 { 2707 StreamName: "Input", 2708 Handler: _Controller_Input_Handler, 2709 ClientStreams: true, 2710 }, 2711 { 2712 StreamName: "Invoke", 2713 Handler: _Controller_Invoke_Handler, 2714 ServerStreams: true, 2715 ClientStreams: true, 2716 }, 2717 }, 2718 Metadata: "controller.proto", 2719 }