forked from plamenmpetrov/firecracker-containerd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
firecracker.pb.go
677 lines (606 loc) · 25.1 KB
/
firecracker.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
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
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: firecracker.proto
package proto
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// CreateVMRequest specifies creation parameters for a new FC instance
type CreateVMRequest struct {
// VM identifier to assign
VMID string `protobuf:"bytes,1,opt,name=VMID,json=vMID,proto3" json:"VMID,omitempty"`
// Specifies the machine configuration for the VM
MachineCfg *FirecrackerMachineConfiguration `protobuf:"bytes,2,opt,name=MachineCfg,json=machineCfg,proto3" json:"MachineCfg,omitempty"`
// Specifies the file path where the kernel image is located
KernelImagePath string `protobuf:"bytes,3,opt,name=KernelImagePath,json=kernelImagePath,proto3" json:"KernelImagePath,omitempty"`
// Specifies the commandline arguments that should be passed to the kernel
KernelArgs string `protobuf:"bytes,4,opt,name=KernelArgs,json=kernelArgs,proto3" json:"KernelArgs,omitempty"`
// Specifies drive containing the rootfs of the VM
RootDrive *FirecrackerRootDrive `protobuf:"bytes,5,opt,name=RootDrive,json=rootDrive,proto3" json:"RootDrive,omitempty"`
// Specifies additional drives whose contents will be mounted inside the VM on boot.
DriveMounts []*FirecrackerDriveMount `protobuf:"bytes,6,rep,name=DriveMounts,json=driveMounts,proto3" json:"DriveMounts,omitempty"`
// Specifies the networking configuration for a VM
NetworkInterfaces []*FirecrackerNetworkInterface `protobuf:"bytes,7,rep,name=NetworkInterfaces,json=networkInterfaces,proto3" json:"NetworkInterfaces,omitempty"`
// The number of dummy drives to reserve in advance before running FC instance.
ContainerCount int32 `protobuf:"varint,8,opt,name=ContainerCount,json=containerCount,proto3" json:"ContainerCount,omitempty"`
// Whether the VM should exit after all tasks running in it have been deleted.
ExitAfterAllTasksDeleted bool `protobuf:"varint,9,opt,name=ExitAfterAllTasksDeleted,json=exitAfterAllTasksDeleted,proto3" json:"ExitAfterAllTasksDeleted,omitempty"`
JailerConfig *JailerConfig `protobuf:"bytes,10,opt,name=JailerConfig,json=jailerConfig,proto3" json:"JailerConfig,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateVMRequest) Reset() { *m = CreateVMRequest{} }
func (m *CreateVMRequest) String() string { return proto.CompactTextString(m) }
func (*CreateVMRequest) ProtoMessage() {}
func (*CreateVMRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{0}
}
func (m *CreateVMRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateVMRequest.Unmarshal(m, b)
}
func (m *CreateVMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateVMRequest.Marshal(b, m, deterministic)
}
func (m *CreateVMRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateVMRequest.Merge(m, src)
}
func (m *CreateVMRequest) XXX_Size() int {
return xxx_messageInfo_CreateVMRequest.Size(m)
}
func (m *CreateVMRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateVMRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateVMRequest proto.InternalMessageInfo
func (m *CreateVMRequest) GetVMID() string {
if m != nil {
return m.VMID
}
return ""
}
func (m *CreateVMRequest) GetMachineCfg() *FirecrackerMachineConfiguration {
if m != nil {
return m.MachineCfg
}
return nil
}
func (m *CreateVMRequest) GetKernelImagePath() string {
if m != nil {
return m.KernelImagePath
}
return ""
}
func (m *CreateVMRequest) GetKernelArgs() string {
if m != nil {
return m.KernelArgs
}
return ""
}
func (m *CreateVMRequest) GetRootDrive() *FirecrackerRootDrive {
if m != nil {
return m.RootDrive
}
return nil
}
func (m *CreateVMRequest) GetDriveMounts() []*FirecrackerDriveMount {
if m != nil {
return m.DriveMounts
}
return nil
}
func (m *CreateVMRequest) GetNetworkInterfaces() []*FirecrackerNetworkInterface {
if m != nil {
return m.NetworkInterfaces
}
return nil
}
func (m *CreateVMRequest) GetContainerCount() int32 {
if m != nil {
return m.ContainerCount
}
return 0
}
func (m *CreateVMRequest) GetExitAfterAllTasksDeleted() bool {
if m != nil {
return m.ExitAfterAllTasksDeleted
}
return false
}
func (m *CreateVMRequest) GetJailerConfig() *JailerConfig {
if m != nil {
return m.JailerConfig
}
return nil
}
type CreateVMResponse struct {
VMID string `protobuf:"bytes,1,opt,name=VMID,json=vMID,proto3" json:"VMID,omitempty"`
SocketPath string `protobuf:"bytes,2,opt,name=SocketPath,json=socketPath,proto3" json:"SocketPath,omitempty"`
LogFifoPath string `protobuf:"bytes,3,opt,name=LogFifoPath,json=logFifoPath,proto3" json:"LogFifoPath,omitempty"`
MetricsFifoPath string `protobuf:"bytes,4,opt,name=MetricsFifoPath,json=metricsFifoPath,proto3" json:"MetricsFifoPath,omitempty"`
CgroupPath string `protobuf:"bytes,5,opt,name=CgroupPath,json=cgroupPath,proto3" json:"CgroupPath,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateVMResponse) Reset() { *m = CreateVMResponse{} }
func (m *CreateVMResponse) String() string { return proto.CompactTextString(m) }
func (*CreateVMResponse) ProtoMessage() {}
func (*CreateVMResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{1}
}
func (m *CreateVMResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateVMResponse.Unmarshal(m, b)
}
func (m *CreateVMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateVMResponse.Marshal(b, m, deterministic)
}
func (m *CreateVMResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateVMResponse.Merge(m, src)
}
func (m *CreateVMResponse) XXX_Size() int {
return xxx_messageInfo_CreateVMResponse.Size(m)
}
func (m *CreateVMResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateVMResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateVMResponse proto.InternalMessageInfo
func (m *CreateVMResponse) GetVMID() string {
if m != nil {
return m.VMID
}
return ""
}
func (m *CreateVMResponse) GetSocketPath() string {
if m != nil {
return m.SocketPath
}
return ""
}
func (m *CreateVMResponse) GetLogFifoPath() string {
if m != nil {
return m.LogFifoPath
}
return ""
}
func (m *CreateVMResponse) GetMetricsFifoPath() string {
if m != nil {
return m.MetricsFifoPath
}
return ""
}
func (m *CreateVMResponse) GetCgroupPath() string {
if m != nil {
return m.CgroupPath
}
return ""
}
type StopVMRequest struct {
VMID string `protobuf:"bytes,1,opt,name=VMID,json=vMID,proto3" json:"VMID,omitempty"`
TimeoutSeconds uint32 `protobuf:"varint,2,opt,name=TimeoutSeconds,json=timeoutSeconds,proto3" json:"TimeoutSeconds,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StopVMRequest) Reset() { *m = StopVMRequest{} }
func (m *StopVMRequest) String() string { return proto.CompactTextString(m) }
func (*StopVMRequest) ProtoMessage() {}
func (*StopVMRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{2}
}
func (m *StopVMRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StopVMRequest.Unmarshal(m, b)
}
func (m *StopVMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StopVMRequest.Marshal(b, m, deterministic)
}
func (m *StopVMRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StopVMRequest.Merge(m, src)
}
func (m *StopVMRequest) XXX_Size() int {
return xxx_messageInfo_StopVMRequest.Size(m)
}
func (m *StopVMRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StopVMRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StopVMRequest proto.InternalMessageInfo
func (m *StopVMRequest) GetVMID() string {
if m != nil {
return m.VMID
}
return ""
}
func (m *StopVMRequest) GetTimeoutSeconds() uint32 {
if m != nil {
return m.TimeoutSeconds
}
return 0
}
type GetVMInfoRequest struct {
VMID string `protobuf:"bytes,1,opt,name=VMID,json=vMID,proto3" json:"VMID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetVMInfoRequest) Reset() { *m = GetVMInfoRequest{} }
func (m *GetVMInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetVMInfoRequest) ProtoMessage() {}
func (*GetVMInfoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{3}
}
func (m *GetVMInfoRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetVMInfoRequest.Unmarshal(m, b)
}
func (m *GetVMInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetVMInfoRequest.Marshal(b, m, deterministic)
}
func (m *GetVMInfoRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetVMInfoRequest.Merge(m, src)
}
func (m *GetVMInfoRequest) XXX_Size() int {
return xxx_messageInfo_GetVMInfoRequest.Size(m)
}
func (m *GetVMInfoRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetVMInfoRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetVMInfoRequest proto.InternalMessageInfo
func (m *GetVMInfoRequest) GetVMID() string {
if m != nil {
return m.VMID
}
return ""
}
type GetVMInfoResponse struct {
VMID string `protobuf:"bytes,1,opt,name=VMID,json=vMID,proto3" json:"VMID,omitempty"`
SocketPath string `protobuf:"bytes,2,opt,name=SocketPath,json=socketPath,proto3" json:"SocketPath,omitempty"`
LogFifoPath string `protobuf:"bytes,3,opt,name=LogFifoPath,json=logFifoPath,proto3" json:"LogFifoPath,omitempty"`
MetricsFifoPath string `protobuf:"bytes,4,opt,name=MetricsFifoPath,json=metricsFifoPath,proto3" json:"MetricsFifoPath,omitempty"`
CgroupPath string `protobuf:"bytes,5,opt,name=CgroupPath,json=cgroupPath,proto3" json:"CgroupPath,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetVMInfoResponse) Reset() { *m = GetVMInfoResponse{} }
func (m *GetVMInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetVMInfoResponse) ProtoMessage() {}
func (*GetVMInfoResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{4}
}
func (m *GetVMInfoResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetVMInfoResponse.Unmarshal(m, b)
}
func (m *GetVMInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetVMInfoResponse.Marshal(b, m, deterministic)
}
func (m *GetVMInfoResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetVMInfoResponse.Merge(m, src)
}
func (m *GetVMInfoResponse) XXX_Size() int {
return xxx_messageInfo_GetVMInfoResponse.Size(m)
}
func (m *GetVMInfoResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetVMInfoResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetVMInfoResponse proto.InternalMessageInfo
func (m *GetVMInfoResponse) GetVMID() string {
if m != nil {
return m.VMID
}
return ""
}
func (m *GetVMInfoResponse) GetSocketPath() string {
if m != nil {
return m.SocketPath
}
return ""
}
func (m *GetVMInfoResponse) GetLogFifoPath() string {
if m != nil {
return m.LogFifoPath
}
return ""
}
func (m *GetVMInfoResponse) GetMetricsFifoPath() string {
if m != nil {
return m.MetricsFifoPath
}
return ""
}
func (m *GetVMInfoResponse) GetCgroupPath() string {
if m != nil {
return m.CgroupPath
}
return ""
}
type SetVMMetadataRequest struct {
VMID string `protobuf:"bytes,1,opt,name=VMID,json=vMID,proto3" json:"VMID,omitempty"`
Metadata string `protobuf:"bytes,2,opt,name=Metadata,json=metadata,proto3" json:"Metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetVMMetadataRequest) Reset() { *m = SetVMMetadataRequest{} }
func (m *SetVMMetadataRequest) String() string { return proto.CompactTextString(m) }
func (*SetVMMetadataRequest) ProtoMessage() {}
func (*SetVMMetadataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{5}
}
func (m *SetVMMetadataRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetVMMetadataRequest.Unmarshal(m, b)
}
func (m *SetVMMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetVMMetadataRequest.Marshal(b, m, deterministic)
}
func (m *SetVMMetadataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetVMMetadataRequest.Merge(m, src)
}
func (m *SetVMMetadataRequest) XXX_Size() int {
return xxx_messageInfo_SetVMMetadataRequest.Size(m)
}
func (m *SetVMMetadataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SetVMMetadataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SetVMMetadataRequest proto.InternalMessageInfo
func (m *SetVMMetadataRequest) GetVMID() string {
if m != nil {
return m.VMID
}
return ""
}
func (m *SetVMMetadataRequest) GetMetadata() string {
if m != nil {
return m.Metadata
}
return ""
}
type UpdateVMMetadataRequest struct {
VMID string `protobuf:"bytes,1,opt,name=VMID,json=vMID,proto3" json:"VMID,omitempty"`
Metadata string `protobuf:"bytes,2,opt,name=Metadata,json=metadata,proto3" json:"Metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateVMMetadataRequest) Reset() { *m = UpdateVMMetadataRequest{} }
func (m *UpdateVMMetadataRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateVMMetadataRequest) ProtoMessage() {}
func (*UpdateVMMetadataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{6}
}
func (m *UpdateVMMetadataRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateVMMetadataRequest.Unmarshal(m, b)
}
func (m *UpdateVMMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateVMMetadataRequest.Marshal(b, m, deterministic)
}
func (m *UpdateVMMetadataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateVMMetadataRequest.Merge(m, src)
}
func (m *UpdateVMMetadataRequest) XXX_Size() int {
return xxx_messageInfo_UpdateVMMetadataRequest.Size(m)
}
func (m *UpdateVMMetadataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateVMMetadataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateVMMetadataRequest proto.InternalMessageInfo
func (m *UpdateVMMetadataRequest) GetVMID() string {
if m != nil {
return m.VMID
}
return ""
}
func (m *UpdateVMMetadataRequest) GetMetadata() string {
if m != nil {
return m.Metadata
}
return ""
}
type GetVMMetadataRequest struct {
VMID string `protobuf:"bytes,1,opt,name=VMID,json=vMID,proto3" json:"VMID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetVMMetadataRequest) Reset() { *m = GetVMMetadataRequest{} }
func (m *GetVMMetadataRequest) String() string { return proto.CompactTextString(m) }
func (*GetVMMetadataRequest) ProtoMessage() {}
func (*GetVMMetadataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{7}
}
func (m *GetVMMetadataRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetVMMetadataRequest.Unmarshal(m, b)
}
func (m *GetVMMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetVMMetadataRequest.Marshal(b, m, deterministic)
}
func (m *GetVMMetadataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetVMMetadataRequest.Merge(m, src)
}
func (m *GetVMMetadataRequest) XXX_Size() int {
return xxx_messageInfo_GetVMMetadataRequest.Size(m)
}
func (m *GetVMMetadataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetVMMetadataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetVMMetadataRequest proto.InternalMessageInfo
func (m *GetVMMetadataRequest) GetVMID() string {
if m != nil {
return m.VMID
}
return ""
}
type GetVMMetadataResponse struct {
Metadata string `protobuf:"bytes,1,opt,name=Metadata,json=metadata,proto3" json:"Metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetVMMetadataResponse) Reset() { *m = GetVMMetadataResponse{} }
func (m *GetVMMetadataResponse) String() string { return proto.CompactTextString(m) }
func (*GetVMMetadataResponse) ProtoMessage() {}
func (*GetVMMetadataResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{8}
}
func (m *GetVMMetadataResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetVMMetadataResponse.Unmarshal(m, b)
}
func (m *GetVMMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetVMMetadataResponse.Marshal(b, m, deterministic)
}
func (m *GetVMMetadataResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetVMMetadataResponse.Merge(m, src)
}
func (m *GetVMMetadataResponse) XXX_Size() int {
return xxx_messageInfo_GetVMMetadataResponse.Size(m)
}
func (m *GetVMMetadataResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetVMMetadataResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetVMMetadataResponse proto.InternalMessageInfo
func (m *GetVMMetadataResponse) GetMetadata() string {
if m != nil {
return m.Metadata
}
return ""
}
type JailerConfig struct {
NetNS string `protobuf:"bytes,1,opt,name=NetNS,json=netNS,proto3" json:"NetNS,omitempty"`
// List of the physical numbers of the CPUs on which processes in that
// cpuset are allowed to execute. See List Format below for a description
// of the format of cpus.
//
// The CPUs allowed to a cpuset may be changed by writing a new list to its
// cpus file.
// Taken from http://man7.org/linux/man-pages/man7/cpuset.7.html
//
// This is formatted as specified in the cpuset man page under "List Format"
// http://man7.org/linux/man-pages/man7/cpuset.7.html
CPUs string `protobuf:"bytes,2,opt,name=CPUs,json=cPUs,proto3" json:"CPUs,omitempty"`
// List of memory nodes on which processes in this cpuset are allowed to
// allocate memory. See List Format below for a description of the format
// of mems.
// Taken from http://man7.org/linux/man-pages/man7/cpuset.7.html
//
// This is formatted as specified in the cpuset man page under "List Format"
// http://man7.org/linux/man-pages/man7/cpuset.7.html
Mems string `protobuf:"bytes,3,opt,name=Mems,json=mems,proto3" json:"Mems,omitempty"`
UID uint32 `protobuf:"varint,4,opt,name=UID,json=uID,proto3" json:"UID,omitempty"`
GID uint32 `protobuf:"varint,5,opt,name=GID,json=gID,proto3" json:"GID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *JailerConfig) Reset() { *m = JailerConfig{} }
func (m *JailerConfig) String() string { return proto.CompactTextString(m) }
func (*JailerConfig) ProtoMessage() {}
func (*JailerConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_a73317e9fb8da571, []int{9}
}
func (m *JailerConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_JailerConfig.Unmarshal(m, b)
}
func (m *JailerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_JailerConfig.Marshal(b, m, deterministic)
}
func (m *JailerConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_JailerConfig.Merge(m, src)
}
func (m *JailerConfig) XXX_Size() int {
return xxx_messageInfo_JailerConfig.Size(m)
}
func (m *JailerConfig) XXX_DiscardUnknown() {
xxx_messageInfo_JailerConfig.DiscardUnknown(m)
}
var xxx_messageInfo_JailerConfig proto.InternalMessageInfo
func (m *JailerConfig) GetNetNS() string {
if m != nil {
return m.NetNS
}
return ""
}
func (m *JailerConfig) GetCPUs() string {
if m != nil {
return m.CPUs
}
return ""
}
func (m *JailerConfig) GetMems() string {
if m != nil {
return m.Mems
}
return ""
}
func (m *JailerConfig) GetUID() uint32 {
if m != nil {
return m.UID
}
return 0
}
func (m *JailerConfig) GetGID() uint32 {
if m != nil {
return m.GID
}
return 0
}
func init() {
proto.RegisterType((*CreateVMRequest)(nil), "CreateVMRequest")
proto.RegisterType((*CreateVMResponse)(nil), "CreateVMResponse")
proto.RegisterType((*StopVMRequest)(nil), "StopVMRequest")
proto.RegisterType((*GetVMInfoRequest)(nil), "GetVMInfoRequest")
proto.RegisterType((*GetVMInfoResponse)(nil), "GetVMInfoResponse")
proto.RegisterType((*SetVMMetadataRequest)(nil), "SetVMMetadataRequest")
proto.RegisterType((*UpdateVMMetadataRequest)(nil), "UpdateVMMetadataRequest")
proto.RegisterType((*GetVMMetadataRequest)(nil), "GetVMMetadataRequest")
proto.RegisterType((*GetVMMetadataResponse)(nil), "GetVMMetadataResponse")
proto.RegisterType((*JailerConfig)(nil), "JailerConfig")
}
func init() { proto.RegisterFile("firecracker.proto", fileDescriptor_a73317e9fb8da571) }
var fileDescriptor_a73317e9fb8da571 = []byte{
// 596 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x54, 0x41, 0x6f, 0xd3, 0x4c,
0x10, 0x95, 0x9b, 0xa4, 0x4d, 0xc6, 0x4d, 0xd2, 0xac, 0xda, 0xef, 0xb3, 0x2a, 0x54, 0x59, 0x3e,
0x54, 0x11, 0x87, 0x4a, 0xb4, 0x17, 0xc4, 0x89, 0x12, 0xd3, 0xca, 0x2d, 0xae, 0xaa, 0x4d, 0xd3,
0x03, 0xb7, 0xc5, 0x19, 0xbb, 0x26, 0xf1, 0xae, 0xd9, 0xdd, 0x14, 0x38, 0xf3, 0x8f, 0xe0, 0x0f,
0x22, 0x6f, 0x52, 0xc7, 0x89, 0x20, 0x42, 0xe2, 0xc4, 0x29, 0x3b, 0x6f, 0xde, 0xcc, 0x3c, 0xcd,
0x9b, 0x18, 0x7a, 0x71, 0x2a, 0x31, 0x92, 0x2c, 0x9a, 0xa0, 0x3c, 0xc9, 0xa5, 0xd0, 0xe2, 0xd0,
0xd6, 0x5f, 0x73, 0x54, 0xf3, 0xc0, 0xfb, 0x56, 0x87, 0xee, 0x40, 0x22, 0xd3, 0x78, 0x1f, 0x52,
0xfc, 0x34, 0x43, 0xa5, 0x09, 0x81, 0xfa, 0x7d, 0x18, 0xf8, 0x8e, 0xe5, 0x5a, 0xfd, 0x16, 0xad,
0x3f, 0x86, 0x81, 0x4f, 0x5e, 0x03, 0x84, 0x2c, 0x7a, 0x48, 0x39, 0x0e, 0xe2, 0xc4, 0xd9, 0x72,
0xad, 0xbe, 0x7d, 0xea, 0x9e, 0x5c, 0x2c, 0x9b, 0x3f, 0x65, 0x05, 0x8f, 0xd3, 0x64, 0x26, 0x99,
0x4e, 0x05, 0xa7, 0x90, 0x95, 0x35, 0xa4, 0x0f, 0xdd, 0x6b, 0x94, 0x1c, 0xa7, 0x41, 0xc6, 0x12,
0xbc, 0x65, 0xfa, 0xc1, 0xa9, 0x99, 0x01, 0xdd, 0xc9, 0x2a, 0x4c, 0x8e, 0x00, 0xe6, 0xcc, 0x73,
0x99, 0x28, 0xa7, 0x6e, 0x48, 0x30, 0x29, 0x11, 0x72, 0x06, 0x2d, 0x2a, 0x84, 0xf6, 0x65, 0xfa,
0x88, 0x4e, 0xc3, 0x48, 0x39, 0xa8, 0x4a, 0x29, 0x93, 0xb4, 0x25, 0x9f, 0x9e, 0xe4, 0x25, 0xd8,
0xe6, 0x11, 0x8a, 0x19, 0xd7, 0xca, 0xd9, 0x76, 0x6b, 0x7d, 0xfb, 0xf4, 0xbf, 0x6a, 0xd9, 0x32,
0x4d, 0xed, 0xf1, 0x92, 0x4a, 0xae, 0xa0, 0x77, 0x83, 0xfa, 0xb3, 0x90, 0x93, 0x80, 0x6b, 0x94,
0x31, 0x8b, 0x50, 0x39, 0x3b, 0xa6, 0xfe, 0x59, 0xb5, 0x7e, 0x9d, 0x44, 0x7b, 0x7c, 0xbd, 0x8c,
0x1c, 0x43, 0x67, 0x20, 0xb8, 0x66, 0x29, 0x47, 0x39, 0x28, 0xda, 0x3b, 0x4d, 0xd7, 0xea, 0x37,
0x68, 0x27, 0x5a, 0x41, 0xc9, 0x2b, 0x70, 0xde, 0x7e, 0x49, 0xf5, 0x79, 0xac, 0x51, 0x9e, 0x4f,
0xa7, 0x77, 0x4c, 0x4d, 0x94, 0x8f, 0x53, 0xd4, 0x38, 0x76, 0x5a, 0xae, 0xd5, 0x6f, 0x52, 0x07,
0x7f, 0x93, 0x27, 0x2f, 0x60, 0xf7, 0x8a, 0xa5, 0xd3, 0xa2, 0x55, 0xe1, 0x85, 0x03, 0x66, 0x43,
0xed, 0x93, 0x2a, 0x48, 0x77, 0x3f, 0x56, 0x22, 0xef, 0xbb, 0x05, 0x7b, 0xcb, 0x2b, 0x50, 0xb9,
0xe0, 0x0a, 0x7f, 0x79, 0x06, 0x47, 0x00, 0x43, 0x11, 0x4d, 0x50, 0x1b, 0xff, 0xb6, 0xe6, 0xd6,
0xa8, 0x12, 0x21, 0x2e, 0xd8, 0xef, 0x44, 0x72, 0x91, 0xc6, 0xa2, 0x62, 0xb0, 0x3d, 0x5d, 0x42,
0xc5, 0x19, 0x84, 0xa8, 0x65, 0x1a, 0xa9, 0x92, 0x35, 0x77, 0xb8, 0x9b, 0xad, 0xc2, 0xc5, 0xac,
0x41, 0x22, 0xc5, 0x2c, 0x37, 0xa4, 0xc6, 0x7c, 0x56, 0x54, 0x22, 0xde, 0x35, 0xb4, 0x87, 0x5a,
0xe4, 0x9b, 0xef, 0xf6, 0x18, 0x3a, 0x77, 0x69, 0x86, 0x62, 0xa6, 0x87, 0x18, 0x09, 0x3e, 0x56,
0x46, 0x74, 0x9b, 0x76, 0xf4, 0x0a, 0xea, 0x1d, 0xc3, 0xde, 0x25, 0xea, 0xfb, 0x30, 0xe0, 0xb1,
0xd8, 0xd0, 0xcf, 0xfb, 0x61, 0x41, 0xaf, 0x42, 0xfc, 0x47, 0x56, 0x75, 0x01, 0xfb, 0xc3, 0x42,
0x74, 0x88, 0x9a, 0x8d, 0x99, 0x66, 0x9b, 0x36, 0x76, 0x08, 0xcd, 0x27, 0xda, 0x42, 0x75, 0x33,
0x5b, 0xc4, 0x5e, 0x00, 0xff, 0x8f, 0xf2, 0xb1, 0x39, 0x93, 0xbf, 0x6d, 0xf5, 0x1c, 0xf6, 0x2f,
0xff, 0x50, 0x92, 0x77, 0x06, 0x07, 0x6b, 0xdc, 0xc5, 0xde, 0xab, 0x03, 0xac, 0xb5, 0x01, 0xf9,
0xea, 0xdf, 0x80, 0xec, 0x43, 0xe3, 0x06, 0xf5, 0xcd, 0x70, 0x41, 0x6c, 0xf0, 0x22, 0x28, 0xc6,
0x0d, 0x6e, 0x47, 0x6a, 0x21, 0xaf, 0x1e, 0xdd, 0x8e, 0x54, 0x81, 0x85, 0x98, 0xa9, 0x85, 0x25,
0xf5, 0x0c, 0x33, 0x45, 0xf6, 0xa0, 0x36, 0x0a, 0x7c, 0xb3, 0xff, 0x36, 0xad, 0xcd, 0x02, 0xbf,
0x40, 0x2e, 0x03, 0xdf, 0x2c, 0xbb, 0x4d, 0x6b, 0x49, 0xe0, 0xbf, 0xd9, 0x79, 0xdf, 0x30, 0x1f,
0xd5, 0x0f, 0xdb, 0xe6, 0xe7, 0xec, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x7a, 0xf5, 0xcb,
0x7d, 0x05, 0x00, 0x00,
}