| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | package external |
| 8 | |
| 9 | import ( |
| 10 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 11 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 12 | emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 13 | reflect "reflect" |
| 14 | sync "sync" |
| 15 | unsafe "unsafe" |
| 16 | ) |
| 17 | |
| 18 | const ( |
| 19 | |
| 20 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 21 | |
| 22 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 23 | ) |
| 24 | |
| 25 | |
| 26 | type BootScriptsResponse struct { |
| 27 | state protoimpl.MessageState `protogen:"open.v1"` |
| 28 | |
| 29 | |
| 30 | |
| 31 | Scripts map[string][]byte `protobuf:"bytes,1,rep,name=scripts,proto3" json:"scripts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 32 | unknownFields protoimpl.UnknownFields |
| 33 | sizeCache protoimpl.SizeCache |
| 34 | } |
| 35 | |
| 36 | func (x *BootScriptsResponse) Reset() { |
| 37 | *x = BootScriptsResponse{} |
| 38 | mi := &file_driver_proto_msgTypes[0] |
| 39 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 40 | ms.StoreMessageInfo(mi) |
| 41 | } |
| 42 | |
| 43 | func (x *BootScriptsResponse) String() string { |
| 44 | return protoimpl.X.MessageStringOf(x) |
| 45 | } |
| 46 | |
| 47 | func (*BootScriptsResponse) ProtoMessage() {} |
| 48 | |
| 49 | func (x *BootScriptsResponse) ProtoReflect() protoreflect.Message { |
| 50 | mi := &file_driver_proto_msgTypes[0] |
| 51 | if x != nil { |
| 52 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 53 | if ms.LoadMessageInfo() == nil { |
| 54 | ms.StoreMessageInfo(mi) |
| 55 | } |
| 56 | return ms |
| 57 | } |
| 58 | return mi.MessageOf(x) |
| 59 | } |
| 60 | |
| 61 | |
| 62 | func (*BootScriptsResponse) Descriptor() ([]byte, []int) { |
| 63 | return file_driver_proto_rawDescGZIP(), []int{0} |
| 64 | } |
| 65 | |
| 66 | func (x *BootScriptsResponse) GetScripts() map[string][]byte { |
| 67 | if x != nil { |
| 68 | return x.Scripts |
| 69 | } |
| 70 | return nil |
| 71 | } |
| 72 | |
| 73 | |
| 74 | type SSHAddressResponse struct { |
| 75 | state protoimpl.MessageState `protogen:"open.v1"` |
| 76 | |
| 77 | Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` |
| 78 | unknownFields protoimpl.UnknownFields |
| 79 | sizeCache protoimpl.SizeCache |
| 80 | } |
| 81 | |
| 82 | func (x *SSHAddressResponse) Reset() { |
| 83 | *x = SSHAddressResponse{} |
| 84 | mi := &file_driver_proto_msgTypes[1] |
| 85 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 86 | ms.StoreMessageInfo(mi) |
| 87 | } |
| 88 | |
| 89 | func (x *SSHAddressResponse) String() string { |
| 90 | return protoimpl.X.MessageStringOf(x) |
| 91 | } |
| 92 | |
| 93 | func (*SSHAddressResponse) ProtoMessage() {} |
| 94 | |
| 95 | func (x *SSHAddressResponse) ProtoReflect() protoreflect.Message { |
| 96 | mi := &file_driver_proto_msgTypes[1] |
| 97 | if x != nil { |
| 98 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 99 | if ms.LoadMessageInfo() == nil { |
| 100 | ms.StoreMessageInfo(mi) |
| 101 | } |
| 102 | return ms |
| 103 | } |
| 104 | return mi.MessageOf(x) |
| 105 | } |
| 106 | |
| 107 | |
| 108 | func (*SSHAddressResponse) Descriptor() ([]byte, []int) { |
| 109 | return file_driver_proto_rawDescGZIP(), []int{1} |
| 110 | } |
| 111 | |
| 112 | func (x *SSHAddressResponse) GetAddress() string { |
| 113 | if x != nil { |
| 114 | return x.Address |
| 115 | } |
| 116 | return "" |
| 117 | } |
| 118 | |
| 119 | |
| 120 | type InfoResponse struct { |
| 121 | state protoimpl.MessageState `protogen:"open.v1"` |
| 122 | |
| 123 | |
| 124 | |
| 125 | InfoJson []byte `protobuf:"bytes,1,opt,name=info_json,json=infoJson,proto3" json:"info_json,omitempty"` |
| 126 | unknownFields protoimpl.UnknownFields |
| 127 | sizeCache protoimpl.SizeCache |
| 128 | } |
| 129 | |
| 130 | func (x *InfoResponse) Reset() { |
| 131 | *x = InfoResponse{} |
| 132 | mi := &file_driver_proto_msgTypes[2] |
| 133 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 134 | ms.StoreMessageInfo(mi) |
| 135 | } |
| 136 | |
| 137 | func (x *InfoResponse) String() string { |
| 138 | return protoimpl.X.MessageStringOf(x) |
| 139 | } |
| 140 | |
| 141 | func (*InfoResponse) ProtoMessage() {} |
| 142 | |
| 143 | func (x *InfoResponse) ProtoReflect() protoreflect.Message { |
| 144 | mi := &file_driver_proto_msgTypes[2] |
| 145 | if x != nil { |
| 146 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 147 | if ms.LoadMessageInfo() == nil { |
| 148 | ms.StoreMessageInfo(mi) |
| 149 | } |
| 150 | return ms |
| 151 | } |
| 152 | return mi.MessageOf(x) |
| 153 | } |
| 154 | |
| 155 | |
| 156 | func (*InfoResponse) Descriptor() ([]byte, []int) { |
| 157 | return file_driver_proto_rawDescGZIP(), []int{2} |
| 158 | } |
| 159 | |
| 160 | func (x *InfoResponse) GetInfoJson() []byte { |
| 161 | if x != nil { |
| 162 | return x.InfoJson |
| 163 | } |
| 164 | return nil |
| 165 | } |
| 166 | |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | type StartResponse struct { |
| 173 | state protoimpl.MessageState `protogen:"open.v1"` |
| 174 | |
| 175 | |
| 176 | Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` |
| 177 | |
| 178 | Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` |
| 179 | unknownFields protoimpl.UnknownFields |
| 180 | sizeCache protoimpl.SizeCache |
| 181 | } |
| 182 | |
| 183 | func (x *StartResponse) Reset() { |
| 184 | *x = StartResponse{} |
| 185 | mi := &file_driver_proto_msgTypes[3] |
| 186 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 187 | ms.StoreMessageInfo(mi) |
| 188 | } |
| 189 | |
| 190 | func (x *StartResponse) String() string { |
| 191 | return protoimpl.X.MessageStringOf(x) |
| 192 | } |
| 193 | |
| 194 | func (*StartResponse) ProtoMessage() {} |
| 195 | |
| 196 | func (x *StartResponse) ProtoReflect() protoreflect.Message { |
| 197 | mi := &file_driver_proto_msgTypes[3] |
| 198 | if x != nil { |
| 199 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 200 | if ms.LoadMessageInfo() == nil { |
| 201 | ms.StoreMessageInfo(mi) |
| 202 | } |
| 203 | return ms |
| 204 | } |
| 205 | return mi.MessageOf(x) |
| 206 | } |
| 207 | |
| 208 | |
| 209 | func (*StartResponse) Descriptor() ([]byte, []int) { |
| 210 | return file_driver_proto_rawDescGZIP(), []int{3} |
| 211 | } |
| 212 | |
| 213 | func (x *StartResponse) GetSuccess() bool { |
| 214 | if x != nil { |
| 215 | return x.Success |
| 216 | } |
| 217 | return false |
| 218 | } |
| 219 | |
| 220 | func (x *StartResponse) GetError() string { |
| 221 | if x != nil { |
| 222 | return x.Error |
| 223 | } |
| 224 | return "" |
| 225 | } |
| 226 | |
| 227 | |
| 228 | type SetConfigRequest struct { |
| 229 | state protoimpl.MessageState `protogen:"open.v1"` |
| 230 | |
| 231 | InstanceConfigJson []byte `protobuf:"bytes,1,opt,name=instance_config_json,json=instanceConfigJson,proto3" json:"instance_config_json,omitempty"` |
| 232 | unknownFields protoimpl.UnknownFields |
| 233 | sizeCache protoimpl.SizeCache |
| 234 | } |
| 235 | |
| 236 | func (x *SetConfigRequest) Reset() { |
| 237 | *x = SetConfigRequest{} |
| 238 | mi := &file_driver_proto_msgTypes[4] |
| 239 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 240 | ms.StoreMessageInfo(mi) |
| 241 | } |
| 242 | |
| 243 | func (x *SetConfigRequest) String() string { |
| 244 | return protoimpl.X.MessageStringOf(x) |
| 245 | } |
| 246 | |
| 247 | func (*SetConfigRequest) ProtoMessage() {} |
| 248 | |
| 249 | func (x *SetConfigRequest) ProtoReflect() protoreflect.Message { |
| 250 | mi := &file_driver_proto_msgTypes[4] |
| 251 | if x != nil { |
| 252 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 253 | if ms.LoadMessageInfo() == nil { |
| 254 | ms.StoreMessageInfo(mi) |
| 255 | } |
| 256 | return ms |
| 257 | } |
| 258 | return mi.MessageOf(x) |
| 259 | } |
| 260 | |
| 261 | |
| 262 | func (*SetConfigRequest) Descriptor() ([]byte, []int) { |
| 263 | return file_driver_proto_rawDescGZIP(), []int{4} |
| 264 | } |
| 265 | |
| 266 | func (x *SetConfigRequest) GetInstanceConfigJson() []byte { |
| 267 | if x != nil { |
| 268 | return x.InstanceConfigJson |
| 269 | } |
| 270 | return nil |
| 271 | } |
| 272 | |
| 273 | |
| 274 | |
| 275 | |
| 276 | type SetConfigResponse struct { |
| 277 | state protoimpl.MessageState `protogen:"open.v1"` |
| 278 | |
| 279 | |
| 280 | InstanceConfigJson []byte `protobuf:"bytes,1,opt,name=instance_config_json,json=instanceConfigJson,proto3" json:"instance_config_json,omitempty"` |
| 281 | unknownFields protoimpl.UnknownFields |
| 282 | sizeCache protoimpl.SizeCache |
| 283 | } |
| 284 | |
| 285 | func (x *SetConfigResponse) Reset() { |
| 286 | *x = SetConfigResponse{} |
| 287 | mi := &file_driver_proto_msgTypes[5] |
| 288 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 289 | ms.StoreMessageInfo(mi) |
| 290 | } |
| 291 | |
| 292 | func (x *SetConfigResponse) String() string { |
| 293 | return protoimpl.X.MessageStringOf(x) |
| 294 | } |
| 295 | |
| 296 | func (*SetConfigResponse) ProtoMessage() {} |
| 297 | |
| 298 | func (x *SetConfigResponse) ProtoReflect() protoreflect.Message { |
| 299 | mi := &file_driver_proto_msgTypes[5] |
| 300 | if x != nil { |
| 301 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 302 | if ms.LoadMessageInfo() == nil { |
| 303 | ms.StoreMessageInfo(mi) |
| 304 | } |
| 305 | return ms |
| 306 | } |
| 307 | return mi.MessageOf(x) |
| 308 | } |
| 309 | |
| 310 | |
| 311 | func (*SetConfigResponse) Descriptor() ([]byte, []int) { |
| 312 | return file_driver_proto_rawDescGZIP(), []int{5} |
| 313 | } |
| 314 | |
| 315 | func (x *SetConfigResponse) GetInstanceConfigJson() []byte { |
| 316 | if x != nil { |
| 317 | return x.InstanceConfigJson |
| 318 | } |
| 319 | return nil |
| 320 | } |
| 321 | |
| 322 | |
| 323 | type ChangeDisplayPasswordRequest struct { |
| 324 | state protoimpl.MessageState `protogen:"open.v1"` |
| 325 | |
| 326 | Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` |
| 327 | unknownFields protoimpl.UnknownFields |
| 328 | sizeCache protoimpl.SizeCache |
| 329 | } |
| 330 | |
| 331 | func (x *ChangeDisplayPasswordRequest) Reset() { |
| 332 | *x = ChangeDisplayPasswordRequest{} |
| 333 | mi := &file_driver_proto_msgTypes[6] |
| 334 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 335 | ms.StoreMessageInfo(mi) |
| 336 | } |
| 337 | |
| 338 | func (x *ChangeDisplayPasswordRequest) String() string { |
| 339 | return protoimpl.X.MessageStringOf(x) |
| 340 | } |
| 341 | |
| 342 | func (*ChangeDisplayPasswordRequest) ProtoMessage() {} |
| 343 | |
| 344 | func (x *ChangeDisplayPasswordRequest) ProtoReflect() protoreflect.Message { |
| 345 | mi := &file_driver_proto_msgTypes[6] |
| 346 | if x != nil { |
| 347 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 348 | if ms.LoadMessageInfo() == nil { |
| 349 | ms.StoreMessageInfo(mi) |
| 350 | } |
| 351 | return ms |
| 352 | } |
| 353 | return mi.MessageOf(x) |
| 354 | } |
| 355 | |
| 356 | |
| 357 | func (*ChangeDisplayPasswordRequest) Descriptor() ([]byte, []int) { |
| 358 | return file_driver_proto_rawDescGZIP(), []int{6} |
| 359 | } |
| 360 | |
| 361 | func (x *ChangeDisplayPasswordRequest) GetPassword() string { |
| 362 | if x != nil { |
| 363 | return x.Password |
| 364 | } |
| 365 | return "" |
| 366 | } |
| 367 | |
| 368 | |
| 369 | type GetDisplayConnectionResponse struct { |
| 370 | state protoimpl.MessageState `protogen:"open.v1"` |
| 371 | |
| 372 | Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` |
| 373 | unknownFields protoimpl.UnknownFields |
| 374 | sizeCache protoimpl.SizeCache |
| 375 | } |
| 376 | |
| 377 | func (x *GetDisplayConnectionResponse) Reset() { |
| 378 | *x = GetDisplayConnectionResponse{} |
| 379 | mi := &file_driver_proto_msgTypes[7] |
| 380 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 381 | ms.StoreMessageInfo(mi) |
| 382 | } |
| 383 | |
| 384 | func (x *GetDisplayConnectionResponse) String() string { |
| 385 | return protoimpl.X.MessageStringOf(x) |
| 386 | } |
| 387 | |
| 388 | func (*GetDisplayConnectionResponse) ProtoMessage() {} |
| 389 | |
| 390 | func (x *GetDisplayConnectionResponse) ProtoReflect() protoreflect.Message { |
| 391 | mi := &file_driver_proto_msgTypes[7] |
| 392 | if x != nil { |
| 393 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 394 | if ms.LoadMessageInfo() == nil { |
| 395 | ms.StoreMessageInfo(mi) |
| 396 | } |
| 397 | return ms |
| 398 | } |
| 399 | return mi.MessageOf(x) |
| 400 | } |
| 401 | |
| 402 | |
| 403 | func (*GetDisplayConnectionResponse) Descriptor() ([]byte, []int) { |
| 404 | return file_driver_proto_rawDescGZIP(), []int{7} |
| 405 | } |
| 406 | |
| 407 | func (x *GetDisplayConnectionResponse) GetConnection() string { |
| 408 | if x != nil { |
| 409 | return x.Connection |
| 410 | } |
| 411 | return "" |
| 412 | } |
| 413 | |
| 414 | |
| 415 | type CreateSnapshotRequest struct { |
| 416 | state protoimpl.MessageState `protogen:"open.v1"` |
| 417 | |
| 418 | Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` |
| 419 | unknownFields protoimpl.UnknownFields |
| 420 | sizeCache protoimpl.SizeCache |
| 421 | } |
| 422 | |
| 423 | func (x *CreateSnapshotRequest) Reset() { |
| 424 | *x = CreateSnapshotRequest{} |
| 425 | mi := &file_driver_proto_msgTypes[8] |
| 426 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 427 | ms.StoreMessageInfo(mi) |
| 428 | } |
| 429 | |
| 430 | func (x *CreateSnapshotRequest) String() string { |
| 431 | return protoimpl.X.MessageStringOf(x) |
| 432 | } |
| 433 | |
| 434 | func (*CreateSnapshotRequest) ProtoMessage() {} |
| 435 | |
| 436 | func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message { |
| 437 | mi := &file_driver_proto_msgTypes[8] |
| 438 | if x != nil { |
| 439 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 440 | if ms.LoadMessageInfo() == nil { |
| 441 | ms.StoreMessageInfo(mi) |
| 442 | } |
| 443 | return ms |
| 444 | } |
| 445 | return mi.MessageOf(x) |
| 446 | } |
| 447 | |
| 448 | |
| 449 | func (*CreateSnapshotRequest) Descriptor() ([]byte, []int) { |
| 450 | return file_driver_proto_rawDescGZIP(), []int{8} |
| 451 | } |
| 452 | |
| 453 | func (x *CreateSnapshotRequest) GetTag() string { |
| 454 | if x != nil { |
| 455 | return x.Tag |
| 456 | } |
| 457 | return "" |
| 458 | } |
| 459 | |
| 460 | |
| 461 | type ApplySnapshotRequest struct { |
| 462 | state protoimpl.MessageState `protogen:"open.v1"` |
| 463 | |
| 464 | Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` |
| 465 | unknownFields protoimpl.UnknownFields |
| 466 | sizeCache protoimpl.SizeCache |
| 467 | } |
| 468 | |
| 469 | func (x *ApplySnapshotRequest) Reset() { |
| 470 | *x = ApplySnapshotRequest{} |
| 471 | mi := &file_driver_proto_msgTypes[9] |
| 472 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 473 | ms.StoreMessageInfo(mi) |
| 474 | } |
| 475 | |
| 476 | func (x *ApplySnapshotRequest) String() string { |
| 477 | return protoimpl.X.MessageStringOf(x) |
| 478 | } |
| 479 | |
| 480 | func (*ApplySnapshotRequest) ProtoMessage() {} |
| 481 | |
| 482 | func (x *ApplySnapshotRequest) ProtoReflect() protoreflect.Message { |
| 483 | mi := &file_driver_proto_msgTypes[9] |
| 484 | if x != nil { |
| 485 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 486 | if ms.LoadMessageInfo() == nil { |
| 487 | ms.StoreMessageInfo(mi) |
| 488 | } |
| 489 | return ms |
| 490 | } |
| 491 | return mi.MessageOf(x) |
| 492 | } |
| 493 | |
| 494 | |
| 495 | func (*ApplySnapshotRequest) Descriptor() ([]byte, []int) { |
| 496 | return file_driver_proto_rawDescGZIP(), []int{9} |
| 497 | } |
| 498 | |
| 499 | func (x *ApplySnapshotRequest) GetTag() string { |
| 500 | if x != nil { |
| 501 | return x.Tag |
| 502 | } |
| 503 | return "" |
| 504 | } |
| 505 | |
| 506 | |
| 507 | type DeleteSnapshotRequest struct { |
| 508 | state protoimpl.MessageState `protogen:"open.v1"` |
| 509 | |
| 510 | Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` |
| 511 | unknownFields protoimpl.UnknownFields |
| 512 | sizeCache protoimpl.SizeCache |
| 513 | } |
| 514 | |
| 515 | func (x *DeleteSnapshotRequest) Reset() { |
| 516 | *x = DeleteSnapshotRequest{} |
| 517 | mi := &file_driver_proto_msgTypes[10] |
| 518 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 519 | ms.StoreMessageInfo(mi) |
| 520 | } |
| 521 | |
| 522 | func (x *DeleteSnapshotRequest) String() string { |
| 523 | return protoimpl.X.MessageStringOf(x) |
| 524 | } |
| 525 | |
| 526 | func (*DeleteSnapshotRequest) ProtoMessage() {} |
| 527 | |
| 528 | func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message { |
| 529 | mi := &file_driver_proto_msgTypes[10] |
| 530 | if x != nil { |
| 531 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 532 | if ms.LoadMessageInfo() == nil { |
| 533 | ms.StoreMessageInfo(mi) |
| 534 | } |
| 535 | return ms |
| 536 | } |
| 537 | return mi.MessageOf(x) |
| 538 | } |
| 539 | |
| 540 | |
| 541 | func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) { |
| 542 | return file_driver_proto_rawDescGZIP(), []int{10} |
| 543 | } |
| 544 | |
| 545 | func (x *DeleteSnapshotRequest) GetTag() string { |
| 546 | if x != nil { |
| 547 | return x.Tag |
| 548 | } |
| 549 | return "" |
| 550 | } |
| 551 | |
| 552 | |
| 553 | type ListSnapshotsResponse struct { |
| 554 | state protoimpl.MessageState `protogen:"open.v1"` |
| 555 | |
| 556 | Snapshots string `protobuf:"bytes,1,opt,name=snapshots,proto3" json:"snapshots,omitempty"` |
| 557 | unknownFields protoimpl.UnknownFields |
| 558 | sizeCache protoimpl.SizeCache |
| 559 | } |
| 560 | |
| 561 | func (x *ListSnapshotsResponse) Reset() { |
| 562 | *x = ListSnapshotsResponse{} |
| 563 | mi := &file_driver_proto_msgTypes[11] |
| 564 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 565 | ms.StoreMessageInfo(mi) |
| 566 | } |
| 567 | |
| 568 | func (x *ListSnapshotsResponse) String() string { |
| 569 | return protoimpl.X.MessageStringOf(x) |
| 570 | } |
| 571 | |
| 572 | func (*ListSnapshotsResponse) ProtoMessage() {} |
| 573 | |
| 574 | func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message { |
| 575 | mi := &file_driver_proto_msgTypes[11] |
| 576 | if x != nil { |
| 577 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 578 | if ms.LoadMessageInfo() == nil { |
| 579 | ms.StoreMessageInfo(mi) |
| 580 | } |
| 581 | return ms |
| 582 | } |
| 583 | return mi.MessageOf(x) |
| 584 | } |
| 585 | |
| 586 | |
| 587 | func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) { |
| 588 | return file_driver_proto_rawDescGZIP(), []int{11} |
| 589 | } |
| 590 | |
| 591 | func (x *ListSnapshotsResponse) GetSnapshots() string { |
| 592 | if x != nil { |
| 593 | return x.Snapshots |
| 594 | } |
| 595 | return "" |
| 596 | } |
| 597 | |
| 598 | |
| 599 | type ForwardGuestAgentResponse struct { |
| 600 | state protoimpl.MessageState `protogen:"open.v1"` |
| 601 | |
| 602 | |
| 603 | ShouldForward bool `protobuf:"varint,1,opt,name=should_forward,json=shouldForward,proto3" json:"should_forward,omitempty"` |
| 604 | unknownFields protoimpl.UnknownFields |
| 605 | sizeCache protoimpl.SizeCache |
| 606 | } |
| 607 | |
| 608 | func (x *ForwardGuestAgentResponse) Reset() { |
| 609 | *x = ForwardGuestAgentResponse{} |
| 610 | mi := &file_driver_proto_msgTypes[12] |
| 611 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 612 | ms.StoreMessageInfo(mi) |
| 613 | } |
| 614 | |
| 615 | func (x *ForwardGuestAgentResponse) String() string { |
| 616 | return protoimpl.X.MessageStringOf(x) |
| 617 | } |
| 618 | |
| 619 | func (*ForwardGuestAgentResponse) ProtoMessage() {} |
| 620 | |
| 621 | func (x *ForwardGuestAgentResponse) ProtoReflect() protoreflect.Message { |
| 622 | mi := &file_driver_proto_msgTypes[12] |
| 623 | if x != nil { |
| 624 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 625 | if ms.LoadMessageInfo() == nil { |
| 626 | ms.StoreMessageInfo(mi) |
| 627 | } |
| 628 | return ms |
| 629 | } |
| 630 | return mi.MessageOf(x) |
| 631 | } |
| 632 | |
| 633 | |
| 634 | func (*ForwardGuestAgentResponse) Descriptor() ([]byte, []int) { |
| 635 | return file_driver_proto_rawDescGZIP(), []int{12} |
| 636 | } |
| 637 | |
| 638 | func (x *ForwardGuestAgentResponse) GetShouldForward() bool { |
| 639 | if x != nil { |
| 640 | return x.ShouldForward |
| 641 | } |
| 642 | return false |
| 643 | } |
| 644 | |
| 645 | var File_driver_proto protoreflect.FileDescriptor |
| 646 | |
| 647 | const file_driver_proto_rawDesc = "" + |
| 648 | "\n" + |
| 649 | "\fdriver.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x8e\x01\n" + |
| 650 | "\x13BootScriptsResponse\x12;\n" + |
| 651 | "\ascripts\x18\x01 \x03(\v2!.BootScriptsResponse.ScriptsEntryR\ascripts\x1a:\n" + |
| 652 | "\fScriptsEntry\x12\x10\n" + |
| 653 | "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| 654 | "\x05value\x18\x02 \x01(\fR\x05value:\x028\x01\".\n" + |
| 655 | "\x12SSHAddressResponse\x12\x18\n" + |
| 656 | "\aaddress\x18\x01 \x01(\tR\aaddress\"+\n" + |
| 657 | "\fInfoResponse\x12\x1b\n" + |
| 658 | "\tinfo_json\x18\x01 \x01(\fR\binfoJson\"?\n" + |
| 659 | "\rStartResponse\x12\x18\n" + |
| 660 | "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" + |
| 661 | "\x05error\x18\x02 \x01(\tR\x05error\"D\n" + |
| 662 | "\x10SetConfigRequest\x120\n" + |
| 663 | "\x14instance_config_json\x18\x01 \x01(\fR\x12instanceConfigJson\"E\n" + |
| 664 | "\x11SetConfigResponse\x120\n" + |
| 665 | "\x14instance_config_json\x18\x01 \x01(\fR\x12instanceConfigJson\":\n" + |
| 666 | "\x1cChangeDisplayPasswordRequest\x12\x1a\n" + |
| 667 | "\bpassword\x18\x01 \x01(\tR\bpassword\">\n" + |
| 668 | "\x1cGetDisplayConnectionResponse\x12\x1e\n" + |
| 669 | "\n" + |
| 670 | "connection\x18\x01 \x01(\tR\n" + |
| 671 | "connection\")\n" + |
| 672 | "\x15CreateSnapshotRequest\x12\x10\n" + |
| 673 | "\x03tag\x18\x01 \x01(\tR\x03tag\"(\n" + |
| 674 | "\x14ApplySnapshotRequest\x12\x10\n" + |
| 675 | "\x03tag\x18\x01 \x01(\tR\x03tag\")\n" + |
| 676 | "\x15DeleteSnapshotRequest\x12\x10\n" + |
| 677 | "\x03tag\x18\x01 \x01(\tR\x03tag\"5\n" + |
| 678 | "\x15ListSnapshotsResponse\x12\x1c\n" + |
| 679 | "\tsnapshots\x18\x01 \x01(\tR\tsnapshots\"B\n" + |
| 680 | "\x19ForwardGuestAgentResponse\x12%\n" + |
| 681 | "\x0eshould_forward\x18\x01 \x01(\bR\rshouldForward2\xee\t\n" + |
| 682 | "\x06Driver\x12:\n" + |
| 683 | "\bValidate\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x128\n" + |
| 684 | "\x06Create\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12<\n" + |
| 685 | "\n" + |
| 686 | "CreateDisk\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x121\n" + |
| 687 | "\x05Start\x12\x16.google.protobuf.Empty\x1a\x0e.StartResponse0\x01\x126\n" + |
| 688 | "\x04Stop\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x128\n" + |
| 689 | "\x06Delete\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12;\n" + |
| 690 | "\vBootScripts\x12\x16.google.protobuf.Empty\x1a\x14.BootScriptsResponse\x128\n" + |
| 691 | "\x06RunGUI\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12N\n" + |
| 692 | "\x15ChangeDisplayPassword\x12\x1d.ChangeDisplayPasswordRequest\x1a\x16.google.protobuf.Empty\x12M\n" + |
| 693 | "\x14GetDisplayConnection\x12\x16.google.protobuf.Empty\x1a\x1d.GetDisplayConnectionResponse\x12@\n" + |
| 694 | "\x0eCreateSnapshot\x12\x16.CreateSnapshotRequest\x1a\x16.google.protobuf.Empty\x12>\n" + |
| 695 | "\rApplySnapshot\x12\x15.ApplySnapshotRequest\x1a\x16.google.protobuf.Empty\x12@\n" + |
| 696 | "\x0eDeleteSnapshot\x12\x16.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\x12?\n" + |
| 697 | "\rListSnapshots\x12\x16.google.protobuf.Empty\x1a\x16.ListSnapshotsResponse\x12G\n" + |
| 698 | "\x11ForwardGuestAgent\x12\x16.google.protobuf.Empty\x1a\x1a.ForwardGuestAgentResponse\x12@\n" + |
| 699 | "\x0eGuestAgentConn\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x122\n" + |
| 700 | "\tConfigure\x12\x11.SetConfigRequest\x1a\x12.SetConfigResponse\x12-\n" + |
| 701 | "\x04Info\x12\x16.google.protobuf.Empty\x1a\r.InfoResponse\x129\n" + |
| 702 | "\n" + |
| 703 | "SSHAddress\x12\x16.google.protobuf.Empty\x1a\x13.SSHAddressResponse\x12G\n" + |
| 704 | "\x15AdditionalSetupForSSH\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.EmptyB0Z.github.com/lima-vm/lima/v2/pkg/driver/externalb\x06proto3" |
| 705 | |
| 706 | var ( |
| 707 | file_driver_proto_rawDescOnce sync.Once |
| 708 | file_driver_proto_rawDescData []byte |
| 709 | ) |
| 710 | |
| 711 | func file_driver_proto_rawDescGZIP() []byte { |
| 712 | file_driver_proto_rawDescOnce.Do(func() { |
| 713 | file_driver_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_driver_proto_rawDesc), len(file_driver_proto_rawDesc))) |
| 714 | }) |
| 715 | return file_driver_proto_rawDescData |
| 716 | } |
| 717 | |
| 718 | var file_driver_proto_msgTypes = make([]protoimpl.MessageInfo, 14) |
| 719 | var file_driver_proto_goTypes = []any{ |
| 720 | (*BootScriptsResponse)(nil), |
| 721 | (*SSHAddressResponse)(nil), |
| 722 | (*InfoResponse)(nil), |
| 723 | (*StartResponse)(nil), |
| 724 | (*SetConfigRequest)(nil), |
| 725 | (*SetConfigResponse)(nil), |
| 726 | (*ChangeDisplayPasswordRequest)(nil), |
| 727 | (*GetDisplayConnectionResponse)(nil), |
| 728 | (*CreateSnapshotRequest)(nil), |
| 729 | (*ApplySnapshotRequest)(nil), |
| 730 | (*DeleteSnapshotRequest)(nil), |
| 731 | (*ListSnapshotsResponse)(nil), |
| 732 | (*ForwardGuestAgentResponse)(nil), |
| 733 | nil, |
| 734 | (*emptypb.Empty)(nil), |
| 735 | } |
| 736 | var file_driver_proto_depIdxs = []int32{ |
| 737 | 13, |
| 738 | 14, |
| 739 | 14, |
| 740 | 14, |
| 741 | 14, |
| 742 | 14, |
| 743 | 14, |
| 744 | 14, |
| 745 | 14, |
| 746 | 6, |
| 747 | 14, |
| 748 | 8, |
| 749 | 9, |
| 750 | 10, |
| 751 | 14, |
| 752 | 14, |
| 753 | 14, |
| 754 | 4, |
| 755 | 14, |
| 756 | 14, |
| 757 | 14, |
| 758 | 14, |
| 759 | 14, |
| 760 | 14, |
| 761 | 3, |
| 762 | 14, |
| 763 | 14, |
| 764 | 0, |
| 765 | 14, |
| 766 | 14, |
| 767 | 7, |
| 768 | 14, |
| 769 | 14, |
| 770 | 14, |
| 771 | 11, |
| 772 | 12, |
| 773 | 14, |
| 774 | 5, |
| 775 | 2, |
| 776 | 1, |
| 777 | 14, |
| 778 | 21, |
| 779 | 1, |
| 780 | 1, |
| 781 | 1, |
| 782 | 0, |
| 783 | } |
| 784 | |
| 785 | func init() { file_driver_proto_init() } |
| 786 | func file_driver_proto_init() { |
| 787 | if File_driver_proto != nil { |
| 788 | return |
| 789 | } |
| 790 | type x struct{} |
| 791 | out := protoimpl.TypeBuilder{ |
| 792 | File: protoimpl.DescBuilder{ |
| 793 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 794 | RawDescriptor: unsafe.Slice(unsafe.StringData(file_driver_proto_rawDesc), len(file_driver_proto_rawDesc)), |
| 795 | NumEnums: 0, |
| 796 | NumMessages: 14, |
| 797 | NumExtensions: 0, |
| 798 | NumServices: 1, |
| 799 | }, |
| 800 | GoTypes: file_driver_proto_goTypes, |
| 801 | DependencyIndexes: file_driver_proto_depIdxs, |
| 802 | MessageInfos: file_driver_proto_msgTypes, |
| 803 | }.Build() |
| 804 | File_driver_proto = out.File |
| 805 | file_driver_proto_goTypes = nil |
| 806 | file_driver_proto_depIdxs = nil |
| 807 | } |