var ( ErrInvalidLengthVmservice = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVmservice = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupVmservice = fmt.Errorf("proto: unexpected end of group") )
var CapabilitiesVMResponse_Resource_name = map[int32]string{ 0: "Vpmem", 1: "Scsi", 2: "Vpci", 3: "Plan9", 4: "VMNic", 5: "Memory", 6: "Processor", }
var CapabilitiesVMResponse_Resource_value = map[string]int32{ "Vpmem": 0, "Scsi": 1, "Vpci": 2, "Plan9": 3, "VMNic": 4, "Memory": 5, "Processor": 6, }
var CapabilitiesVMResponse_SupportedGuestOS_name = map[int32]string{ 0: "Windows", 1: "Linux", }
var CapabilitiesVMResponse_SupportedGuestOS_value = map[string]int32{ "Windows": 0, "Linux": 1, }
var DiskType_name = map[int32]string{ 0: "SCSI_DISK_TYPE_VHD1", 1: "SCSI_DISK_TYPE_VHDX", 2: "SCSI_DISK_TYPE_PHYSICAL", }
var DiskType_value = map[string]int32{ "SCSI_DISK_TYPE_VHD1": 0, "SCSI_DISK_TYPE_VHDX": 1, "SCSI_DISK_TYPE_PHYSICAL": 2, }
var ModifyType_name = map[int32]string{ 0: "ADD", 1: "REMOVE", 2: "UPDATE", }
var ModifyType_value = map[string]int32{ "ADD": 0, "REMOVE": 1, "UPDATE": 2, }
var PropertiesVMRequest_PropertiesType_name = map[int32]string{ 0: "Memory", 1: "Processor", }
var PropertiesVMRequest_PropertiesType_value = map[string]int32{ "Memory": 0, "Processor": 1, }
func RegisterVMService(srv *github_com_containerd_ttrpc.Server, svc VMService)
type CapabilitiesVMResponse struct { SupportedResources []*CapabilitiesVMResponse_SupportedResource `protobuf:"bytes,1,rep,name=supported_resources,json=supportedResources,proto3" json:"supported_resources,omitempty"` SupportedGuestOs []CapabilitiesVMResponse_SupportedGuestOS `protobuf:"varint,2,rep,packed,name=supported_guest_os,json=supportedGuestOs,proto3,enum=vmservice.CapabilitiesVMResponse_SupportedGuestOS" json:"supported_guest_os,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CapabilitiesVMResponse) Descriptor() ([]byte, []int)
func (m *CapabilitiesVMResponse) Marshal() (dAtA []byte, err error)
func (m *CapabilitiesVMResponse) MarshalTo(dAtA []byte) (int, error)
func (m *CapabilitiesVMResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CapabilitiesVMResponse) ProtoMessage()
func (m *CapabilitiesVMResponse) Reset()
func (m *CapabilitiesVMResponse) Size() (n int)
func (this *CapabilitiesVMResponse) String() string
func (m *CapabilitiesVMResponse) Unmarshal(dAtA []byte) error
func (m *CapabilitiesVMResponse) XXX_DiscardUnknown()
func (m *CapabilitiesVMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *CapabilitiesVMResponse) XXX_Merge(src proto.Message)
func (m *CapabilitiesVMResponse) XXX_Size() int
func (m *CapabilitiesVMResponse) XXX_Unmarshal(b []byte) error
type CapabilitiesVMResponse_Resource int32
const ( CapabilitiesVMResponse_Vpmem CapabilitiesVMResponse_Resource = 0 CapabilitiesVMResponse_Scsi CapabilitiesVMResponse_Resource = 1 CapabilitiesVMResponse_Vpci CapabilitiesVMResponse_Resource = 2 CapabilitiesVMResponse_Plan9 CapabilitiesVMResponse_Resource = 3 CapabilitiesVMResponse_VMNic CapabilitiesVMResponse_Resource = 4 CapabilitiesVMResponse_Memory CapabilitiesVMResponse_Resource = 5 CapabilitiesVMResponse_Processor CapabilitiesVMResponse_Resource = 6 )
func (CapabilitiesVMResponse_Resource) EnumDescriptor() ([]byte, []int)
func (x CapabilitiesVMResponse_Resource) String() string
type CapabilitiesVMResponse_SupportedGuestOS int32
const ( CapabilitiesVMResponse_Windows CapabilitiesVMResponse_SupportedGuestOS = 0 CapabilitiesVMResponse_Linux CapabilitiesVMResponse_SupportedGuestOS = 1 )
func (CapabilitiesVMResponse_SupportedGuestOS) EnumDescriptor() ([]byte, []int)
func (x CapabilitiesVMResponse_SupportedGuestOS) String() string
type CapabilitiesVMResponse_SupportedResource struct { Add bool `protobuf:"varint,1,opt,name=Add,proto3" json:"Add,omitempty"` Remove bool `protobuf:"varint,2,opt,name=Remove,proto3" json:"Remove,omitempty"` Update bool `protobuf:"varint,3,opt,name=Update,proto3" json:"Update,omitempty"` Resource CapabilitiesVMResponse_Resource `protobuf:"varint,4,opt,name=resource,proto3,enum=vmservice.CapabilitiesVMResponse_Resource" json:"resource,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CapabilitiesVMResponse_SupportedResource) Descriptor() ([]byte, []int)
func (m *CapabilitiesVMResponse_SupportedResource) Marshal() (dAtA []byte, err error)
func (m *CapabilitiesVMResponse_SupportedResource) MarshalTo(dAtA []byte) (int, error)
func (m *CapabilitiesVMResponse_SupportedResource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CapabilitiesVMResponse_SupportedResource) ProtoMessage()
func (m *CapabilitiesVMResponse_SupportedResource) Reset()
func (m *CapabilitiesVMResponse_SupportedResource) Size() (n int)
func (this *CapabilitiesVMResponse_SupportedResource) String() string
func (m *CapabilitiesVMResponse_SupportedResource) Unmarshal(dAtA []byte) error
func (m *CapabilitiesVMResponse_SupportedResource) XXX_DiscardUnknown()
func (m *CapabilitiesVMResponse_SupportedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *CapabilitiesVMResponse_SupportedResource) XXX_Merge(src proto.Message)
func (m *CapabilitiesVMResponse_SupportedResource) XXX_Size() int
func (m *CapabilitiesVMResponse_SupportedResource) XXX_Unmarshal(b []byte) error
type CreateVMRequest struct { Config *VMConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Optional ID to be used by the VM service in log messages. It's up to the // virtstack to make use of this field. Useful for debugging to be able to // correlate events for a given vm that the client launched. LogID string `protobuf:"bytes,2,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateVMRequest) Descriptor() ([]byte, []int)
func (m *CreateVMRequest) Marshal() (dAtA []byte, err error)
func (m *CreateVMRequest) MarshalTo(dAtA []byte) (int, error)
func (m *CreateVMRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateVMRequest) ProtoMessage()
func (m *CreateVMRequest) Reset()
func (m *CreateVMRequest) Size() (n int)
func (this *CreateVMRequest) String() string
func (m *CreateVMRequest) Unmarshal(dAtA []byte) error
func (m *CreateVMRequest) XXX_DiscardUnknown()
func (m *CreateVMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *CreateVMRequest) XXX_Merge(src proto.Message)
func (m *CreateVMRequest) XXX_Size() int
func (m *CreateVMRequest) XXX_Unmarshal(b []byte) error
type DevicesConfig struct { ScsiDisks []*SCSIDisk `protobuf:"bytes,1,rep,name=scsi_disks,json=scsiDisks,proto3" json:"scsi_disks,omitempty"` VpmemDisks []*VPMEMDisk `protobuf:"bytes,2,rep,name=vpmem_disks,json=vpmemDisks,proto3" json:"vpmem_disks,omitempty"` NicConfig []*NICConfig `protobuf:"bytes,3,rep,name=nic_config,json=nicConfig,proto3" json:"nic_config,omitempty"` WindowsDevice []*WindowsPCIDevice `protobuf:"bytes,4,rep,name=windows_device,json=windowsDevice,proto3" json:"windows_device,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DevicesConfig) Descriptor() ([]byte, []int)
func (m *DevicesConfig) Marshal() (dAtA []byte, err error)
func (m *DevicesConfig) MarshalTo(dAtA []byte) (int, error)
func (m *DevicesConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DevicesConfig) ProtoMessage()
func (m *DevicesConfig) Reset()
func (m *DevicesConfig) Size() (n int)
func (this *DevicesConfig) String() string
func (m *DevicesConfig) Unmarshal(dAtA []byte) error
func (m *DevicesConfig) XXX_DiscardUnknown()
func (m *DevicesConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *DevicesConfig) XXX_Merge(src proto.Message)
func (m *DevicesConfig) XXX_Size() int
func (m *DevicesConfig) XXX_Unmarshal(b []byte) error
type DirectBoot struct { KernelPath string `protobuf:"bytes,1,opt,name=kernel_path,json=kernelPath,proto3" json:"kernel_path,omitempty"` InitrdPath string `protobuf:"bytes,2,opt,name=initrd_path,json=initrdPath,proto3" json:"initrd_path,omitempty"` KernelCmdline string `protobuf:"bytes,3,opt,name=kernel_cmdline,json=kernelCmdline,proto3" json:"kernel_cmdline,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DirectBoot) Descriptor() ([]byte, []int)
func (m *DirectBoot) Marshal() (dAtA []byte, err error)
func (m *DirectBoot) MarshalTo(dAtA []byte) (int, error)
func (m *DirectBoot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DirectBoot) ProtoMessage()
func (m *DirectBoot) Reset()
func (m *DirectBoot) Size() (n int)
func (this *DirectBoot) String() string
func (m *DirectBoot) Unmarshal(dAtA []byte) error
func (m *DirectBoot) XXX_DiscardUnknown()
func (m *DirectBoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *DirectBoot) XXX_Merge(src proto.Message)
func (m *DirectBoot) XXX_Size() int
func (m *DirectBoot) XXX_Unmarshal(b []byte) error
type DiskType int32
const ( DiskType_SCSI_DISK_TYPE_VHD1 DiskType = 0 DiskType_SCSI_DISK_TYPE_VHDX DiskType = 1 DiskType_SCSI_DISK_TYPE_PHYSICAL DiskType = 2 )
func (DiskType) EnumDescriptor() ([]byte, []int)
func (x DiskType) String() string
type HVSocketListen struct { ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Expected that the listener is a unix domain socket. These // are supported on Windows as of 1809/RS5. ListenerPath string `protobuf:"bytes,2,opt,name=listener_path,json=listenerPath,proto3" json:"listener_path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HVSocketListen) Descriptor() ([]byte, []int)
func (m *HVSocketListen) Marshal() (dAtA []byte, err error)
func (m *HVSocketListen) MarshalTo(dAtA []byte) (int, error)
func (m *HVSocketListen) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HVSocketListen) ProtoMessage()
func (m *HVSocketListen) Reset()
func (m *HVSocketListen) Size() (n int)
func (this *HVSocketListen) String() string
func (m *HVSocketListen) Unmarshal(dAtA []byte) error
func (m *HVSocketListen) XXX_DiscardUnknown()
func (m *HVSocketListen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *HVSocketListen) XXX_Merge(src proto.Message)
func (m *HVSocketListen) XXX_Size() int
func (m *HVSocketListen) XXX_Unmarshal(b []byte) error
type InspectVMRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` RecursionLimit uint32 `protobuf:"varint,2,opt,name=recursion_limit,json=recursionLimit,proto3" json:"recursion_limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectVMRequest) Descriptor() ([]byte, []int)
func (m *InspectVMRequest) Marshal() (dAtA []byte, err error)
func (m *InspectVMRequest) MarshalTo(dAtA []byte) (int, error)
func (m *InspectVMRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InspectVMRequest) ProtoMessage()
func (m *InspectVMRequest) Reset()
func (m *InspectVMRequest) Size() (n int)
func (this *InspectVMRequest) String() string
func (m *InspectVMRequest) Unmarshal(dAtA []byte) error
func (m *InspectVMRequest) XXX_DiscardUnknown()
func (m *InspectVMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *InspectVMRequest) XXX_Merge(src proto.Message)
func (m *InspectVMRequest) XXX_Size() int
func (m *InspectVMRequest) XXX_Unmarshal(b []byte) error
type InspectVMResponse struct { Result *types.Value `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectVMResponse) Descriptor() ([]byte, []int)
func (m *InspectVMResponse) Marshal() (dAtA []byte, err error)
func (m *InspectVMResponse) MarshalTo(dAtA []byte) (int, error)
func (m *InspectVMResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InspectVMResponse) ProtoMessage()
func (m *InspectVMResponse) Reset()
func (m *InspectVMResponse) Size() (n int)
func (this *InspectVMResponse) String() string
func (m *InspectVMResponse) Unmarshal(dAtA []byte) error
func (m *InspectVMResponse) XXX_DiscardUnknown()
func (m *InspectVMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *InspectVMResponse) XXX_Merge(src proto.Message)
func (m *InspectVMResponse) XXX_Size() int
func (m *InspectVMResponse) XXX_Unmarshal(b []byte) error
type MemoryConfig struct { MemoryMb uint64 `protobuf:"varint,1,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"` AllowOvercommit bool `protobuf:"varint,2,opt,name=allow_overcommit,json=allowOvercommit,proto3" json:"allow_overcommit,omitempty"` DeferredCommit bool `protobuf:"varint,3,opt,name=deferred_commit,json=deferredCommit,proto3" json:"deferred_commit,omitempty"` HotHint bool `protobuf:"varint,4,opt,name=hot_hint,json=hotHint,proto3" json:"hot_hint,omitempty"` ColdHint bool `protobuf:"varint,5,opt,name=cold_hint,json=coldHint,proto3" json:"cold_hint,omitempty"` ColdDiscardHint bool `protobuf:"varint,6,opt,name=cold_discard_hint,json=coldDiscardHint,proto3" json:"cold_discard_hint,omitempty"` LowMmioGapInMb uint64 `protobuf:"varint,7,opt,name=low_mmio_gap_in_mb,json=lowMmioGapInMb,proto3" json:"low_mmio_gap_in_mb,omitempty"` HighMmioBaseInMb uint64 `protobuf:"varint,8,opt,name=high_mmio_base_in_mb,json=highMmioBaseInMb,proto3" json:"high_mmio_base_in_mb,omitempty"` HighMmioGapInMb uint64 `protobuf:"varint,9,opt,name=high_mmio_gap_in_mb,json=highMmioGapInMb,proto3" json:"high_mmio_gap_in_mb,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MemoryConfig) Descriptor() ([]byte, []int)
func (m *MemoryConfig) Marshal() (dAtA []byte, err error)
func (m *MemoryConfig) MarshalTo(dAtA []byte) (int, error)
func (m *MemoryConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MemoryConfig) ProtoMessage()
func (m *MemoryConfig) Reset()
func (m *MemoryConfig) Size() (n int)
func (this *MemoryConfig) String() string
func (m *MemoryConfig) Unmarshal(dAtA []byte) error
func (m *MemoryConfig) XXX_DiscardUnknown()
func (m *MemoryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *MemoryConfig) XXX_Merge(src proto.Message)
func (m *MemoryConfig) XXX_Size() int
func (m *MemoryConfig) XXX_Unmarshal(b []byte) error
type MemoryStats struct { WorkingSetBytes uint64 `protobuf:"varint,1,opt,name=working_set_bytes,json=workingSetBytes,proto3" json:"working_set_bytes,omitempty"` AvailableMemory uint64 `protobuf:"varint,2,opt,name=available_memory,json=availableMemory,proto3" json:"available_memory,omitempty"` ReservedMemory uint64 `protobuf:"varint,3,opt,name=reserved_memory,json=reservedMemory,proto3" json:"reserved_memory,omitempty"` AssignedMemory uint64 `protobuf:"varint,4,opt,name=assigned_memory,json=assignedMemory,proto3" json:"assigned_memory,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MemoryStats) Descriptor() ([]byte, []int)
func (m *MemoryStats) Marshal() (dAtA []byte, err error)
func (m *MemoryStats) MarshalTo(dAtA []byte) (int, error)
func (m *MemoryStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MemoryStats) ProtoMessage()
func (m *MemoryStats) Reset()
func (m *MemoryStats) Size() (n int)
func (this *MemoryStats) String() string
func (m *MemoryStats) Unmarshal(dAtA []byte) error
func (m *MemoryStats) XXX_DiscardUnknown()
func (m *MemoryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *MemoryStats) XXX_Merge(src proto.Message)
func (m *MemoryStats) XXX_Size() int
func (m *MemoryStats) XXX_Unmarshal(b []byte) error
type ModifyMemoryRequest struct { MemoryMb uint64 `protobuf:"varint,1,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyMemoryRequest) Descriptor() ([]byte, []int)
func (m *ModifyMemoryRequest) Marshal() (dAtA []byte, err error)
func (m *ModifyMemoryRequest) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyMemoryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModifyMemoryRequest) ProtoMessage()
func (m *ModifyMemoryRequest) Reset()
func (m *ModifyMemoryRequest) Size() (n int)
func (this *ModifyMemoryRequest) String() string
func (m *ModifyMemoryRequest) Unmarshal(dAtA []byte) error
func (m *ModifyMemoryRequest) XXX_DiscardUnknown()
func (m *ModifyMemoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ModifyMemoryRequest) XXX_Merge(src proto.Message)
func (m *ModifyMemoryRequest) XXX_Size() int
func (m *ModifyMemoryRequest) XXX_Unmarshal(b []byte) error
type ModifyProcessorConfigRequest struct { ProcessorWeight uint32 `protobuf:"varint,1,opt,name=processor_weight,json=processorWeight,proto3" json:"processor_weight,omitempty"` ProcessorLimit uint32 `protobuf:"varint,2,opt,name=processor_limit,json=processorLimit,proto3" json:"processor_limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyProcessorConfigRequest) Descriptor() ([]byte, []int)
func (m *ModifyProcessorConfigRequest) Marshal() (dAtA []byte, err error)
func (m *ModifyProcessorConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyProcessorConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModifyProcessorConfigRequest) ProtoMessage()
func (m *ModifyProcessorConfigRequest) Reset()
func (m *ModifyProcessorConfigRequest) Size() (n int)
func (this *ModifyProcessorConfigRequest) String() string
func (m *ModifyProcessorConfigRequest) Unmarshal(dAtA []byte) error
func (m *ModifyProcessorConfigRequest) XXX_DiscardUnknown()
func (m *ModifyProcessorConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ModifyProcessorConfigRequest) XXX_Merge(src proto.Message)
func (m *ModifyProcessorConfigRequest) XXX_Size() int
func (m *ModifyProcessorConfigRequest) XXX_Unmarshal(b []byte) error
type ModifyProcessorRequest struct { // Index of the processor to add/remove ProcessorIndex uint32 `protobuf:"varint,1,opt,name=processor_index,json=processorIndex,proto3" json:"processor_index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyProcessorRequest) Descriptor() ([]byte, []int)
func (m *ModifyProcessorRequest) Marshal() (dAtA []byte, err error)
func (m *ModifyProcessorRequest) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyProcessorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModifyProcessorRequest) ProtoMessage()
func (m *ModifyProcessorRequest) Reset()
func (m *ModifyProcessorRequest) Size() (n int)
func (this *ModifyProcessorRequest) String() string
func (m *ModifyProcessorRequest) Unmarshal(dAtA []byte) error
func (m *ModifyProcessorRequest) XXX_DiscardUnknown()
func (m *ModifyProcessorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ModifyProcessorRequest) XXX_Merge(src proto.Message)
func (m *ModifyProcessorRequest) XXX_Size() int
func (m *ModifyProcessorRequest) XXX_Unmarshal(b []byte) error
type ModifyResourceRequest struct { Type ModifyType `protobuf:"varint,1,opt,name=type,proto3,enum=vmservice.ModifyType" json:"type,omitempty"` // Types that are valid to be assigned to Resource: // *ModifyResourceRequest_Processor // *ModifyResourceRequest_ProcessorConfig // *ModifyResourceRequest_Memory // *ModifyResourceRequest_ScsiDisk // *ModifyResourceRequest_VpmemDisk // *ModifyResourceRequest_NicConfig // *ModifyResourceRequest_WindowsDevice Resource isModifyResourceRequest_Resource `protobuf_oneof:"resource"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyResourceRequest) Descriptor() ([]byte, []int)
func (m *ModifyResourceRequest) GetMemory() *ModifyMemoryRequest
func (m *ModifyResourceRequest) GetNicConfig() *NICConfig
func (m *ModifyResourceRequest) GetProcessor() *ModifyProcessorRequest
func (m *ModifyResourceRequest) GetProcessorConfig() *ModifyProcessorConfigRequest
func (m *ModifyResourceRequest) GetResource() isModifyResourceRequest_Resource
func (m *ModifyResourceRequest) GetScsiDisk() *SCSIDisk
func (m *ModifyResourceRequest) GetVpmemDisk() *VPMEMDisk
func (m *ModifyResourceRequest) GetWindowsDevice() *WindowsPCIDevice
func (m *ModifyResourceRequest) Marshal() (dAtA []byte, err error)
func (m *ModifyResourceRequest) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModifyResourceRequest) ProtoMessage()
func (m *ModifyResourceRequest) Reset()
func (m *ModifyResourceRequest) Size() (n int)
func (this *ModifyResourceRequest) String() string
func (m *ModifyResourceRequest) Unmarshal(dAtA []byte) error
func (m *ModifyResourceRequest) XXX_DiscardUnknown()
func (m *ModifyResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ModifyResourceRequest) XXX_Merge(src proto.Message)
func (*ModifyResourceRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (m *ModifyResourceRequest) XXX_Size() int
func (m *ModifyResourceRequest) XXX_Unmarshal(b []byte) error
type ModifyResourceRequest_Memory struct { Memory *ModifyMemoryRequest `protobuf:"bytes,4,opt,name=memory,proto3,oneof" json:"memory,omitempty"` }
func (m *ModifyResourceRequest_Memory) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_Memory) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_Memory) Size() (n int)
func (this *ModifyResourceRequest_Memory) String() string
type ModifyResourceRequest_NicConfig struct { NicConfig *NICConfig `protobuf:"bytes,7,opt,name=nic_config,json=nicConfig,proto3,oneof" json:"nic_config,omitempty"` }
func (m *ModifyResourceRequest_NicConfig) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_NicConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_NicConfig) Size() (n int)
func (this *ModifyResourceRequest_NicConfig) String() string
type ModifyResourceRequest_Processor struct { Processor *ModifyProcessorRequest `protobuf:"bytes,2,opt,name=processor,proto3,oneof" json:"processor,omitempty"` }
func (m *ModifyResourceRequest_Processor) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_Processor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_Processor) Size() (n int)
func (this *ModifyResourceRequest_Processor) String() string
type ModifyResourceRequest_ProcessorConfig struct { ProcessorConfig *ModifyProcessorConfigRequest `protobuf:"bytes,3,opt,name=processor_config,json=processorConfig,proto3,oneof" json:"processor_config,omitempty"` }
func (m *ModifyResourceRequest_ProcessorConfig) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_ProcessorConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_ProcessorConfig) Size() (n int)
func (this *ModifyResourceRequest_ProcessorConfig) String() string
type ModifyResourceRequest_ScsiDisk struct { ScsiDisk *SCSIDisk `protobuf:"bytes,5,opt,name=scsi_disk,json=scsiDisk,proto3,oneof" json:"scsi_disk,omitempty"` }
func (m *ModifyResourceRequest_ScsiDisk) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_ScsiDisk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_ScsiDisk) Size() (n int)
func (this *ModifyResourceRequest_ScsiDisk) String() string
type ModifyResourceRequest_VpmemDisk struct { VpmemDisk *VPMEMDisk `protobuf:"bytes,6,opt,name=vpmem_disk,json=vpmemDisk,proto3,oneof" json:"vpmem_disk,omitempty"` }
func (m *ModifyResourceRequest_VpmemDisk) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_VpmemDisk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_VpmemDisk) Size() (n int)
func (this *ModifyResourceRequest_VpmemDisk) String() string
type ModifyResourceRequest_WindowsDevice struct { WindowsDevice *WindowsPCIDevice `protobuf:"bytes,8,opt,name=windows_device,json=windowsDevice,proto3,oneof" json:"windows_device,omitempty"` }
func (m *ModifyResourceRequest_WindowsDevice) MarshalTo(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_WindowsDevice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *ModifyResourceRequest_WindowsDevice) Size() (n int)
func (this *ModifyResourceRequest_WindowsDevice) String() string
type ModifyType int32
const ( ModifyType_ADD ModifyType = 0 ModifyType_REMOVE ModifyType = 1 ModifyType_UPDATE ModifyType = 2 )
func (ModifyType) EnumDescriptor() ([]byte, []int)
func (x ModifyType) String() string
type NICConfig struct { NicID string `protobuf:"bytes,1,opt,name=nic_id,json=nicId,proto3" json:"nic_id,omitempty"` PortID string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` MacAddress string `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` SwitchID string `protobuf:"bytes,4,opt,name=switch_id,json=switchId,proto3" json:"switch_id,omitempty"` // Optional friendly name for the adapter. Might be useful to show up in logs. NicName string `protobuf:"bytes,5,opt,name=nic_name,json=nicName,proto3" json:"nic_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NICConfig) Descriptor() ([]byte, []int)
func (m *NICConfig) Marshal() (dAtA []byte, err error)
func (m *NICConfig) MarshalTo(dAtA []byte) (int, error)
func (m *NICConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NICConfig) ProtoMessage()
func (m *NICConfig) Reset()
func (m *NICConfig) Size() (n int)
func (this *NICConfig) String() string
func (m *NICConfig) Unmarshal(dAtA []byte) error
func (m *NICConfig) XXX_DiscardUnknown()
func (m *NICConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *NICConfig) XXX_Merge(src proto.Message)
func (m *NICConfig) XXX_Size() int
func (m *NICConfig) XXX_Unmarshal(b []byte) error
type ProcessorConfig struct { ProcessorCount uint32 `protobuf:"varint,1,opt,name=processor_count,json=processorCount,proto3" json:"processor_count,omitempty"` ProcessorWeight uint32 `protobuf:"varint,2,opt,name=processor_weight,json=processorWeight,proto3" json:"processor_weight,omitempty"` ProcessorLimit uint32 `protobuf:"varint,3,opt,name=processor_limit,json=processorLimit,proto3" json:"processor_limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProcessorConfig) Descriptor() ([]byte, []int)
func (m *ProcessorConfig) Marshal() (dAtA []byte, err error)
func (m *ProcessorConfig) MarshalTo(dAtA []byte) (int, error)
func (m *ProcessorConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProcessorConfig) ProtoMessage()
func (m *ProcessorConfig) Reset()
func (m *ProcessorConfig) Size() (n int)
func (this *ProcessorConfig) String() string
func (m *ProcessorConfig) Unmarshal(dAtA []byte) error
func (m *ProcessorConfig) XXX_DiscardUnknown()
func (m *ProcessorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ProcessorConfig) XXX_Merge(src proto.Message)
func (m *ProcessorConfig) XXX_Size() int
func (m *ProcessorConfig) XXX_Unmarshal(b []byte) error
type ProcessorStats struct { TotalRuntimeNs uint64 `protobuf:"varint,1,opt,name=total_runtime_ns,json=totalRuntimeNs,proto3" json:"total_runtime_ns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProcessorStats) Descriptor() ([]byte, []int)
func (m *ProcessorStats) Marshal() (dAtA []byte, err error)
func (m *ProcessorStats) MarshalTo(dAtA []byte) (int, error)
func (m *ProcessorStats) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProcessorStats) ProtoMessage()
func (m *ProcessorStats) Reset()
func (m *ProcessorStats) Size() (n int)
func (this *ProcessorStats) String() string
func (m *ProcessorStats) Unmarshal(dAtA []byte) error
func (m *ProcessorStats) XXX_DiscardUnknown()
func (m *ProcessorStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ProcessorStats) XXX_Merge(src proto.Message)
func (m *ProcessorStats) XXX_Size() int
func (m *ProcessorStats) XXX_Unmarshal(b []byte) error
type PropertiesVMRequest struct { Types []PropertiesVMRequest_PropertiesType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=vmservice.PropertiesVMRequest_PropertiesType" json:"types,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PropertiesVMRequest) Descriptor() ([]byte, []int)
func (m *PropertiesVMRequest) Marshal() (dAtA []byte, err error)
func (m *PropertiesVMRequest) MarshalTo(dAtA []byte) (int, error)
func (m *PropertiesVMRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PropertiesVMRequest) ProtoMessage()
func (m *PropertiesVMRequest) Reset()
func (m *PropertiesVMRequest) Size() (n int)
func (this *PropertiesVMRequest) String() string
func (m *PropertiesVMRequest) Unmarshal(dAtA []byte) error
func (m *PropertiesVMRequest) XXX_DiscardUnknown()
func (m *PropertiesVMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *PropertiesVMRequest) XXX_Merge(src proto.Message)
func (m *PropertiesVMRequest) XXX_Size() int
func (m *PropertiesVMRequest) XXX_Unmarshal(b []byte) error
type PropertiesVMRequest_PropertiesType int32
const ( PropertiesVMRequest_Memory PropertiesVMRequest_PropertiesType = 0 PropertiesVMRequest_Processor PropertiesVMRequest_PropertiesType = 1 )
func (PropertiesVMRequest_PropertiesType) EnumDescriptor() ([]byte, []int)
func (x PropertiesVMRequest_PropertiesType) String() string
type PropertiesVMResponse struct { MemoryStats *MemoryStats `protobuf:"bytes,1,opt,name=memory_stats,json=memoryStats,proto3" json:"memory_stats,omitempty"` ProcessorStats *ProcessorStats `protobuf:"bytes,2,opt,name=processor_stats,json=processorStats,proto3" json:"processor_stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PropertiesVMResponse) Descriptor() ([]byte, []int)
func (m *PropertiesVMResponse) Marshal() (dAtA []byte, err error)
func (m *PropertiesVMResponse) MarshalTo(dAtA []byte) (int, error)
func (m *PropertiesVMResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PropertiesVMResponse) ProtoMessage()
func (m *PropertiesVMResponse) Reset()
func (m *PropertiesVMResponse) Size() (n int)
func (this *PropertiesVMResponse) String() string
func (m *PropertiesVMResponse) Unmarshal(dAtA []byte) error
func (m *PropertiesVMResponse) XXX_DiscardUnknown()
func (m *PropertiesVMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *PropertiesVMResponse) XXX_Merge(src proto.Message)
func (m *PropertiesVMResponse) XXX_Size() int
func (m *PropertiesVMResponse) XXX_Unmarshal(b []byte) error
type SCSIDisk struct { Controller uint32 `protobuf:"varint,1,opt,name=controller,proto3" json:"controller,omitempty"` Lun uint32 `protobuf:"varint,2,opt,name=lun,proto3" json:"lun,omitempty"` HostPath string `protobuf:"bytes,3,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"` Type DiskType `protobuf:"varint,4,opt,name=type,proto3,enum=vmservice.DiskType" json:"type,omitempty"` ReadOnly bool `protobuf:"varint,5,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SCSIDisk) Descriptor() ([]byte, []int)
func (m *SCSIDisk) Marshal() (dAtA []byte, err error)
func (m *SCSIDisk) MarshalTo(dAtA []byte) (int, error)
func (m *SCSIDisk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SCSIDisk) ProtoMessage()
func (m *SCSIDisk) Reset()
func (m *SCSIDisk) Size() (n int)
func (this *SCSIDisk) String() string
func (m *SCSIDisk) Unmarshal(dAtA []byte) error
func (m *SCSIDisk) XXX_DiscardUnknown()
func (m *SCSIDisk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *SCSIDisk) XXX_Merge(src proto.Message)
func (m *SCSIDisk) XXX_Size() int
func (m *SCSIDisk) XXX_Unmarshal(b []byte) error
type SerialConfig struct { Ports []*SerialConfig_Config `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SerialConfig) Descriptor() ([]byte, []int)
func (m *SerialConfig) Marshal() (dAtA []byte, err error)
func (m *SerialConfig) MarshalTo(dAtA []byte) (int, error)
func (m *SerialConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SerialConfig) ProtoMessage()
func (m *SerialConfig) Reset()
func (m *SerialConfig) Size() (n int)
func (this *SerialConfig) String() string
func (m *SerialConfig) Unmarshal(dAtA []byte) error
func (m *SerialConfig) XXX_DiscardUnknown()
func (m *SerialConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *SerialConfig) XXX_Merge(src proto.Message)
func (m *SerialConfig) XXX_Size() int
func (m *SerialConfig) XXX_Unmarshal(b []byte) error
type SerialConfig_Config struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` // Unix domain socket to relay serial console output to. SocketPath string `protobuf:"bytes,2,opt,name=socket_path,json=socketPath,proto3" json:"socket_path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SerialConfig_Config) Descriptor() ([]byte, []int)
func (m *SerialConfig_Config) Marshal() (dAtA []byte, err error)
func (m *SerialConfig_Config) MarshalTo(dAtA []byte) (int, error)
func (m *SerialConfig_Config) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SerialConfig_Config) ProtoMessage()
func (m *SerialConfig_Config) Reset()
func (m *SerialConfig_Config) Size() (n int)
func (this *SerialConfig_Config) String() string
func (m *SerialConfig_Config) Unmarshal(dAtA []byte) error
func (m *SerialConfig_Config) XXX_DiscardUnknown()
func (m *SerialConfig_Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *SerialConfig_Config) XXX_Merge(src proto.Message)
func (m *SerialConfig_Config) XXX_Size() int
func (m *SerialConfig_Config) XXX_Unmarshal(b []byte) error
type UEFI struct { FirmwarePath string `protobuf:"bytes,1,opt,name=firmware_path,json=firmwarePath,proto3" json:"firmware_path,omitempty"` DevicePath string `protobuf:"bytes,2,opt,name=device_path,json=devicePath,proto3" json:"device_path,omitempty"` // Optional data to include for uefi boot. For Linux this could be used as the kernel // commandline. OptionalData string `protobuf:"bytes,3,opt,name=optional_data,json=optionalData,proto3" json:"optional_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UEFI) Descriptor() ([]byte, []int)
func (m *UEFI) Marshal() (dAtA []byte, err error)
func (m *UEFI) MarshalTo(dAtA []byte) (int, error)
func (m *UEFI) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UEFI) ProtoMessage()
func (m *UEFI) Reset()
func (m *UEFI) Size() (n int)
func (this *UEFI) String() string
func (m *UEFI) Unmarshal(dAtA []byte) error
func (m *UEFI) XXX_DiscardUnknown()
func (m *UEFI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *UEFI) XXX_Merge(src proto.Message)
func (m *UEFI) XXX_Size() int
func (m *UEFI) XXX_Unmarshal(b []byte) error
type VMConfig struct { MemoryConfig *MemoryConfig `protobuf:"bytes,1,opt,name=memory_config,json=memoryConfig,proto3" json:"memory_config,omitempty"` ProcessorConfig *ProcessorConfig `protobuf:"bytes,2,opt,name=processor_config,json=processorConfig,proto3" json:"processor_config,omitempty"` DevicesConfig *DevicesConfig `protobuf:"bytes,3,opt,name=devices_config,json=devicesConfig,proto3" json:"devices_config,omitempty"` SerialConfig *SerialConfig `protobuf:"bytes,4,opt,name=serial_config,json=serialConfig,proto3" json:"serial_config,omitempty"` // Types that are valid to be assigned to BootConfig: // *VMConfig_DirectBoot // *VMConfig_Uefi BootConfig isVMConfig_BootConfig `protobuf_oneof:"BootConfig"` WindowsOptions *WindowsOptions `protobuf:"bytes,7,opt,name=windows_options,json=windowsOptions,proto3" json:"windows_options,omitempty"` // Optional k:v extra data. Up to the virtstack for how to interpret this. ExtraData map[string]string `protobuf:"bytes,8,rep,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VMConfig) Descriptor() ([]byte, []int)
func (m *VMConfig) GetBootConfig() isVMConfig_BootConfig
func (m *VMConfig) GetDirectBoot() *DirectBoot
func (m *VMConfig) GetUefi() *UEFI
func (m *VMConfig) Marshal() (dAtA []byte, err error)
func (m *VMConfig) MarshalTo(dAtA []byte) (int, error)
func (m *VMConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VMConfig) ProtoMessage()
func (m *VMConfig) Reset()
func (m *VMConfig) Size() (n int)
func (this *VMConfig) String() string
func (m *VMConfig) Unmarshal(dAtA []byte) error
func (m *VMConfig) XXX_DiscardUnknown()
func (m *VMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *VMConfig) XXX_Merge(src proto.Message)
func (*VMConfig) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (m *VMConfig) XXX_Size() int
func (m *VMConfig) XXX_Unmarshal(b []byte) error
type VMConfig_DirectBoot struct { DirectBoot *DirectBoot `protobuf:"bytes,5,opt,name=direct_boot,json=directBoot,proto3,oneof" json:"direct_boot,omitempty"` }
func (m *VMConfig_DirectBoot) MarshalTo(dAtA []byte) (int, error)
func (m *VMConfig_DirectBoot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *VMConfig_DirectBoot) Size() (n int)
func (this *VMConfig_DirectBoot) String() string
type VMConfig_Uefi struct { Uefi *UEFI `protobuf:"bytes,6,opt,name=uefi,proto3,oneof" json:"uefi,omitempty"` }
func (m *VMConfig_Uefi) MarshalTo(dAtA []byte) (int, error)
func (m *VMConfig_Uefi) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *VMConfig_Uefi) Size() (n int)
func (this *VMConfig_Uefi) String() string
type VMService interface { CreateVM(ctx context.Context, req *CreateVMRequest) (*types.Empty, error) TeardownVM(ctx context.Context, req *types.Empty) (*types.Empty, error) PauseVM(ctx context.Context, req *types.Empty) (*types.Empty, error) ResumeVM(ctx context.Context, req *types.Empty) (*types.Empty, error) WaitVM(ctx context.Context, req *types.Empty) (*types.Empty, error) InspectVM(ctx context.Context, req *InspectVMRequest) (*InspectVMResponse, error) CapabilitiesVM(ctx context.Context, req *types.Empty) (*CapabilitiesVMResponse, error) PropertiesVM(ctx context.Context, req *PropertiesVMRequest) (*PropertiesVMResponse, error) ModifyResource(ctx context.Context, req *ModifyResourceRequest) (*types.Empty, error) VMSocket(ctx context.Context, req *VMSocketRequest) (*types.Empty, error) Quit(ctx context.Context, req *types.Empty) (*types.Empty, error) }
func NewVMClient(client *github_com_containerd_ttrpc.Client) VMService
type VMSocketRequest struct { Type ModifyType `protobuf:"varint,1,opt,name=type,proto3,enum=vmservice.ModifyType" json:"type,omitempty"` // Types that are valid to be assigned to Config: // *VMSocketRequest_HvsocketList // *VMSocketRequest_VsockListen Config isVMSocketRequest_Config `protobuf_oneof:"Config"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VMSocketRequest) Descriptor() ([]byte, []int)
func (m *VMSocketRequest) GetConfig() isVMSocketRequest_Config
func (m *VMSocketRequest) GetHvsocketList() *HVSocketListen
func (m *VMSocketRequest) GetVsockListen() *VSockListen
func (m *VMSocketRequest) Marshal() (dAtA []byte, err error)
func (m *VMSocketRequest) MarshalTo(dAtA []byte) (int, error)
func (m *VMSocketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VMSocketRequest) ProtoMessage()
func (m *VMSocketRequest) Reset()
func (m *VMSocketRequest) Size() (n int)
func (this *VMSocketRequest) String() string
func (m *VMSocketRequest) Unmarshal(dAtA []byte) error
func (m *VMSocketRequest) XXX_DiscardUnknown()
func (m *VMSocketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *VMSocketRequest) XXX_Merge(src proto.Message)
func (*VMSocketRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (m *VMSocketRequest) XXX_Size() int
func (m *VMSocketRequest) XXX_Unmarshal(b []byte) error
type VMSocketRequest_HvsocketList struct { HvsocketList *HVSocketListen `protobuf:"bytes,2,opt,name=hvsocket_list,json=hvsocketList,proto3,oneof" json:"hvsocket_list,omitempty"` }
func (m *VMSocketRequest_HvsocketList) MarshalTo(dAtA []byte) (int, error)
func (m *VMSocketRequest_HvsocketList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *VMSocketRequest_HvsocketList) Size() (n int)
func (this *VMSocketRequest_HvsocketList) String() string
type VMSocketRequest_VsockListen struct { VsockListen *VSockListen `protobuf:"bytes,3,opt,name=vsock_listen,json=vsockListen,proto3,oneof" json:"vsock_listen,omitempty"` }
func (m *VMSocketRequest_VsockListen) MarshalTo(dAtA []byte) (int, error)
func (m *VMSocketRequest_VsockListen) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (m *VMSocketRequest_VsockListen) Size() (n int)
func (this *VMSocketRequest_VsockListen) String() string
type VPMEMDisk struct { HostPath string `protobuf:"bytes,1,opt,name=host_path,json=hostPath,proto3" json:"host_path,omitempty"` Type DiskType `protobuf:"varint,2,opt,name=type,proto3,enum=vmservice.DiskType" json:"type,omitempty"` ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VPMEMDisk) Descriptor() ([]byte, []int)
func (m *VPMEMDisk) Marshal() (dAtA []byte, err error)
func (m *VPMEMDisk) MarshalTo(dAtA []byte) (int, error)
func (m *VPMEMDisk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VPMEMDisk) ProtoMessage()
func (m *VPMEMDisk) Reset()
func (m *VPMEMDisk) Size() (n int)
func (this *VPMEMDisk) String() string
func (m *VPMEMDisk) Unmarshal(dAtA []byte) error
func (m *VPMEMDisk) XXX_DiscardUnknown()
func (m *VPMEMDisk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *VPMEMDisk) XXX_Merge(src proto.Message)
func (m *VPMEMDisk) XXX_Size() int
func (m *VPMEMDisk) XXX_Unmarshal(b []byte) error
type VSockListen struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` ListenerPath string `protobuf:"bytes,2,opt,name=listener_path,json=listenerPath,proto3" json:"listener_path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VSockListen) Descriptor() ([]byte, []int)
func (m *VSockListen) Marshal() (dAtA []byte, err error)
func (m *VSockListen) MarshalTo(dAtA []byte) (int, error)
func (m *VSockListen) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VSockListen) ProtoMessage()
func (m *VSockListen) Reset()
func (m *VSockListen) Size() (n int)
func (this *VSockListen) String() string
func (m *VSockListen) Unmarshal(dAtA []byte) error
func (m *VSockListen) XXX_DiscardUnknown()
func (m *VSockListen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *VSockListen) XXX_Merge(src proto.Message)
func (m *VSockListen) XXX_Size() int
func (m *VSockListen) XXX_Unmarshal(b []byte) error
WindowsOptions contains virtual machine configurations that are only present on a Windows host.
type WindowsOptions struct { CpuGroupID uint64 `protobuf:"varint,1,opt,name=cpu_group_id,json=cpuGroupId,proto3" json:"cpu_group_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WindowsOptions) Descriptor() ([]byte, []int)
func (m *WindowsOptions) Marshal() (dAtA []byte, err error)
func (m *WindowsOptions) MarshalTo(dAtA []byte) (int, error)
func (m *WindowsOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WindowsOptions) ProtoMessage()
func (m *WindowsOptions) Reset()
func (m *WindowsOptions) Size() (n int)
func (this *WindowsOptions) String() string
func (m *WindowsOptions) Unmarshal(dAtA []byte) error
func (m *WindowsOptions) XXX_DiscardUnknown()
func (m *WindowsOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *WindowsOptions) XXX_Merge(src proto.Message)
func (m *WindowsOptions) XXX_Size() int
func (m *WindowsOptions) XXX_Unmarshal(b []byte) error
type WindowsPCIDevice struct { // e.g. PCIP\\VEN_10DE&DEV_13F2&SUBSYS_115E10DE&REV_A1\\6&17F903&0&00400000 InstanceID string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WindowsPCIDevice) Descriptor() ([]byte, []int)
func (m *WindowsPCIDevice) Marshal() (dAtA []byte, err error)
func (m *WindowsPCIDevice) MarshalTo(dAtA []byte) (int, error)
func (m *WindowsPCIDevice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WindowsPCIDevice) ProtoMessage()
func (m *WindowsPCIDevice) Reset()
func (m *WindowsPCIDevice) Size() (n int)
func (this *WindowsPCIDevice) String() string
func (m *WindowsPCIDevice) Unmarshal(dAtA []byte) error
func (m *WindowsPCIDevice) XXX_DiscardUnknown()
func (m *WindowsPCIDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *WindowsPCIDevice) XXX_Merge(src proto.Message)
func (m *WindowsPCIDevice) XXX_Size() int
func (m *WindowsPCIDevice) XXX_Unmarshal(b []byte) error