| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | package external |
| 8 | |
| 9 | import ( |
| 10 | context "context" |
| 11 | grpc "google.golang.org/grpc" |
| 12 | codes "google.golang.org/grpc/codes" |
| 13 | status "google.golang.org/grpc/status" |
| 14 | emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 15 | ) |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | const _ = grpc.SupportPackageIsVersion9 |
| 21 | |
| 22 | const ( |
| 23 | Driver_Validate_FullMethodName = "/Driver/Validate" |
| 24 | Driver_Create_FullMethodName = "/Driver/Create" |
| 25 | Driver_CreateDisk_FullMethodName = "/Driver/CreateDisk" |
| 26 | Driver_Start_FullMethodName = "/Driver/Start" |
| 27 | Driver_Stop_FullMethodName = "/Driver/Stop" |
| 28 | Driver_Delete_FullMethodName = "/Driver/Delete" |
| 29 | Driver_BootScripts_FullMethodName = "/Driver/BootScripts" |
| 30 | Driver_RunGUI_FullMethodName = "/Driver/RunGUI" |
| 31 | Driver_ChangeDisplayPassword_FullMethodName = "/Driver/ChangeDisplayPassword" |
| 32 | Driver_GetDisplayConnection_FullMethodName = "/Driver/GetDisplayConnection" |
| 33 | Driver_CreateSnapshot_FullMethodName = "/Driver/CreateSnapshot" |
| 34 | Driver_ApplySnapshot_FullMethodName = "/Driver/ApplySnapshot" |
| 35 | Driver_DeleteSnapshot_FullMethodName = "/Driver/DeleteSnapshot" |
| 36 | Driver_ListSnapshots_FullMethodName = "/Driver/ListSnapshots" |
| 37 | Driver_ForwardGuestAgent_FullMethodName = "/Driver/ForwardGuestAgent" |
| 38 | Driver_GuestAgentConn_FullMethodName = "/Driver/GuestAgentConn" |
| 39 | Driver_Configure_FullMethodName = "/Driver/Configure" |
| 40 | Driver_Info_FullMethodName = "/Driver/Info" |
| 41 | Driver_SSHAddress_FullMethodName = "/Driver/SSHAddress" |
| 42 | Driver_AdditionalSetupForSSH_FullMethodName = "/Driver/AdditionalSetupForSSH" |
| 43 | ) |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | type DriverClient interface { |
| 82 | |
| 83 | |
| 84 | |
| 85 | Validate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | Create(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 91 | |
| 92 | CreateDisk(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | Start(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StartResponse], error) |
| 99 | |
| 100 | |
| 101 | |
| 102 | Stop(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 103 | |
| 104 | |
| 105 | Delete(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 106 | |
| 107 | |
| 108 | BootScripts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BootScriptsResponse, error) |
| 109 | |
| 110 | |
| 111 | RunGUI(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 112 | |
| 113 | ChangeDisplayPassword(ctx context.Context, in *ChangeDisplayPasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 114 | |
| 115 | GetDisplayConnection(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDisplayConnectionResponse, error) |
| 116 | |
| 117 | CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 118 | |
| 119 | ApplySnapshot(ctx context.Context, in *ApplySnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 120 | |
| 121 | DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 122 | |
| 123 | ListSnapshots(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSnapshotsResponse, error) |
| 124 | |
| 125 | |
| 126 | |
| 127 | ForwardGuestAgent(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ForwardGuestAgentResponse, error) |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | |
| 133 | GuestAgentConn(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 134 | |
| 135 | |
| 136 | Configure(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*SetConfigResponse, error) |
| 137 | |
| 138 | |
| 139 | Info(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InfoResponse, error) |
| 140 | |
| 141 | |
| 142 | |
| 143 | SSHAddress(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SSHAddressResponse, error) |
| 144 | |
| 145 | |
| 146 | |
| 147 | AdditionalSetupForSSH(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 148 | } |
| 149 | |
| 150 | type driverClient struct { |
| 151 | cc grpc.ClientConnInterface |
| 152 | } |
| 153 | |
| 154 | func NewDriverClient(cc grpc.ClientConnInterface) DriverClient { |
| 155 | return &driverClient{cc} |
| 156 | } |
| 157 | |
| 158 | func (c *driverClient) Validate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 159 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 160 | out := new(emptypb.Empty) |
| 161 | err := c.cc.Invoke(ctx, Driver_Validate_FullMethodName, in, out, cOpts...) |
| 162 | if err != nil { |
| 163 | return nil, err |
| 164 | } |
| 165 | return out, nil |
| 166 | } |
| 167 | |
| 168 | func (c *driverClient) Create(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 169 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 170 | out := new(emptypb.Empty) |
| 171 | err := c.cc.Invoke(ctx, Driver_Create_FullMethodName, in, out, cOpts...) |
| 172 | if err != nil { |
| 173 | return nil, err |
| 174 | } |
| 175 | return out, nil |
| 176 | } |
| 177 | |
| 178 | func (c *driverClient) CreateDisk(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 179 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 180 | out := new(emptypb.Empty) |
| 181 | err := c.cc.Invoke(ctx, Driver_CreateDisk_FullMethodName, in, out, cOpts...) |
| 182 | if err != nil { |
| 183 | return nil, err |
| 184 | } |
| 185 | return out, nil |
| 186 | } |
| 187 | |
| 188 | func (c *driverClient) Start(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StartResponse], error) { |
| 189 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 190 | stream, err := c.cc.NewStream(ctx, &Driver_ServiceDesc.Streams[0], Driver_Start_FullMethodName, cOpts...) |
| 191 | if err != nil { |
| 192 | return nil, err |
| 193 | } |
| 194 | x := &grpc.GenericClientStream[emptypb.Empty, StartResponse]{ClientStream: stream} |
| 195 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 196 | return nil, err |
| 197 | } |
| 198 | if err := x.ClientStream.CloseSend(); err != nil { |
| 199 | return nil, err |
| 200 | } |
| 201 | return x, nil |
| 202 | } |
| 203 | |
| 204 | |
| 205 | type Driver_StartClient = grpc.ServerStreamingClient[StartResponse] |
| 206 | |
| 207 | func (c *driverClient) Stop(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 208 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 209 | out := new(emptypb.Empty) |
| 210 | err := c.cc.Invoke(ctx, Driver_Stop_FullMethodName, in, out, cOpts...) |
| 211 | if err != nil { |
| 212 | return nil, err |
| 213 | } |
| 214 | return out, nil |
| 215 | } |
| 216 | |
| 217 | func (c *driverClient) Delete(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 218 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 219 | out := new(emptypb.Empty) |
| 220 | err := c.cc.Invoke(ctx, Driver_Delete_FullMethodName, in, out, cOpts...) |
| 221 | if err != nil { |
| 222 | return nil, err |
| 223 | } |
| 224 | return out, nil |
| 225 | } |
| 226 | |
| 227 | func (c *driverClient) BootScripts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BootScriptsResponse, error) { |
| 228 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 229 | out := new(BootScriptsResponse) |
| 230 | err := c.cc.Invoke(ctx, Driver_BootScripts_FullMethodName, in, out, cOpts...) |
| 231 | if err != nil { |
| 232 | return nil, err |
| 233 | } |
| 234 | return out, nil |
| 235 | } |
| 236 | |
| 237 | func (c *driverClient) RunGUI(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 238 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 239 | out := new(emptypb.Empty) |
| 240 | err := c.cc.Invoke(ctx, Driver_RunGUI_FullMethodName, in, out, cOpts...) |
| 241 | if err != nil { |
| 242 | return nil, err |
| 243 | } |
| 244 | return out, nil |
| 245 | } |
| 246 | |
| 247 | func (c *driverClient) ChangeDisplayPassword(ctx context.Context, in *ChangeDisplayPasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 248 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 249 | out := new(emptypb.Empty) |
| 250 | err := c.cc.Invoke(ctx, Driver_ChangeDisplayPassword_FullMethodName, in, out, cOpts...) |
| 251 | if err != nil { |
| 252 | return nil, err |
| 253 | } |
| 254 | return out, nil |
| 255 | } |
| 256 | |
| 257 | func (c *driverClient) GetDisplayConnection(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDisplayConnectionResponse, error) { |
| 258 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 259 | out := new(GetDisplayConnectionResponse) |
| 260 | err := c.cc.Invoke(ctx, Driver_GetDisplayConnection_FullMethodName, in, out, cOpts...) |
| 261 | if err != nil { |
| 262 | return nil, err |
| 263 | } |
| 264 | return out, nil |
| 265 | } |
| 266 | |
| 267 | func (c *driverClient) CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 268 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 269 | out := new(emptypb.Empty) |
| 270 | err := c.cc.Invoke(ctx, Driver_CreateSnapshot_FullMethodName, in, out, cOpts...) |
| 271 | if err != nil { |
| 272 | return nil, err |
| 273 | } |
| 274 | return out, nil |
| 275 | } |
| 276 | |
| 277 | func (c *driverClient) ApplySnapshot(ctx context.Context, in *ApplySnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 278 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 279 | out := new(emptypb.Empty) |
| 280 | err := c.cc.Invoke(ctx, Driver_ApplySnapshot_FullMethodName, in, out, cOpts...) |
| 281 | if err != nil { |
| 282 | return nil, err |
| 283 | } |
| 284 | return out, nil |
| 285 | } |
| 286 | |
| 287 | func (c *driverClient) DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 288 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 289 | out := new(emptypb.Empty) |
| 290 | err := c.cc.Invoke(ctx, Driver_DeleteSnapshot_FullMethodName, in, out, cOpts...) |
| 291 | if err != nil { |
| 292 | return nil, err |
| 293 | } |
| 294 | return out, nil |
| 295 | } |
| 296 | |
| 297 | func (c *driverClient) ListSnapshots(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSnapshotsResponse, error) { |
| 298 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 299 | out := new(ListSnapshotsResponse) |
| 300 | err := c.cc.Invoke(ctx, Driver_ListSnapshots_FullMethodName, in, out, cOpts...) |
| 301 | if err != nil { |
| 302 | return nil, err |
| 303 | } |
| 304 | return out, nil |
| 305 | } |
| 306 | |
| 307 | func (c *driverClient) ForwardGuestAgent(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ForwardGuestAgentResponse, error) { |
| 308 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 309 | out := new(ForwardGuestAgentResponse) |
| 310 | err := c.cc.Invoke(ctx, Driver_ForwardGuestAgent_FullMethodName, in, out, cOpts...) |
| 311 | if err != nil { |
| 312 | return nil, err |
| 313 | } |
| 314 | return out, nil |
| 315 | } |
| 316 | |
| 317 | func (c *driverClient) GuestAgentConn(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 318 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 319 | out := new(emptypb.Empty) |
| 320 | err := c.cc.Invoke(ctx, Driver_GuestAgentConn_FullMethodName, in, out, cOpts...) |
| 321 | if err != nil { |
| 322 | return nil, err |
| 323 | } |
| 324 | return out, nil |
| 325 | } |
| 326 | |
| 327 | func (c *driverClient) Configure(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*SetConfigResponse, error) { |
| 328 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 329 | out := new(SetConfigResponse) |
| 330 | err := c.cc.Invoke(ctx, Driver_Configure_FullMethodName, in, out, cOpts...) |
| 331 | if err != nil { |
| 332 | return nil, err |
| 333 | } |
| 334 | return out, nil |
| 335 | } |
| 336 | |
| 337 | func (c *driverClient) Info(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InfoResponse, error) { |
| 338 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 339 | out := new(InfoResponse) |
| 340 | err := c.cc.Invoke(ctx, Driver_Info_FullMethodName, in, out, cOpts...) |
| 341 | if err != nil { |
| 342 | return nil, err |
| 343 | } |
| 344 | return out, nil |
| 345 | } |
| 346 | |
| 347 | func (c *driverClient) SSHAddress(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SSHAddressResponse, error) { |
| 348 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 349 | out := new(SSHAddressResponse) |
| 350 | err := c.cc.Invoke(ctx, Driver_SSHAddress_FullMethodName, in, out, cOpts...) |
| 351 | if err != nil { |
| 352 | return nil, err |
| 353 | } |
| 354 | return out, nil |
| 355 | } |
| 356 | |
| 357 | func (c *driverClient) AdditionalSetupForSSH(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 358 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 359 | out := new(emptypb.Empty) |
| 360 | err := c.cc.Invoke(ctx, Driver_AdditionalSetupForSSH_FullMethodName, in, out, cOpts...) |
| 361 | if err != nil { |
| 362 | return nil, err |
| 363 | } |
| 364 | return out, nil |
| 365 | } |
| 366 | |
| 367 | |
| 368 | |
| 369 | |
| 370 | |
| 371 | |
| 372 | |
| 373 | |
| 374 | |
| 375 | |
| 376 | |
| 377 | |
| 378 | |
| 379 | |
| 380 | |
| 381 | |
| 382 | |
| 383 | |
| 384 | |
| 385 | |
| 386 | |
| 387 | |
| 388 | |
| 389 | |
| 390 | |
| 391 | |
| 392 | |
| 393 | |
| 394 | |
| 395 | |
| 396 | |
| 397 | |
| 398 | |
| 399 | |
| 400 | |
| 401 | |
| 402 | |
| 403 | type DriverServer interface { |
| 404 | |
| 405 | |
| 406 | |
| 407 | Validate(context.Context, *emptypb.Empty) (*emptypb.Empty, error) |
| 408 | |
| 409 | |
| 410 | |
| 411 | |
| 412 | Create(context.Context, *emptypb.Empty) (*emptypb.Empty, error) |
| 413 | |
| 414 | CreateDisk(context.Context, *emptypb.Empty) (*emptypb.Empty, error) |
| 415 | |
| 416 | |
| 417 | |
| 418 | |
| 419 | |
| 420 | Start(*emptypb.Empty, grpc.ServerStreamingServer[StartResponse]) error |
| 421 | |
| 422 | |
| 423 | |
| 424 | Stop(context.Context, *emptypb.Empty) (*emptypb.Empty, error) |
| 425 | |
| 426 | |
| 427 | Delete(context.Context, *emptypb.Empty) (*emptypb.Empty, error) |
| 428 | |
| 429 | |
| 430 | BootScripts(context.Context, *emptypb.Empty) (*BootScriptsResponse, error) |
| 431 | |
| 432 | |
| 433 | RunGUI(context.Context, *emptypb.Empty) (*emptypb.Empty, error) |
| 434 | |
| 435 | ChangeDisplayPassword(context.Context, *ChangeDisplayPasswordRequest) (*emptypb.Empty, error) |
| 436 | |
| 437 | GetDisplayConnection(context.Context, *emptypb.Empty) (*GetDisplayConnectionResponse, error) |
| 438 | |
| 439 | CreateSnapshot(context.Context, *CreateSnapshotRequest) (*emptypb.Empty, error) |
| 440 | |
| 441 | ApplySnapshot(context.Context, *ApplySnapshotRequest) (*emptypb.Empty, error) |
| 442 | |
| 443 | DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*emptypb.Empty, error) |
| 444 | |
| 445 | ListSnapshots(context.Context, *emptypb.Empty) (*ListSnapshotsResponse, error) |
| 446 | |
| 447 | |
| 448 | |
| 449 | ForwardGuestAgent(context.Context, *emptypb.Empty) (*ForwardGuestAgentResponse, error) |
| 450 | |
| 451 | |
| 452 | |
| 453 | |
| 454 | |
| 455 | GuestAgentConn(context.Context, *emptypb.Empty) (*emptypb.Empty, error) |
| 456 | |
| 457 | |
| 458 | Configure(context.Context, *SetConfigRequest) (*SetConfigResponse, error) |
| 459 | |
| 460 | |
| 461 | Info(context.Context, *emptypb.Empty) (*InfoResponse, error) |
| 462 | |
| 463 | |
| 464 | |
| 465 | SSHAddress(context.Context, *emptypb.Empty) (*SSHAddressResponse, error) |
| 466 | |
| 467 | |
| 468 | |
| 469 | AdditionalSetupForSSH(context.Context, *emptypb.Empty) (*emptypb.Empty, error) |
| 470 | mustEmbedUnimplementedDriverServer() |
| 471 | } |
| 472 | |
| 473 | |
| 474 | |
| 475 | |
| 476 | NOTE: |
| 477 | |
| 478 | type UnimplementedDriverServer struct{} |
| 479 | |
| 480 | func (UnimplementedDriverServer) Validate(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { |
| 481 | return nil, status.Errorf(codes.Unimplemented, "method Validate not implemented") |
| 482 | } |
| 483 | func (UnimplementedDriverServer) Create(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { |
| 484 | return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") |
| 485 | } |
| 486 | func (UnimplementedDriverServer) CreateDisk(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { |
| 487 | return nil, status.Errorf(codes.Unimplemented, "method CreateDisk not implemented") |
| 488 | } |
| 489 | func (UnimplementedDriverServer) Start(*emptypb.Empty, grpc.ServerStreamingServer[StartResponse]) error { |
| 490 | return status.Errorf(codes.Unimplemented, "method Start not implemented") |
| 491 | } |
| 492 | func (UnimplementedDriverServer) Stop(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { |
| 493 | return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") |
| 494 | } |
| 495 | func (UnimplementedDriverServer) Delete(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { |
| 496 | return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") |
| 497 | } |
| 498 | func (UnimplementedDriverServer) BootScripts(context.Context, *emptypb.Empty) (*BootScriptsResponse, error) { |
| 499 | return nil, status.Errorf(codes.Unimplemented, "method BootScripts not implemented") |
| 500 | } |
| 501 | func (UnimplementedDriverServer) RunGUI(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { |
| 502 | return nil, status.Errorf(codes.Unimplemented, "method RunGUI not implemented") |
| 503 | } |
| 504 | func (UnimplementedDriverServer) ChangeDisplayPassword(context.Context, *ChangeDisplayPasswordRequest) (*emptypb.Empty, error) { |
| 505 | return nil, status.Errorf(codes.Unimplemented, "method ChangeDisplayPassword not implemented") |
| 506 | } |
| 507 | func (UnimplementedDriverServer) GetDisplayConnection(context.Context, *emptypb.Empty) (*GetDisplayConnectionResponse, error) { |
| 508 | return nil, status.Errorf(codes.Unimplemented, "method GetDisplayConnection not implemented") |
| 509 | } |
| 510 | func (UnimplementedDriverServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*emptypb.Empty, error) { |
| 511 | return nil, status.Errorf(codes.Unimplemented, "method CreateSnapshot not implemented") |
| 512 | } |
| 513 | func (UnimplementedDriverServer) ApplySnapshot(context.Context, *ApplySnapshotRequest) (*emptypb.Empty, error) { |
| 514 | return nil, status.Errorf(codes.Unimplemented, "method ApplySnapshot not implemented") |
| 515 | } |
| 516 | func (UnimplementedDriverServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*emptypb.Empty, error) { |
| 517 | return nil, status.Errorf(codes.Unimplemented, "method DeleteSnapshot not implemented") |
| 518 | } |
| 519 | func (UnimplementedDriverServer) ListSnapshots(context.Context, *emptypb.Empty) (*ListSnapshotsResponse, error) { |
| 520 | return nil, status.Errorf(codes.Unimplemented, "method ListSnapshots not implemented") |
| 521 | } |
| 522 | func (UnimplementedDriverServer) ForwardGuestAgent(context.Context, *emptypb.Empty) (*ForwardGuestAgentResponse, error) { |
| 523 | return nil, status.Errorf(codes.Unimplemented, "method ForwardGuestAgent not implemented") |
| 524 | } |
| 525 | func (UnimplementedDriverServer) GuestAgentConn(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { |
| 526 | return nil, status.Errorf(codes.Unimplemented, "method GuestAgentConn not implemented") |
| 527 | } |
| 528 | func (UnimplementedDriverServer) Configure(context.Context, *SetConfigRequest) (*SetConfigResponse, error) { |
| 529 | return nil, status.Errorf(codes.Unimplemented, "method Configure not implemented") |
| 530 | } |
| 531 | func (UnimplementedDriverServer) Info(context.Context, *emptypb.Empty) (*InfoResponse, error) { |
| 532 | return nil, status.Errorf(codes.Unimplemented, "method Info not implemented") |
| 533 | } |
| 534 | func (UnimplementedDriverServer) SSHAddress(context.Context, *emptypb.Empty) (*SSHAddressResponse, error) { |
| 535 | return nil, status.Errorf(codes.Unimplemented, "method SSHAddress not implemented") |
| 536 | } |
| 537 | func (UnimplementedDriverServer) AdditionalSetupForSSH(context.Context, *emptypb.Empty) (*emptypb.Empty, error) { |
| 538 | return nil, status.Errorf(codes.Unimplemented, "method AdditionalSetupForSSH not implemented") |
| 539 | } |
| 540 | func (UnimplementedDriverServer) mustEmbedUnimplementedDriverServer() {} |
| 541 | func (UnimplementedDriverServer) testEmbeddedByValue() {} |
| 542 | |
| 543 | |
| 544 | |
| 545 | |
| 546 | type UnsafeDriverServer interface { |
| 547 | mustEmbedUnimplementedDriverServer() |
| 548 | } |
| 549 | |
| 550 | func RegisterDriverServer(s grpc.ServiceRegistrar, srv DriverServer) { |
| 551 | |
| 552 | |
| 553 | |
| 554 | |
| 555 | if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { |
| 556 | t.testEmbeddedByValue() |
| 557 | } |
| 558 | s.RegisterService(&Driver_ServiceDesc, srv) |
| 559 | } |
| 560 | |
| 561 | func _Driver_Validate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 562 | in := new(emptypb.Empty) |
| 563 | if err := dec(in); err != nil { |
| 564 | return nil, err |
| 565 | } |
| 566 | if interceptor == nil { |
| 567 | return srv.(DriverServer).Validate(ctx, in) |
| 568 | } |
| 569 | info := &grpc.UnaryServerInfo{ |
| 570 | Server: srv, |
| 571 | FullMethod: Driver_Validate_FullMethodName, |
| 572 | } |
| 573 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 574 | return srv.(DriverServer).Validate(ctx, req.(*emptypb.Empty)) |
| 575 | } |
| 576 | return interceptor(ctx, in, info, handler) |
| 577 | } |
| 578 | |
| 579 | func _Driver_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 580 | in := new(emptypb.Empty) |
| 581 | if err := dec(in); err != nil { |
| 582 | return nil, err |
| 583 | } |
| 584 | if interceptor == nil { |
| 585 | return srv.(DriverServer).Create(ctx, in) |
| 586 | } |
| 587 | info := &grpc.UnaryServerInfo{ |
| 588 | Server: srv, |
| 589 | FullMethod: Driver_Create_FullMethodName, |
| 590 | } |
| 591 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 592 | return srv.(DriverServer).Create(ctx, req.(*emptypb.Empty)) |
| 593 | } |
| 594 | return interceptor(ctx, in, info, handler) |
| 595 | } |
| 596 | |
| 597 | func _Driver_CreateDisk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 598 | in := new(emptypb.Empty) |
| 599 | if err := dec(in); err != nil { |
| 600 | return nil, err |
| 601 | } |
| 602 | if interceptor == nil { |
| 603 | return srv.(DriverServer).CreateDisk(ctx, in) |
| 604 | } |
| 605 | info := &grpc.UnaryServerInfo{ |
| 606 | Server: srv, |
| 607 | FullMethod: Driver_CreateDisk_FullMethodName, |
| 608 | } |
| 609 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 610 | return srv.(DriverServer).CreateDisk(ctx, req.(*emptypb.Empty)) |
| 611 | } |
| 612 | return interceptor(ctx, in, info, handler) |
| 613 | } |
| 614 | |
| 615 | func _Driver_Start_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 616 | m := new(emptypb.Empty) |
| 617 | if err := stream.RecvMsg(m); err != nil { |
| 618 | return err |
| 619 | } |
| 620 | return srv.(DriverServer).Start(m, &grpc.GenericServerStream[emptypb.Empty, StartResponse]{ServerStream: stream}) |
| 621 | } |
| 622 | |
| 623 | |
| 624 | type Driver_StartServer = grpc.ServerStreamingServer[StartResponse] |
| 625 | |
| 626 | func _Driver_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 627 | in := new(emptypb.Empty) |
| 628 | if err := dec(in); err != nil { |
| 629 | return nil, err |
| 630 | } |
| 631 | if interceptor == nil { |
| 632 | return srv.(DriverServer).Stop(ctx, in) |
| 633 | } |
| 634 | info := &grpc.UnaryServerInfo{ |
| 635 | Server: srv, |
| 636 | FullMethod: Driver_Stop_FullMethodName, |
| 637 | } |
| 638 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 639 | return srv.(DriverServer).Stop(ctx, req.(*emptypb.Empty)) |
| 640 | } |
| 641 | return interceptor(ctx, in, info, handler) |
| 642 | } |
| 643 | |
| 644 | func _Driver_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 645 | in := new(emptypb.Empty) |
| 646 | if err := dec(in); err != nil { |
| 647 | return nil, err |
| 648 | } |
| 649 | if interceptor == nil { |
| 650 | return srv.(DriverServer).Delete(ctx, in) |
| 651 | } |
| 652 | info := &grpc.UnaryServerInfo{ |
| 653 | Server: srv, |
| 654 | FullMethod: Driver_Delete_FullMethodName, |
| 655 | } |
| 656 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 657 | return srv.(DriverServer).Delete(ctx, req.(*emptypb.Empty)) |
| 658 | } |
| 659 | return interceptor(ctx, in, info, handler) |
| 660 | } |
| 661 | |
| 662 | func _Driver_BootScripts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 663 | in := new(emptypb.Empty) |
| 664 | if err := dec(in); err != nil { |
| 665 | return nil, err |
| 666 | } |
| 667 | if interceptor == nil { |
| 668 | return srv.(DriverServer).BootScripts(ctx, in) |
| 669 | } |
| 670 | info := &grpc.UnaryServerInfo{ |
| 671 | Server: srv, |
| 672 | FullMethod: Driver_BootScripts_FullMethodName, |
| 673 | } |
| 674 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 675 | return srv.(DriverServer).BootScripts(ctx, req.(*emptypb.Empty)) |
| 676 | } |
| 677 | return interceptor(ctx, in, info, handler) |
| 678 | } |
| 679 | |
| 680 | func _Driver_RunGUI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 681 | in := new(emptypb.Empty) |
| 682 | if err := dec(in); err != nil { |
| 683 | return nil, err |
| 684 | } |
| 685 | if interceptor == nil { |
| 686 | return srv.(DriverServer).RunGUI(ctx, in) |
| 687 | } |
| 688 | info := &grpc.UnaryServerInfo{ |
| 689 | Server: srv, |
| 690 | FullMethod: Driver_RunGUI_FullMethodName, |
| 691 | } |
| 692 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 693 | return srv.(DriverServer).RunGUI(ctx, req.(*emptypb.Empty)) |
| 694 | } |
| 695 | return interceptor(ctx, in, info, handler) |
| 696 | } |
| 697 | |
| 698 | func _Driver_ChangeDisplayPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 699 | in := new(ChangeDisplayPasswordRequest) |
| 700 | if err := dec(in); err != nil { |
| 701 | return nil, err |
| 702 | } |
| 703 | if interceptor == nil { |
| 704 | return srv.(DriverServer).ChangeDisplayPassword(ctx, in) |
| 705 | } |
| 706 | info := &grpc.UnaryServerInfo{ |
| 707 | Server: srv, |
| 708 | FullMethod: Driver_ChangeDisplayPassword_FullMethodName, |
| 709 | } |
| 710 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 711 | return srv.(DriverServer).ChangeDisplayPassword(ctx, req.(*ChangeDisplayPasswordRequest)) |
| 712 | } |
| 713 | return interceptor(ctx, in, info, handler) |
| 714 | } |
| 715 | |
| 716 | func _Driver_GetDisplayConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 717 | in := new(emptypb.Empty) |
| 718 | if err := dec(in); err != nil { |
| 719 | return nil, err |
| 720 | } |
| 721 | if interceptor == nil { |
| 722 | return srv.(DriverServer).GetDisplayConnection(ctx, in) |
| 723 | } |
| 724 | info := &grpc.UnaryServerInfo{ |
| 725 | Server: srv, |
| 726 | FullMethod: Driver_GetDisplayConnection_FullMethodName, |
| 727 | } |
| 728 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 729 | return srv.(DriverServer).GetDisplayConnection(ctx, req.(*emptypb.Empty)) |
| 730 | } |
| 731 | return interceptor(ctx, in, info, handler) |
| 732 | } |
| 733 | |
| 734 | func _Driver_CreateSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 735 | in := new(CreateSnapshotRequest) |
| 736 | if err := dec(in); err != nil { |
| 737 | return nil, err |
| 738 | } |
| 739 | if interceptor == nil { |
| 740 | return srv.(DriverServer).CreateSnapshot(ctx, in) |
| 741 | } |
| 742 | info := &grpc.UnaryServerInfo{ |
| 743 | Server: srv, |
| 744 | FullMethod: Driver_CreateSnapshot_FullMethodName, |
| 745 | } |
| 746 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 747 | return srv.(DriverServer).CreateSnapshot(ctx, req.(*CreateSnapshotRequest)) |
| 748 | } |
| 749 | return interceptor(ctx, in, info, handler) |
| 750 | } |
| 751 | |
| 752 | func _Driver_ApplySnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 753 | in := new(ApplySnapshotRequest) |
| 754 | if err := dec(in); err != nil { |
| 755 | return nil, err |
| 756 | } |
| 757 | if interceptor == nil { |
| 758 | return srv.(DriverServer).ApplySnapshot(ctx, in) |
| 759 | } |
| 760 | info := &grpc.UnaryServerInfo{ |
| 761 | Server: srv, |
| 762 | FullMethod: Driver_ApplySnapshot_FullMethodName, |
| 763 | } |
| 764 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 765 | return srv.(DriverServer).ApplySnapshot(ctx, req.(*ApplySnapshotRequest)) |
| 766 | } |
| 767 | return interceptor(ctx, in, info, handler) |
| 768 | } |
| 769 | |
| 770 | func _Driver_DeleteSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 771 | in := new(DeleteSnapshotRequest) |
| 772 | if err := dec(in); err != nil { |
| 773 | return nil, err |
| 774 | } |
| 775 | if interceptor == nil { |
| 776 | return srv.(DriverServer).DeleteSnapshot(ctx, in) |
| 777 | } |
| 778 | info := &grpc.UnaryServerInfo{ |
| 779 | Server: srv, |
| 780 | FullMethod: Driver_DeleteSnapshot_FullMethodName, |
| 781 | } |
| 782 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 783 | return srv.(DriverServer).DeleteSnapshot(ctx, req.(*DeleteSnapshotRequest)) |
| 784 | } |
| 785 | return interceptor(ctx, in, info, handler) |
| 786 | } |
| 787 | |
| 788 | func _Driver_ListSnapshots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 789 | in := new(emptypb.Empty) |
| 790 | if err := dec(in); err != nil { |
| 791 | return nil, err |
| 792 | } |
| 793 | if interceptor == nil { |
| 794 | return srv.(DriverServer).ListSnapshots(ctx, in) |
| 795 | } |
| 796 | info := &grpc.UnaryServerInfo{ |
| 797 | Server: srv, |
| 798 | FullMethod: Driver_ListSnapshots_FullMethodName, |
| 799 | } |
| 800 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 801 | return srv.(DriverServer).ListSnapshots(ctx, req.(*emptypb.Empty)) |
| 802 | } |
| 803 | return interceptor(ctx, in, info, handler) |
| 804 | } |
| 805 | |
| 806 | func _Driver_ForwardGuestAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 807 | in := new(emptypb.Empty) |
| 808 | if err := dec(in); err != nil { |
| 809 | return nil, err |
| 810 | } |
| 811 | if interceptor == nil { |
| 812 | return srv.(DriverServer).ForwardGuestAgent(ctx, in) |
| 813 | } |
| 814 | info := &grpc.UnaryServerInfo{ |
| 815 | Server: srv, |
| 816 | FullMethod: Driver_ForwardGuestAgent_FullMethodName, |
| 817 | } |
| 818 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 819 | return srv.(DriverServer).ForwardGuestAgent(ctx, req.(*emptypb.Empty)) |
| 820 | } |
| 821 | return interceptor(ctx, in, info, handler) |
| 822 | } |
| 823 | |
| 824 | func _Driver_GuestAgentConn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 825 | in := new(emptypb.Empty) |
| 826 | if err := dec(in); err != nil { |
| 827 | return nil, err |
| 828 | } |
| 829 | if interceptor == nil { |
| 830 | return srv.(DriverServer).GuestAgentConn(ctx, in) |
| 831 | } |
| 832 | info := &grpc.UnaryServerInfo{ |
| 833 | Server: srv, |
| 834 | FullMethod: Driver_GuestAgentConn_FullMethodName, |
| 835 | } |
| 836 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 837 | return srv.(DriverServer).GuestAgentConn(ctx, req.(*emptypb.Empty)) |
| 838 | } |
| 839 | return interceptor(ctx, in, info, handler) |
| 840 | } |
| 841 | |
| 842 | func _Driver_Configure_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 843 | in := new(SetConfigRequest) |
| 844 | if err := dec(in); err != nil { |
| 845 | return nil, err |
| 846 | } |
| 847 | if interceptor == nil { |
| 848 | return srv.(DriverServer).Configure(ctx, in) |
| 849 | } |
| 850 | info := &grpc.UnaryServerInfo{ |
| 851 | Server: srv, |
| 852 | FullMethod: Driver_Configure_FullMethodName, |
| 853 | } |
| 854 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 855 | return srv.(DriverServer).Configure(ctx, req.(*SetConfigRequest)) |
| 856 | } |
| 857 | return interceptor(ctx, in, info, handler) |
| 858 | } |
| 859 | |
| 860 | func _Driver_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 861 | in := new(emptypb.Empty) |
| 862 | if err := dec(in); err != nil { |
| 863 | return nil, err |
| 864 | } |
| 865 | if interceptor == nil { |
| 866 | return srv.(DriverServer).Info(ctx, in) |
| 867 | } |
| 868 | info := &grpc.UnaryServerInfo{ |
| 869 | Server: srv, |
| 870 | FullMethod: Driver_Info_FullMethodName, |
| 871 | } |
| 872 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 873 | return srv.(DriverServer).Info(ctx, req.(*emptypb.Empty)) |
| 874 | } |
| 875 | return interceptor(ctx, in, info, handler) |
| 876 | } |
| 877 | |
| 878 | func _Driver_SSHAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 879 | in := new(emptypb.Empty) |
| 880 | if err := dec(in); err != nil { |
| 881 | return nil, err |
| 882 | } |
| 883 | if interceptor == nil { |
| 884 | return srv.(DriverServer).SSHAddress(ctx, in) |
| 885 | } |
| 886 | info := &grpc.UnaryServerInfo{ |
| 887 | Server: srv, |
| 888 | FullMethod: Driver_SSHAddress_FullMethodName, |
| 889 | } |
| 890 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 891 | return srv.(DriverServer).SSHAddress(ctx, req.(*emptypb.Empty)) |
| 892 | } |
| 893 | return interceptor(ctx, in, info, handler) |
| 894 | } |
| 895 | |
| 896 | func _Driver_AdditionalSetupForSSH_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 897 | in := new(emptypb.Empty) |
| 898 | if err := dec(in); err != nil { |
| 899 | return nil, err |
| 900 | } |
| 901 | if interceptor == nil { |
| 902 | return srv.(DriverServer).AdditionalSetupForSSH(ctx, in) |
| 903 | } |
| 904 | info := &grpc.UnaryServerInfo{ |
| 905 | Server: srv, |
| 906 | FullMethod: Driver_AdditionalSetupForSSH_FullMethodName, |
| 907 | } |
| 908 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 909 | return srv.(DriverServer).AdditionalSetupForSSH(ctx, req.(*emptypb.Empty)) |
| 910 | } |
| 911 | return interceptor(ctx, in, info, handler) |
| 912 | } |
| 913 | |
| 914 | |
| 915 | |
| 916 | |
| 917 | var Driver_ServiceDesc = grpc.ServiceDesc{ |
| 918 | ServiceName: "Driver", |
| 919 | HandlerType: (*DriverServer)(nil), |
| 920 | Methods: []grpc.MethodDesc{ |
| 921 | { |
| 922 | MethodName: "Validate", |
| 923 | Handler: _Driver_Validate_Handler, |
| 924 | }, |
| 925 | { |
| 926 | MethodName: "Create", |
| 927 | Handler: _Driver_Create_Handler, |
| 928 | }, |
| 929 | { |
| 930 | MethodName: "CreateDisk", |
| 931 | Handler: _Driver_CreateDisk_Handler, |
| 932 | }, |
| 933 | { |
| 934 | MethodName: "Stop", |
| 935 | Handler: _Driver_Stop_Handler, |
| 936 | }, |
| 937 | { |
| 938 | MethodName: "Delete", |
| 939 | Handler: _Driver_Delete_Handler, |
| 940 | }, |
| 941 | { |
| 942 | MethodName: "BootScripts", |
| 943 | Handler: _Driver_BootScripts_Handler, |
| 944 | }, |
| 945 | { |
| 946 | MethodName: "RunGUI", |
| 947 | Handler: _Driver_RunGUI_Handler, |
| 948 | }, |
| 949 | { |
| 950 | MethodName: "ChangeDisplayPassword", |
| 951 | Handler: _Driver_ChangeDisplayPassword_Handler, |
| 952 | }, |
| 953 | { |
| 954 | MethodName: "GetDisplayConnection", |
| 955 | Handler: _Driver_GetDisplayConnection_Handler, |
| 956 | }, |
| 957 | { |
| 958 | MethodName: "CreateSnapshot", |
| 959 | Handler: _Driver_CreateSnapshot_Handler, |
| 960 | }, |
| 961 | { |
| 962 | MethodName: "ApplySnapshot", |
| 963 | Handler: _Driver_ApplySnapshot_Handler, |
| 964 | }, |
| 965 | { |
| 966 | MethodName: "DeleteSnapshot", |
| 967 | Handler: _Driver_DeleteSnapshot_Handler, |
| 968 | }, |
| 969 | { |
| 970 | MethodName: "ListSnapshots", |
| 971 | Handler: _Driver_ListSnapshots_Handler, |
| 972 | }, |
| 973 | { |
| 974 | MethodName: "ForwardGuestAgent", |
| 975 | Handler: _Driver_ForwardGuestAgent_Handler, |
| 976 | }, |
| 977 | { |
| 978 | MethodName: "GuestAgentConn", |
| 979 | Handler: _Driver_GuestAgentConn_Handler, |
| 980 | }, |
| 981 | { |
| 982 | MethodName: "Configure", |
| 983 | Handler: _Driver_Configure_Handler, |
| 984 | }, |
| 985 | { |
| 986 | MethodName: "Info", |
| 987 | Handler: _Driver_Info_Handler, |
| 988 | }, |
| 989 | { |
| 990 | MethodName: "SSHAddress", |
| 991 | Handler: _Driver_SSHAddress_Handler, |
| 992 | }, |
| 993 | { |
| 994 | MethodName: "AdditionalSetupForSSH", |
| 995 | Handler: _Driver_AdditionalSetupForSSH_Handler, |
| 996 | }, |
| 997 | }, |
| 998 | Streams: []grpc.StreamDesc{ |
| 999 | { |
| 1000 | StreamName: "Start", |
| 1001 | Handler: _Driver_Start_Handler, |
| 1002 | ServerStreams: true, |
| 1003 | }, |
| 1004 | }, |
| 1005 | Metadata: "driver.proto", |
| 1006 | } |