Documentation ¶
Overview ¶
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/Microsoft/hcsshim/internal/vmservice/vmservice.proto
Index ¶
- Variables
- func RegisterVMService(srv *ttrpc.Server, svc VMService)
- type CapabilitiesVMResponse
- func (*CapabilitiesVMResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilitiesVMResponse) GetSupportedGuestOS() []CapabilitiesVMResponse_SupportedGuestOS
- func (x *CapabilitiesVMResponse) GetSupportedResources() []*CapabilitiesVMResponse_SupportedResource
- func (*CapabilitiesVMResponse) ProtoMessage()
- func (x *CapabilitiesVMResponse) ProtoReflect() protoreflect.Message
- func (x *CapabilitiesVMResponse) Reset()
- func (x *CapabilitiesVMResponse) String() string
- type CapabilitiesVMResponse_Resource
- func (CapabilitiesVMResponse_Resource) Descriptor() protoreflect.EnumDescriptor
- func (x CapabilitiesVMResponse_Resource) Enum() *CapabilitiesVMResponse_Resource
- func (CapabilitiesVMResponse_Resource) EnumDescriptor() ([]byte, []int)deprecated
- func (x CapabilitiesVMResponse_Resource) Number() protoreflect.EnumNumber
- func (x CapabilitiesVMResponse_Resource) String() string
- func (CapabilitiesVMResponse_Resource) Type() protoreflect.EnumType
- type CapabilitiesVMResponse_SupportedGuestOS
- func (CapabilitiesVMResponse_SupportedGuestOS) Descriptor() protoreflect.EnumDescriptor
- func (x CapabilitiesVMResponse_SupportedGuestOS) Enum() *CapabilitiesVMResponse_SupportedGuestOS
- func (CapabilitiesVMResponse_SupportedGuestOS) EnumDescriptor() ([]byte, []int)deprecated
- func (x CapabilitiesVMResponse_SupportedGuestOS) Number() protoreflect.EnumNumber
- func (x CapabilitiesVMResponse_SupportedGuestOS) String() string
- func (CapabilitiesVMResponse_SupportedGuestOS) Type() protoreflect.EnumType
- type CapabilitiesVMResponse_SupportedResource
- func (*CapabilitiesVMResponse_SupportedResource) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilitiesVMResponse_SupportedResource) GetAdd() bool
- func (x *CapabilitiesVMResponse_SupportedResource) GetRemove() bool
- func (x *CapabilitiesVMResponse_SupportedResource) GetResource() CapabilitiesVMResponse_Resource
- func (x *CapabilitiesVMResponse_SupportedResource) GetUpdate() bool
- func (*CapabilitiesVMResponse_SupportedResource) ProtoMessage()
- func (x *CapabilitiesVMResponse_SupportedResource) ProtoReflect() protoreflect.Message
- func (x *CapabilitiesVMResponse_SupportedResource) Reset()
- func (x *CapabilitiesVMResponse_SupportedResource) String() string
- type CreateVMRequest
- func (*CreateVMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVMRequest) GetConfig() *VMConfig
- func (x *CreateVMRequest) GetLogID() string
- func (*CreateVMRequest) ProtoMessage()
- func (x *CreateVMRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVMRequest) Reset()
- func (x *CreateVMRequest) String() string
- type DevicesConfig
- func (*DevicesConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DevicesConfig) GetNicConfig() []*NICConfig
- func (x *DevicesConfig) GetScsiDisks() []*SCSIDisk
- func (x *DevicesConfig) GetVpmemDisks() []*VPMEMDisk
- func (x *DevicesConfig) GetWindowsDevice() []*WindowsPCIDevice
- func (*DevicesConfig) ProtoMessage()
- func (x *DevicesConfig) ProtoReflect() protoreflect.Message
- func (x *DevicesConfig) Reset()
- func (x *DevicesConfig) String() string
- type DirectBoot
- func (*DirectBoot) Descriptor() ([]byte, []int)deprecated
- func (x *DirectBoot) GetInitrdPath() string
- func (x *DirectBoot) GetKernelCmdline() string
- func (x *DirectBoot) GetKernelPath() string
- func (*DirectBoot) ProtoMessage()
- func (x *DirectBoot) ProtoReflect() protoreflect.Message
- func (x *DirectBoot) Reset()
- func (x *DirectBoot) String() string
- type DiskType
- type HVSocketListen
- func (*HVSocketListen) Descriptor() ([]byte, []int)deprecated
- func (x *HVSocketListen) GetListenerPath() string
- func (x *HVSocketListen) GetServiceID() string
- func (*HVSocketListen) ProtoMessage()
- func (x *HVSocketListen) ProtoReflect() protoreflect.Message
- func (x *HVSocketListen) Reset()
- func (x *HVSocketListen) String() string
- type InspectVMRequest
- func (*InspectVMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InspectVMRequest) GetQuery() string
- func (x *InspectVMRequest) GetRecursionLimit() uint32
- func (*InspectVMRequest) ProtoMessage()
- func (x *InspectVMRequest) ProtoReflect() protoreflect.Message
- func (x *InspectVMRequest) Reset()
- func (x *InspectVMRequest) String() string
- type InspectVMResponse
- func (*InspectVMResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InspectVMResponse) GetResult() *structpb.Value
- func (*InspectVMResponse) ProtoMessage()
- func (x *InspectVMResponse) ProtoReflect() protoreflect.Message
- func (x *InspectVMResponse) Reset()
- func (x *InspectVMResponse) String() string
- type MemoryConfig
- func (*MemoryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryConfig) GetAllowOvercommit() bool
- func (x *MemoryConfig) GetColdDiscardHint() bool
- func (x *MemoryConfig) GetColdHint() bool
- func (x *MemoryConfig) GetDeferredCommit() bool
- func (x *MemoryConfig) GetHighMmioBaseInMb() uint64
- func (x *MemoryConfig) GetHighMmioGapInMb() uint64
- func (x *MemoryConfig) GetHotHint() bool
- func (x *MemoryConfig) GetLowMmioGapInMb() uint64
- func (x *MemoryConfig) GetMemoryMb() uint64
- func (*MemoryConfig) ProtoMessage()
- func (x *MemoryConfig) ProtoReflect() protoreflect.Message
- func (x *MemoryConfig) Reset()
- func (x *MemoryConfig) String() string
- type MemoryStats
- func (*MemoryStats) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryStats) GetAssignedMemory() uint64
- func (x *MemoryStats) GetAvailableMemory() uint64
- func (x *MemoryStats) GetReservedMemory() uint64
- func (x *MemoryStats) GetWorkingSetBytes() uint64
- func (*MemoryStats) ProtoMessage()
- func (x *MemoryStats) ProtoReflect() protoreflect.Message
- func (x *MemoryStats) Reset()
- func (x *MemoryStats) String() string
- type ModifyMemoryRequest
- func (*ModifyMemoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyMemoryRequest) GetMemoryMb() uint64
- func (*ModifyMemoryRequest) ProtoMessage()
- func (x *ModifyMemoryRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyMemoryRequest) Reset()
- func (x *ModifyMemoryRequest) String() string
- type ModifyProcessorConfigRequest
- func (*ModifyProcessorConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyProcessorConfigRequest) GetProcessorLimit() uint32
- func (x *ModifyProcessorConfigRequest) GetProcessorWeight() uint32
- func (*ModifyProcessorConfigRequest) ProtoMessage()
- func (x *ModifyProcessorConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyProcessorConfigRequest) Reset()
- func (x *ModifyProcessorConfigRequest) String() string
- type ModifyProcessorRequest
- func (*ModifyProcessorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyProcessorRequest) GetProcessorIndex() uint32
- func (*ModifyProcessorRequest) ProtoMessage()
- func (x *ModifyProcessorRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyProcessorRequest) Reset()
- func (x *ModifyProcessorRequest) String() string
- type ModifyResourceRequest
- func (*ModifyResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyResourceRequest) GetMemory() *ModifyMemoryRequest
- func (x *ModifyResourceRequest) GetNicConfig() *NICConfig
- func (x *ModifyResourceRequest) GetProcessor() *ModifyProcessorRequest
- func (x *ModifyResourceRequest) GetProcessorConfig() *ModifyProcessorConfigRequest
- func (m *ModifyResourceRequest) GetResource() isModifyResourceRequest_Resource
- func (x *ModifyResourceRequest) GetScsiDisk() *SCSIDisk
- func (x *ModifyResourceRequest) GetType() ModifyType
- func (x *ModifyResourceRequest) GetVpmemDisk() *VPMEMDisk
- func (x *ModifyResourceRequest) GetWindowsDevice() *WindowsPCIDevice
- func (*ModifyResourceRequest) ProtoMessage()
- func (x *ModifyResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyResourceRequest) Reset()
- func (x *ModifyResourceRequest) String() string
- type ModifyResourceRequest_Memory
- type ModifyResourceRequest_NicConfig
- type ModifyResourceRequest_Processor
- type ModifyResourceRequest_ProcessorConfig
- type ModifyResourceRequest_ScsiDisk
- type ModifyResourceRequest_VpmemDisk
- type ModifyResourceRequest_WindowsDevice
- type ModifyType
- type NICConfig
- func (*NICConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NICConfig) GetMacAddress() string
- func (x *NICConfig) GetNicID() string
- func (x *NICConfig) GetNicName() string
- func (x *NICConfig) GetPortID() string
- func (x *NICConfig) GetSwitchID() string
- func (*NICConfig) ProtoMessage()
- func (x *NICConfig) ProtoReflect() protoreflect.Message
- func (x *NICConfig) Reset()
- func (x *NICConfig) String() string
- type ProcessorConfig
- func (*ProcessorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessorConfig) GetProcessorCount() uint32
- func (x *ProcessorConfig) GetProcessorLimit() uint32
- func (x *ProcessorConfig) GetProcessorWeight() uint32
- func (*ProcessorConfig) ProtoMessage()
- func (x *ProcessorConfig) ProtoReflect() protoreflect.Message
- func (x *ProcessorConfig) Reset()
- func (x *ProcessorConfig) String() string
- type ProcessorStats
- type PropertiesVMRequest
- func (*PropertiesVMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PropertiesVMRequest) GetTypes() []PropertiesVMRequest_PropertiesType
- func (*PropertiesVMRequest) ProtoMessage()
- func (x *PropertiesVMRequest) ProtoReflect() protoreflect.Message
- func (x *PropertiesVMRequest) Reset()
- func (x *PropertiesVMRequest) String() string
- type PropertiesVMRequest_PropertiesType
- func (PropertiesVMRequest_PropertiesType) Descriptor() protoreflect.EnumDescriptor
- func (x PropertiesVMRequest_PropertiesType) Enum() *PropertiesVMRequest_PropertiesType
- func (PropertiesVMRequest_PropertiesType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PropertiesVMRequest_PropertiesType) Number() protoreflect.EnumNumber
- func (x PropertiesVMRequest_PropertiesType) String() string
- func (PropertiesVMRequest_PropertiesType) Type() protoreflect.EnumType
- type PropertiesVMResponse
- func (*PropertiesVMResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PropertiesVMResponse) GetMemoryStats() *MemoryStats
- func (x *PropertiesVMResponse) GetProcessorStats() *ProcessorStats
- func (*PropertiesVMResponse) ProtoMessage()
- func (x *PropertiesVMResponse) ProtoReflect() protoreflect.Message
- func (x *PropertiesVMResponse) Reset()
- func (x *PropertiesVMResponse) String() string
- type SCSIDisk
- func (*SCSIDisk) Descriptor() ([]byte, []int)deprecated
- func (x *SCSIDisk) GetController() uint32
- func (x *SCSIDisk) GetHostPath() string
- func (x *SCSIDisk) GetLun() uint32
- func (x *SCSIDisk) GetReadOnly() bool
- func (x *SCSIDisk) GetType() DiskType
- func (*SCSIDisk) ProtoMessage()
- func (x *SCSIDisk) ProtoReflect() protoreflect.Message
- func (x *SCSIDisk) Reset()
- func (x *SCSIDisk) String() string
- type SerialConfig
- type SerialConfig_Config
- func (*SerialConfig_Config) Descriptor() ([]byte, []int)deprecated
- func (x *SerialConfig_Config) GetPort() uint32
- func (x *SerialConfig_Config) GetSocketPath() string
- func (*SerialConfig_Config) ProtoMessage()
- func (x *SerialConfig_Config) ProtoReflect() protoreflect.Message
- func (x *SerialConfig_Config) Reset()
- func (x *SerialConfig_Config) String() string
- type UEFI
- func (*UEFI) Descriptor() ([]byte, []int)deprecated
- func (x *UEFI) GetDevicePath() string
- func (x *UEFI) GetFirmwarePath() string
- func (x *UEFI) GetOptionalData() string
- func (*UEFI) ProtoMessage()
- func (x *UEFI) ProtoReflect() protoreflect.Message
- func (x *UEFI) Reset()
- func (x *UEFI) String() string
- type VMConfig
- func (*VMConfig) Descriptor() ([]byte, []int)deprecated
- func (m *VMConfig) GetBootConfig() isVMConfig_BootConfig
- func (x *VMConfig) GetDevicesConfig() *DevicesConfig
- func (x *VMConfig) GetDirectBoot() *DirectBoot
- func (x *VMConfig) GetExtraData() map[string]string
- func (x *VMConfig) GetMemoryConfig() *MemoryConfig
- func (x *VMConfig) GetProcessorConfig() *ProcessorConfig
- func (x *VMConfig) GetSerialConfig() *SerialConfig
- func (x *VMConfig) GetUefi() *UEFI
- func (x *VMConfig) GetWindowsOptions() *WindowsOptions
- func (*VMConfig) ProtoMessage()
- func (x *VMConfig) ProtoReflect() protoreflect.Message
- func (x *VMConfig) Reset()
- func (x *VMConfig) String() string
- type VMConfig_DirectBoot
- type VMConfig_Uefi
- type VMService
- type VMSocketRequest
- func (*VMSocketRequest) Descriptor() ([]byte, []int)deprecated
- func (m *VMSocketRequest) GetConfig() isVMSocketRequest_Config
- func (x *VMSocketRequest) GetHvsocketList() *HVSocketListen
- func (x *VMSocketRequest) GetType() ModifyType
- func (x *VMSocketRequest) GetVsockListen() *VSockListen
- func (*VMSocketRequest) ProtoMessage()
- func (x *VMSocketRequest) ProtoReflect() protoreflect.Message
- func (x *VMSocketRequest) Reset()
- func (x *VMSocketRequest) String() string
- type VMSocketRequest_HvsocketList
- type VMSocketRequest_VsockListen
- type VPMEMDisk
- func (*VPMEMDisk) Descriptor() ([]byte, []int)deprecated
- func (x *VPMEMDisk) GetHostPath() string
- func (x *VPMEMDisk) GetReadOnly() bool
- func (x *VPMEMDisk) GetType() DiskType
- func (*VPMEMDisk) ProtoMessage()
- func (x *VPMEMDisk) ProtoReflect() protoreflect.Message
- func (x *VPMEMDisk) Reset()
- func (x *VPMEMDisk) String() string
- type VSockListen
- func (*VSockListen) Descriptor() ([]byte, []int)deprecated
- func (x *VSockListen) GetListenerPath() string
- func (x *VSockListen) GetPort() uint32
- func (*VSockListen) ProtoMessage()
- func (x *VSockListen) ProtoReflect() protoreflect.Message
- func (x *VSockListen) Reset()
- func (x *VSockListen) String() string
- type WindowsOptions
- type WindowsPCIDevice
Constants ¶
This section is empty.
Variables ¶
var ( ModifyType_name = map[int32]string{ 0: "ADD", 1: "REMOVE", 2: "UPDATE", } ModifyType_value = map[string]int32{ "ADD": 0, "REMOVE": 1, "UPDATE": 2, } )
Enum value maps for ModifyType.
var ( DiskType_name = map[int32]string{ 0: "SCSI_DISK_TYPE_VHD1", 1: "SCSI_DISK_TYPE_VHDX", 2: "SCSI_DISK_TYPE_PHYSICAL", } DiskType_value = map[string]int32{ "SCSI_DISK_TYPE_VHD1": 0, "SCSI_DISK_TYPE_VHDX": 1, "SCSI_DISK_TYPE_PHYSICAL": 2, } )
Enum value maps for DiskType.
var ( PropertiesVMRequest_PropertiesType_name = map[int32]string{ 0: "Memory", 1: "Processor", } PropertiesVMRequest_PropertiesType_value = map[string]int32{ "Memory": 0, "Processor": 1, } )
Enum value maps for PropertiesVMRequest_PropertiesType.
var ( CapabilitiesVMResponse_Resource_name = map[int32]string{ 0: "Vpmem", 1: "Scsi", 2: "Vpci", 3: "Plan9", 4: "VMNic", 5: "Memory", 6: "Processor", } CapabilitiesVMResponse_Resource_value = map[string]int32{ "Vpmem": 0, "Scsi": 1, "Vpci": 2, "Plan9": 3, "VMNic": 4, "Memory": 5, "Processor": 6, } )
Enum value maps for CapabilitiesVMResponse_Resource.
var ( CapabilitiesVMResponse_SupportedGuestOS_name = map[int32]string{ 0: "Windows", 1: "Linux", } CapabilitiesVMResponse_SupportedGuestOS_value = map[string]int32{ "Windows": 0, "Linux": 1, } )
Enum value maps for CapabilitiesVMResponse_SupportedGuestOS.
var File_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto protoreflect.FileDescriptor
Functions ¶
func RegisterVMService ¶
Types ¶
type CapabilitiesVMResponse ¶
type CapabilitiesVMResponse struct { SupportedResources []*CapabilitiesVMResponse_SupportedResource `protobuf:"bytes,1,rep,name=supported_resources,json=supportedResources,proto3" json:"supported_resources,omitempty"` SupportedGuestOS []CapabilitiesVMResponse_SupportedGuestOS `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CapabilitiesVMResponse) Descriptor
deprecated
func (*CapabilitiesVMResponse) Descriptor() ([]byte, []int)
Deprecated: Use CapabilitiesVMResponse.ProtoReflect.Descriptor instead.
func (*CapabilitiesVMResponse) GetSupportedGuestOS ¶
func (x *CapabilitiesVMResponse) GetSupportedGuestOS() []CapabilitiesVMResponse_SupportedGuestOS
func (*CapabilitiesVMResponse) GetSupportedResources ¶
func (x *CapabilitiesVMResponse) GetSupportedResources() []*CapabilitiesVMResponse_SupportedResource
func (*CapabilitiesVMResponse) ProtoMessage ¶
func (*CapabilitiesVMResponse) ProtoMessage()
func (*CapabilitiesVMResponse) ProtoReflect ¶
func (x *CapabilitiesVMResponse) ProtoReflect() protoreflect.Message
func (*CapabilitiesVMResponse) Reset ¶
func (x *CapabilitiesVMResponse) Reset()
func (*CapabilitiesVMResponse) String ¶
func (x *CapabilitiesVMResponse) String() string
type CapabilitiesVMResponse_Resource ¶
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) Descriptor ¶
func (CapabilitiesVMResponse_Resource) Descriptor() protoreflect.EnumDescriptor
func (CapabilitiesVMResponse_Resource) Enum ¶
func (x CapabilitiesVMResponse_Resource) Enum() *CapabilitiesVMResponse_Resource
func (CapabilitiesVMResponse_Resource) EnumDescriptor
deprecated
func (CapabilitiesVMResponse_Resource) EnumDescriptor() ([]byte, []int)
Deprecated: Use CapabilitiesVMResponse_Resource.Descriptor instead.
func (CapabilitiesVMResponse_Resource) Number ¶
func (x CapabilitiesVMResponse_Resource) Number() protoreflect.EnumNumber
func (CapabilitiesVMResponse_Resource) String ¶
func (x CapabilitiesVMResponse_Resource) String() string
func (CapabilitiesVMResponse_Resource) Type ¶
func (CapabilitiesVMResponse_Resource) Type() protoreflect.EnumType
type CapabilitiesVMResponse_SupportedGuestOS ¶
type CapabilitiesVMResponse_SupportedGuestOS int32
const ( CapabilitiesVMResponse_Windows CapabilitiesVMResponse_SupportedGuestOS = 0 CapabilitiesVMResponse_Linux CapabilitiesVMResponse_SupportedGuestOS = 1 )
func (CapabilitiesVMResponse_SupportedGuestOS) Descriptor ¶
func (CapabilitiesVMResponse_SupportedGuestOS) Descriptor() protoreflect.EnumDescriptor
func (CapabilitiesVMResponse_SupportedGuestOS) EnumDescriptor
deprecated
func (CapabilitiesVMResponse_SupportedGuestOS) EnumDescriptor() ([]byte, []int)
Deprecated: Use CapabilitiesVMResponse_SupportedGuestOS.Descriptor instead.
func (CapabilitiesVMResponse_SupportedGuestOS) Number ¶
func (x CapabilitiesVMResponse_SupportedGuestOS) Number() protoreflect.EnumNumber
func (CapabilitiesVMResponse_SupportedGuestOS) String ¶
func (x CapabilitiesVMResponse_SupportedGuestOS) String() string
func (CapabilitiesVMResponse_SupportedGuestOS) Type ¶
func (CapabilitiesVMResponse_SupportedGuestOS) Type() protoreflect.EnumType
type CapabilitiesVMResponse_SupportedResource ¶
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"` // contains filtered or unexported fields }
func (*CapabilitiesVMResponse_SupportedResource) Descriptor
deprecated
func (*CapabilitiesVMResponse_SupportedResource) Descriptor() ([]byte, []int)
Deprecated: Use CapabilitiesVMResponse_SupportedResource.ProtoReflect.Descriptor instead.
func (*CapabilitiesVMResponse_SupportedResource) GetAdd ¶
func (x *CapabilitiesVMResponse_SupportedResource) GetAdd() bool
func (*CapabilitiesVMResponse_SupportedResource) GetRemove ¶
func (x *CapabilitiesVMResponse_SupportedResource) GetRemove() bool
func (*CapabilitiesVMResponse_SupportedResource) GetResource ¶
func (x *CapabilitiesVMResponse_SupportedResource) GetResource() CapabilitiesVMResponse_Resource
func (*CapabilitiesVMResponse_SupportedResource) GetUpdate ¶
func (x *CapabilitiesVMResponse_SupportedResource) GetUpdate() bool
func (*CapabilitiesVMResponse_SupportedResource) ProtoMessage ¶
func (*CapabilitiesVMResponse_SupportedResource) ProtoMessage()
func (*CapabilitiesVMResponse_SupportedResource) ProtoReflect ¶
func (x *CapabilitiesVMResponse_SupportedResource) ProtoReflect() protoreflect.Message
func (*CapabilitiesVMResponse_SupportedResource) Reset ¶
func (x *CapabilitiesVMResponse_SupportedResource) Reset()
func (*CapabilitiesVMResponse_SupportedResource) String ¶
func (x *CapabilitiesVMResponse_SupportedResource) String() string
type CreateVMRequest ¶
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"` // contains filtered or unexported fields }
func (*CreateVMRequest) Descriptor
deprecated
func (*CreateVMRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVMRequest.ProtoReflect.Descriptor instead.
func (*CreateVMRequest) GetConfig ¶
func (x *CreateVMRequest) GetConfig() *VMConfig
func (*CreateVMRequest) GetLogID ¶
func (x *CreateVMRequest) GetLogID() string
func (*CreateVMRequest) ProtoMessage ¶
func (*CreateVMRequest) ProtoMessage()
func (*CreateVMRequest) ProtoReflect ¶
func (x *CreateVMRequest) ProtoReflect() protoreflect.Message
func (*CreateVMRequest) Reset ¶
func (x *CreateVMRequest) Reset()
func (*CreateVMRequest) String ¶
func (x *CreateVMRequest) String() string
type DevicesConfig ¶
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"` // contains filtered or unexported fields }
func (*DevicesConfig) Descriptor
deprecated
func (*DevicesConfig) Descriptor() ([]byte, []int)
Deprecated: Use DevicesConfig.ProtoReflect.Descriptor instead.
func (*DevicesConfig) GetNicConfig ¶
func (x *DevicesConfig) GetNicConfig() []*NICConfig
func (*DevicesConfig) GetScsiDisks ¶
func (x *DevicesConfig) GetScsiDisks() []*SCSIDisk
func (*DevicesConfig) GetVpmemDisks ¶
func (x *DevicesConfig) GetVpmemDisks() []*VPMEMDisk
func (*DevicesConfig) GetWindowsDevice ¶
func (x *DevicesConfig) GetWindowsDevice() []*WindowsPCIDevice
func (*DevicesConfig) ProtoMessage ¶
func (*DevicesConfig) ProtoMessage()
func (*DevicesConfig) ProtoReflect ¶
func (x *DevicesConfig) ProtoReflect() protoreflect.Message
func (*DevicesConfig) Reset ¶
func (x *DevicesConfig) Reset()
func (*DevicesConfig) String ¶
func (x *DevicesConfig) String() string
type DirectBoot ¶
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"` // contains filtered or unexported fields }
func (*DirectBoot) Descriptor
deprecated
func (*DirectBoot) Descriptor() ([]byte, []int)
Deprecated: Use DirectBoot.ProtoReflect.Descriptor instead.
func (*DirectBoot) GetInitrdPath ¶
func (x *DirectBoot) GetInitrdPath() string
func (*DirectBoot) GetKernelCmdline ¶
func (x *DirectBoot) GetKernelCmdline() string
func (*DirectBoot) GetKernelPath ¶
func (x *DirectBoot) GetKernelPath() string
func (*DirectBoot) ProtoMessage ¶
func (*DirectBoot) ProtoMessage()
func (*DirectBoot) ProtoReflect ¶
func (x *DirectBoot) ProtoReflect() protoreflect.Message
func (*DirectBoot) Reset ¶
func (x *DirectBoot) Reset()
func (*DirectBoot) String ¶
func (x *DirectBoot) String() string
type DiskType ¶
type DiskType int32
func (DiskType) Descriptor ¶
func (DiskType) Descriptor() protoreflect.EnumDescriptor
func (DiskType) EnumDescriptor
deprecated
func (DiskType) Number ¶
func (x DiskType) Number() protoreflect.EnumNumber
func (DiskType) Type ¶
func (DiskType) Type() protoreflect.EnumType
type HVSocketListen ¶
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"` // contains filtered or unexported fields }
func (*HVSocketListen) Descriptor
deprecated
func (*HVSocketListen) Descriptor() ([]byte, []int)
Deprecated: Use HVSocketListen.ProtoReflect.Descriptor instead.
func (*HVSocketListen) GetListenerPath ¶
func (x *HVSocketListen) GetListenerPath() string
func (*HVSocketListen) GetServiceID ¶
func (x *HVSocketListen) GetServiceID() string
func (*HVSocketListen) ProtoMessage ¶
func (*HVSocketListen) ProtoMessage()
func (*HVSocketListen) ProtoReflect ¶
func (x *HVSocketListen) ProtoReflect() protoreflect.Message
func (*HVSocketListen) Reset ¶
func (x *HVSocketListen) Reset()
func (*HVSocketListen) String ¶
func (x *HVSocketListen) String() string
type InspectVMRequest ¶
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"` // contains filtered or unexported fields }
func (*InspectVMRequest) Descriptor
deprecated
func (*InspectVMRequest) Descriptor() ([]byte, []int)
Deprecated: Use InspectVMRequest.ProtoReflect.Descriptor instead.
func (*InspectVMRequest) GetQuery ¶
func (x *InspectVMRequest) GetQuery() string
func (*InspectVMRequest) GetRecursionLimit ¶
func (x *InspectVMRequest) GetRecursionLimit() uint32
func (*InspectVMRequest) ProtoMessage ¶
func (*InspectVMRequest) ProtoMessage()
func (*InspectVMRequest) ProtoReflect ¶
func (x *InspectVMRequest) ProtoReflect() protoreflect.Message
func (*InspectVMRequest) Reset ¶
func (x *InspectVMRequest) Reset()
func (*InspectVMRequest) String ¶
func (x *InspectVMRequest) String() string
type InspectVMResponse ¶
type InspectVMResponse struct { Result *structpb.Value `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*InspectVMResponse) Descriptor
deprecated
func (*InspectVMResponse) Descriptor() ([]byte, []int)
Deprecated: Use InspectVMResponse.ProtoReflect.Descriptor instead.
func (*InspectVMResponse) GetResult ¶
func (x *InspectVMResponse) GetResult() *structpb.Value
func (*InspectVMResponse) ProtoMessage ¶
func (*InspectVMResponse) ProtoMessage()
func (*InspectVMResponse) ProtoReflect ¶
func (x *InspectVMResponse) ProtoReflect() protoreflect.Message
func (*InspectVMResponse) Reset ¶
func (x *InspectVMResponse) Reset()
func (*InspectVMResponse) String ¶
func (x *InspectVMResponse) String() string
type MemoryConfig ¶
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"` // contains filtered or unexported fields }
func (*MemoryConfig) Descriptor
deprecated
func (*MemoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use MemoryConfig.ProtoReflect.Descriptor instead.
func (*MemoryConfig) GetAllowOvercommit ¶
func (x *MemoryConfig) GetAllowOvercommit() bool
func (*MemoryConfig) GetColdDiscardHint ¶
func (x *MemoryConfig) GetColdDiscardHint() bool
func (*MemoryConfig) GetColdHint ¶
func (x *MemoryConfig) GetColdHint() bool
func (*MemoryConfig) GetDeferredCommit ¶
func (x *MemoryConfig) GetDeferredCommit() bool
func (*MemoryConfig) GetHighMmioBaseInMb ¶
func (x *MemoryConfig) GetHighMmioBaseInMb() uint64
func (*MemoryConfig) GetHighMmioGapInMb ¶
func (x *MemoryConfig) GetHighMmioGapInMb() uint64
func (*MemoryConfig) GetHotHint ¶
func (x *MemoryConfig) GetHotHint() bool
func (*MemoryConfig) GetLowMmioGapInMb ¶
func (x *MemoryConfig) GetLowMmioGapInMb() uint64
func (*MemoryConfig) GetMemoryMb ¶
func (x *MemoryConfig) GetMemoryMb() uint64
func (*MemoryConfig) ProtoMessage ¶
func (*MemoryConfig) ProtoMessage()
func (*MemoryConfig) ProtoReflect ¶
func (x *MemoryConfig) ProtoReflect() protoreflect.Message
func (*MemoryConfig) Reset ¶
func (x *MemoryConfig) Reset()
func (*MemoryConfig) String ¶
func (x *MemoryConfig) String() string
type MemoryStats ¶
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"` // contains filtered or unexported fields }
func (*MemoryStats) Descriptor
deprecated
func (*MemoryStats) Descriptor() ([]byte, []int)
Deprecated: Use MemoryStats.ProtoReflect.Descriptor instead.
func (*MemoryStats) GetAssignedMemory ¶
func (x *MemoryStats) GetAssignedMemory() uint64
func (*MemoryStats) GetAvailableMemory ¶
func (x *MemoryStats) GetAvailableMemory() uint64
func (*MemoryStats) GetReservedMemory ¶
func (x *MemoryStats) GetReservedMemory() uint64
func (*MemoryStats) GetWorkingSetBytes ¶
func (x *MemoryStats) GetWorkingSetBytes() uint64
func (*MemoryStats) ProtoMessage ¶
func (*MemoryStats) ProtoMessage()
func (*MemoryStats) ProtoReflect ¶
func (x *MemoryStats) ProtoReflect() protoreflect.Message
func (*MemoryStats) Reset ¶
func (x *MemoryStats) Reset()
func (*MemoryStats) String ¶
func (x *MemoryStats) String() string
type ModifyMemoryRequest ¶
type ModifyMemoryRequest struct { MemoryMb uint64 `protobuf:"varint,1,opt,name=memory_mb,json=memoryMb,proto3" json:"memory_mb,omitempty"` // contains filtered or unexported fields }
func (*ModifyMemoryRequest) Descriptor
deprecated
func (*ModifyMemoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyMemoryRequest.ProtoReflect.Descriptor instead.
func (*ModifyMemoryRequest) GetMemoryMb ¶
func (x *ModifyMemoryRequest) GetMemoryMb() uint64
func (*ModifyMemoryRequest) ProtoMessage ¶
func (*ModifyMemoryRequest) ProtoMessage()
func (*ModifyMemoryRequest) ProtoReflect ¶
func (x *ModifyMemoryRequest) ProtoReflect() protoreflect.Message
func (*ModifyMemoryRequest) Reset ¶
func (x *ModifyMemoryRequest) Reset()
func (*ModifyMemoryRequest) String ¶
func (x *ModifyMemoryRequest) String() string
type ModifyProcessorConfigRequest ¶
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"` // contains filtered or unexported fields }
func (*ModifyProcessorConfigRequest) Descriptor
deprecated
func (*ModifyProcessorConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyProcessorConfigRequest.ProtoReflect.Descriptor instead.
func (*ModifyProcessorConfigRequest) GetProcessorLimit ¶
func (x *ModifyProcessorConfigRequest) GetProcessorLimit() uint32
func (*ModifyProcessorConfigRequest) GetProcessorWeight ¶
func (x *ModifyProcessorConfigRequest) GetProcessorWeight() uint32
func (*ModifyProcessorConfigRequest) ProtoMessage ¶
func (*ModifyProcessorConfigRequest) ProtoMessage()
func (*ModifyProcessorConfigRequest) ProtoReflect ¶
func (x *ModifyProcessorConfigRequest) ProtoReflect() protoreflect.Message
func (*ModifyProcessorConfigRequest) Reset ¶
func (x *ModifyProcessorConfigRequest) Reset()
func (*ModifyProcessorConfigRequest) String ¶
func (x *ModifyProcessorConfigRequest) String() string
type ModifyProcessorRequest ¶
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"` // contains filtered or unexported fields }
func (*ModifyProcessorRequest) Descriptor
deprecated
func (*ModifyProcessorRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyProcessorRequest.ProtoReflect.Descriptor instead.
func (*ModifyProcessorRequest) GetProcessorIndex ¶
func (x *ModifyProcessorRequest) GetProcessorIndex() uint32
func (*ModifyProcessorRequest) ProtoMessage ¶
func (*ModifyProcessorRequest) ProtoMessage()
func (*ModifyProcessorRequest) ProtoReflect ¶
func (x *ModifyProcessorRequest) ProtoReflect() protoreflect.Message
func (*ModifyProcessorRequest) Reset ¶
func (x *ModifyProcessorRequest) Reset()
func (*ModifyProcessorRequest) String ¶
func (x *ModifyProcessorRequest) String() string
type ModifyResourceRequest ¶
type ModifyResourceRequest struct { Type ModifyType `protobuf:"varint,1,opt,name=type,proto3,enum=vmservice.ModifyType" json:"type,omitempty"` // Types that are assignable to Resource: // // *ModifyResourceRequest_Processor // *ModifyResourceRequest_ProcessorConfig // *ModifyResourceRequest_Memory // *ModifyResourceRequest_ScsiDisk // *ModifyResourceRequest_VpmemDisk // *ModifyResourceRequest_NicConfig // *ModifyResourceRequest_WindowsDevice Resource isModifyResourceRequest_Resource `protobuf_oneof:"resource"` // contains filtered or unexported fields }
func (*ModifyResourceRequest) Descriptor
deprecated
func (*ModifyResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyResourceRequest.ProtoReflect.Descriptor instead.
func (*ModifyResourceRequest) GetMemory ¶
func (x *ModifyResourceRequest) GetMemory() *ModifyMemoryRequest
func (*ModifyResourceRequest) GetNicConfig ¶
func (x *ModifyResourceRequest) GetNicConfig() *NICConfig
func (*ModifyResourceRequest) GetProcessor ¶
func (x *ModifyResourceRequest) GetProcessor() *ModifyProcessorRequest
func (*ModifyResourceRequest) GetProcessorConfig ¶
func (x *ModifyResourceRequest) GetProcessorConfig() *ModifyProcessorConfigRequest
func (*ModifyResourceRequest) GetResource ¶
func (m *ModifyResourceRequest) GetResource() isModifyResourceRequest_Resource
func (*ModifyResourceRequest) GetScsiDisk ¶
func (x *ModifyResourceRequest) GetScsiDisk() *SCSIDisk
func (*ModifyResourceRequest) GetType ¶
func (x *ModifyResourceRequest) GetType() ModifyType
func (*ModifyResourceRequest) GetVpmemDisk ¶
func (x *ModifyResourceRequest) GetVpmemDisk() *VPMEMDisk
func (*ModifyResourceRequest) GetWindowsDevice ¶
func (x *ModifyResourceRequest) GetWindowsDevice() *WindowsPCIDevice
func (*ModifyResourceRequest) ProtoMessage ¶
func (*ModifyResourceRequest) ProtoMessage()
func (*ModifyResourceRequest) ProtoReflect ¶
func (x *ModifyResourceRequest) ProtoReflect() protoreflect.Message
func (*ModifyResourceRequest) Reset ¶
func (x *ModifyResourceRequest) Reset()
func (*ModifyResourceRequest) String ¶
func (x *ModifyResourceRequest) String() string
type ModifyResourceRequest_Memory ¶
type ModifyResourceRequest_Memory struct {
Memory *ModifyMemoryRequest `protobuf:"bytes,4,opt,name=memory,proto3,oneof"`
}
type ModifyResourceRequest_NicConfig ¶
type ModifyResourceRequest_NicConfig struct {
NicConfig *NICConfig `protobuf:"bytes,7,opt,name=nic_config,json=nicConfig,proto3,oneof"`
}
type ModifyResourceRequest_Processor ¶
type ModifyResourceRequest_Processor struct {
Processor *ModifyProcessorRequest `protobuf:"bytes,2,opt,name=processor,proto3,oneof"`
}
type ModifyResourceRequest_ProcessorConfig ¶
type ModifyResourceRequest_ProcessorConfig struct {
ProcessorConfig *ModifyProcessorConfigRequest `protobuf:"bytes,3,opt,name=processor_config,json=processorConfig,proto3,oneof"`
}
type ModifyResourceRequest_ScsiDisk ¶
type ModifyResourceRequest_ScsiDisk struct {
ScsiDisk *SCSIDisk `protobuf:"bytes,5,opt,name=scsi_disk,json=scsiDisk,proto3,oneof"`
}
type ModifyResourceRequest_VpmemDisk ¶
type ModifyResourceRequest_VpmemDisk struct {
VpmemDisk *VPMEMDisk `protobuf:"bytes,6,opt,name=vpmem_disk,json=vpmemDisk,proto3,oneof"`
}
type ModifyResourceRequest_WindowsDevice ¶
type ModifyResourceRequest_WindowsDevice struct {
WindowsDevice *WindowsPCIDevice `protobuf:"bytes,8,opt,name=windows_device,json=windowsDevice,proto3,oneof"`
}
type ModifyType ¶
type ModifyType int32
const ( ModifyType_ADD ModifyType = 0 ModifyType_REMOVE ModifyType = 1 ModifyType_UPDATE ModifyType = 2 )
func (ModifyType) Descriptor ¶
func (ModifyType) Descriptor() protoreflect.EnumDescriptor
func (ModifyType) Enum ¶
func (x ModifyType) Enum() *ModifyType
func (ModifyType) EnumDescriptor
deprecated
func (ModifyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModifyType.Descriptor instead.
func (ModifyType) Number ¶
func (x ModifyType) Number() protoreflect.EnumNumber
func (ModifyType) String ¶
func (x ModifyType) String() string
func (ModifyType) Type ¶
func (ModifyType) Type() protoreflect.EnumType
type NICConfig ¶
type NICConfig struct { NicID string `protobuf:"bytes,1,opt,name=nic_id,json=nicId,proto3" json:"nic_id,omitempty"` // GUID PortID string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // GUID MacAddress string `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // 12-34-56-78-9A-BC SwitchID string `protobuf:"bytes,4,opt,name=switch_id,json=switchId,proto3" json:"switch_id,omitempty"` // GUID // 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"` // contains filtered or unexported fields }
func (*NICConfig) Descriptor
deprecated
func (*NICConfig) GetMacAddress ¶
func (*NICConfig) GetNicName ¶
func (*NICConfig) GetSwitchID ¶
func (*NICConfig) ProtoMessage ¶
func (*NICConfig) ProtoMessage()
func (*NICConfig) ProtoReflect ¶
func (x *NICConfig) ProtoReflect() protoreflect.Message
type ProcessorConfig ¶
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"` // contains filtered or unexported fields }
func (*ProcessorConfig) Descriptor
deprecated
func (*ProcessorConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorConfig.ProtoReflect.Descriptor instead.
func (*ProcessorConfig) GetProcessorCount ¶
func (x *ProcessorConfig) GetProcessorCount() uint32
func (*ProcessorConfig) GetProcessorLimit ¶
func (x *ProcessorConfig) GetProcessorLimit() uint32
func (*ProcessorConfig) GetProcessorWeight ¶
func (x *ProcessorConfig) GetProcessorWeight() uint32
func (*ProcessorConfig) ProtoMessage ¶
func (*ProcessorConfig) ProtoMessage()
func (*ProcessorConfig) ProtoReflect ¶
func (x *ProcessorConfig) ProtoReflect() protoreflect.Message
func (*ProcessorConfig) Reset ¶
func (x *ProcessorConfig) Reset()
func (*ProcessorConfig) String ¶
func (x *ProcessorConfig) String() string
type ProcessorStats ¶
type ProcessorStats struct { TotalRuntimeNs uint64 `protobuf:"varint,1,opt,name=total_runtime_ns,json=totalRuntimeNs,proto3" json:"total_runtime_ns,omitempty"` // contains filtered or unexported fields }
func (*ProcessorStats) Descriptor
deprecated
func (*ProcessorStats) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorStats.ProtoReflect.Descriptor instead.
func (*ProcessorStats) GetTotalRuntimeNs ¶
func (x *ProcessorStats) GetTotalRuntimeNs() uint64
func (*ProcessorStats) ProtoMessage ¶
func (*ProcessorStats) ProtoMessage()
func (*ProcessorStats) ProtoReflect ¶
func (x *ProcessorStats) ProtoReflect() protoreflect.Message
func (*ProcessorStats) Reset ¶
func (x *ProcessorStats) Reset()
func (*ProcessorStats) String ¶
func (x *ProcessorStats) String() string
type PropertiesVMRequest ¶
type PropertiesVMRequest struct { Types []PropertiesVMRequest_PropertiesType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=vmservice.PropertiesVMRequest_PropertiesType" json:"types,omitempty"` // contains filtered or unexported fields }
func (*PropertiesVMRequest) Descriptor
deprecated
func (*PropertiesVMRequest) Descriptor() ([]byte, []int)
Deprecated: Use PropertiesVMRequest.ProtoReflect.Descriptor instead.
func (*PropertiesVMRequest) GetTypes ¶
func (x *PropertiesVMRequest) GetTypes() []PropertiesVMRequest_PropertiesType
func (*PropertiesVMRequest) ProtoMessage ¶
func (*PropertiesVMRequest) ProtoMessage()
func (*PropertiesVMRequest) ProtoReflect ¶
func (x *PropertiesVMRequest) ProtoReflect() protoreflect.Message
func (*PropertiesVMRequest) Reset ¶
func (x *PropertiesVMRequest) Reset()
func (*PropertiesVMRequest) String ¶
func (x *PropertiesVMRequest) String() string
type PropertiesVMRequest_PropertiesType ¶
type PropertiesVMRequest_PropertiesType int32
const ( PropertiesVMRequest_Memory PropertiesVMRequest_PropertiesType = 0 PropertiesVMRequest_Processor PropertiesVMRequest_PropertiesType = 1 )
func (PropertiesVMRequest_PropertiesType) Descriptor ¶
func (PropertiesVMRequest_PropertiesType) Descriptor() protoreflect.EnumDescriptor
func (PropertiesVMRequest_PropertiesType) Enum ¶
func (x PropertiesVMRequest_PropertiesType) Enum() *PropertiesVMRequest_PropertiesType
func (PropertiesVMRequest_PropertiesType) EnumDescriptor
deprecated
func (PropertiesVMRequest_PropertiesType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PropertiesVMRequest_PropertiesType.Descriptor instead.
func (PropertiesVMRequest_PropertiesType) Number ¶
func (x PropertiesVMRequest_PropertiesType) Number() protoreflect.EnumNumber
func (PropertiesVMRequest_PropertiesType) String ¶
func (x PropertiesVMRequest_PropertiesType) String() string
func (PropertiesVMRequest_PropertiesType) Type ¶
func (PropertiesVMRequest_PropertiesType) Type() protoreflect.EnumType
type PropertiesVMResponse ¶
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"` // contains filtered or unexported fields }
func (*PropertiesVMResponse) Descriptor
deprecated
func (*PropertiesVMResponse) Descriptor() ([]byte, []int)
Deprecated: Use PropertiesVMResponse.ProtoReflect.Descriptor instead.
func (*PropertiesVMResponse) GetMemoryStats ¶
func (x *PropertiesVMResponse) GetMemoryStats() *MemoryStats
func (*PropertiesVMResponse) GetProcessorStats ¶
func (x *PropertiesVMResponse) GetProcessorStats() *ProcessorStats
func (*PropertiesVMResponse) ProtoMessage ¶
func (*PropertiesVMResponse) ProtoMessage()
func (*PropertiesVMResponse) ProtoReflect ¶
func (x *PropertiesVMResponse) ProtoReflect() protoreflect.Message
func (*PropertiesVMResponse) Reset ¶
func (x *PropertiesVMResponse) Reset()
func (*PropertiesVMResponse) String ¶
func (x *PropertiesVMResponse) String() string
type SCSIDisk ¶
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"` // contains filtered or unexported fields }
func (*SCSIDisk) Descriptor
deprecated
func (*SCSIDisk) GetController ¶
func (*SCSIDisk) GetHostPath ¶
func (*SCSIDisk) GetReadOnly ¶
func (*SCSIDisk) ProtoMessage ¶
func (*SCSIDisk) ProtoMessage()
func (*SCSIDisk) ProtoReflect ¶
func (x *SCSIDisk) ProtoReflect() protoreflect.Message
type SerialConfig ¶
type SerialConfig struct { Ports []*SerialConfig_Config `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"` // contains filtered or unexported fields }
func (*SerialConfig) Descriptor
deprecated
func (*SerialConfig) Descriptor() ([]byte, []int)
Deprecated: Use SerialConfig.ProtoReflect.Descriptor instead.
func (*SerialConfig) GetPorts ¶
func (x *SerialConfig) GetPorts() []*SerialConfig_Config
func (*SerialConfig) ProtoMessage ¶
func (*SerialConfig) ProtoMessage()
func (*SerialConfig) ProtoReflect ¶
func (x *SerialConfig) ProtoReflect() protoreflect.Message
func (*SerialConfig) Reset ¶
func (x *SerialConfig) Reset()
func (*SerialConfig) String ¶
func (x *SerialConfig) String() string
type SerialConfig_Config ¶
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"` // contains filtered or unexported fields }
func (*SerialConfig_Config) Descriptor
deprecated
func (*SerialConfig_Config) Descriptor() ([]byte, []int)
Deprecated: Use SerialConfig_Config.ProtoReflect.Descriptor instead.
func (*SerialConfig_Config) GetPort ¶
func (x *SerialConfig_Config) GetPort() uint32
func (*SerialConfig_Config) GetSocketPath ¶
func (x *SerialConfig_Config) GetSocketPath() string
func (*SerialConfig_Config) ProtoMessage ¶
func (*SerialConfig_Config) ProtoMessage()
func (*SerialConfig_Config) ProtoReflect ¶
func (x *SerialConfig_Config) ProtoReflect() protoreflect.Message
func (*SerialConfig_Config) Reset ¶
func (x *SerialConfig_Config) Reset()
func (*SerialConfig_Config) String ¶
func (x *SerialConfig_Config) String() string
type UEFI ¶
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"` // contains filtered or unexported fields }
func (*UEFI) Descriptor
deprecated
func (*UEFI) GetDevicePath ¶
func (*UEFI) GetFirmwarePath ¶
func (*UEFI) GetOptionalData ¶
func (*UEFI) ProtoMessage ¶
func (*UEFI) ProtoMessage()
func (*UEFI) ProtoReflect ¶
func (x *UEFI) ProtoReflect() protoreflect.Message
type VMConfig ¶
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 assignable 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 `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VMConfig) Descriptor
deprecated
func (*VMConfig) GetBootConfig ¶
func (m *VMConfig) GetBootConfig() isVMConfig_BootConfig
func (*VMConfig) GetDevicesConfig ¶
func (x *VMConfig) GetDevicesConfig() *DevicesConfig
func (*VMConfig) GetDirectBoot ¶
func (x *VMConfig) GetDirectBoot() *DirectBoot
func (*VMConfig) GetExtraData ¶
func (*VMConfig) GetMemoryConfig ¶
func (x *VMConfig) GetMemoryConfig() *MemoryConfig
func (*VMConfig) GetProcessorConfig ¶
func (x *VMConfig) GetProcessorConfig() *ProcessorConfig
func (*VMConfig) GetSerialConfig ¶
func (x *VMConfig) GetSerialConfig() *SerialConfig
func (*VMConfig) GetWindowsOptions ¶
func (x *VMConfig) GetWindowsOptions() *WindowsOptions
func (*VMConfig) ProtoMessage ¶
func (*VMConfig) ProtoMessage()
func (*VMConfig) ProtoReflect ¶
func (x *VMConfig) ProtoReflect() protoreflect.Message
type VMConfig_DirectBoot ¶
type VMConfig_DirectBoot struct {
DirectBoot *DirectBoot `protobuf:"bytes,5,opt,name=direct_boot,json=directBoot,proto3,oneof"`
}
type VMConfig_Uefi ¶
type VMConfig_Uefi struct {
Uefi *UEFI `protobuf:"bytes,6,opt,name=uefi,proto3,oneof"`
}
type VMService ¶
type VMService interface { CreateVM(context.Context, *CreateVMRequest) (*emptypb.Empty, error) TeardownVM(context.Context, *emptypb.Empty) (*emptypb.Empty, error) PauseVM(context.Context, *emptypb.Empty) (*emptypb.Empty, error) ResumeVM(context.Context, *emptypb.Empty) (*emptypb.Empty, error) WaitVM(context.Context, *emptypb.Empty) (*emptypb.Empty, error) InspectVM(context.Context, *InspectVMRequest) (*InspectVMResponse, error) CapabilitiesVM(context.Context, *emptypb.Empty) (*CapabilitiesVMResponse, error) PropertiesVM(context.Context, *PropertiesVMRequest) (*PropertiesVMResponse, error) ModifyResource(context.Context, *ModifyResourceRequest) (*emptypb.Empty, error) VMSocket(context.Context, *VMSocketRequest) (*emptypb.Empty, error) Quit(context.Context, *emptypb.Empty) (*emptypb.Empty, error) }
func NewVMClient ¶
type VMSocketRequest ¶
type VMSocketRequest struct { Type ModifyType `protobuf:"varint,1,opt,name=type,proto3,enum=vmservice.ModifyType" json:"type,omitempty"` // Types that are assignable to Config: // // *VMSocketRequest_HvsocketList // *VMSocketRequest_VsockListen Config isVMSocketRequest_Config `protobuf_oneof:"Config"` // contains filtered or unexported fields }
func (*VMSocketRequest) Descriptor
deprecated
func (*VMSocketRequest) Descriptor() ([]byte, []int)
Deprecated: Use VMSocketRequest.ProtoReflect.Descriptor instead.
func (*VMSocketRequest) GetConfig ¶
func (m *VMSocketRequest) GetConfig() isVMSocketRequest_Config
func (*VMSocketRequest) GetHvsocketList ¶
func (x *VMSocketRequest) GetHvsocketList() *HVSocketListen
func (*VMSocketRequest) GetType ¶
func (x *VMSocketRequest) GetType() ModifyType
func (*VMSocketRequest) GetVsockListen ¶
func (x *VMSocketRequest) GetVsockListen() *VSockListen
func (*VMSocketRequest) ProtoMessage ¶
func (*VMSocketRequest) ProtoMessage()
func (*VMSocketRequest) ProtoReflect ¶
func (x *VMSocketRequest) ProtoReflect() protoreflect.Message
func (*VMSocketRequest) Reset ¶
func (x *VMSocketRequest) Reset()
func (*VMSocketRequest) String ¶
func (x *VMSocketRequest) String() string
type VMSocketRequest_HvsocketList ¶
type VMSocketRequest_HvsocketList struct {
HvsocketList *HVSocketListen `protobuf:"bytes,2,opt,name=hvsocket_list,json=hvsocketList,proto3,oneof"`
}
type VMSocketRequest_VsockListen ¶
type VMSocketRequest_VsockListen struct {
VsockListen *VSockListen `protobuf:"bytes,3,opt,name=vsock_listen,json=vsockListen,proto3,oneof"`
}
type VPMEMDisk ¶
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"` // contains filtered or unexported fields }
func (*VPMEMDisk) Descriptor
deprecated
func (*VPMEMDisk) GetHostPath ¶
func (*VPMEMDisk) GetReadOnly ¶
func (*VPMEMDisk) ProtoMessage ¶
func (*VPMEMDisk) ProtoMessage()
func (*VPMEMDisk) ProtoReflect ¶
func (x *VPMEMDisk) ProtoReflect() protoreflect.Message
type VSockListen ¶
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"` // contains filtered or unexported fields }
func (*VSockListen) Descriptor
deprecated
func (*VSockListen) Descriptor() ([]byte, []int)
Deprecated: Use VSockListen.ProtoReflect.Descriptor instead.
func (*VSockListen) GetListenerPath ¶
func (x *VSockListen) GetListenerPath() string
func (*VSockListen) GetPort ¶
func (x *VSockListen) GetPort() uint32
func (*VSockListen) ProtoMessage ¶
func (*VSockListen) ProtoMessage()
func (*VSockListen) ProtoReflect ¶
func (x *VSockListen) ProtoReflect() protoreflect.Message
func (*VSockListen) Reset ¶
func (x *VSockListen) Reset()
func (*VSockListen) String ¶
func (x *VSockListen) String() string
type WindowsOptions ¶
type WindowsOptions struct { CpuGroupID uint64 `protobuf:"varint,1,opt,name=cpu_group_id,json=cpuGroupId,proto3" json:"cpu_group_id,omitempty"` // contains filtered or unexported fields }
WindowsOptions contains virtual machine configurations that are only present on a Windows host.
func (*WindowsOptions) Descriptor
deprecated
func (*WindowsOptions) Descriptor() ([]byte, []int)
Deprecated: Use WindowsOptions.ProtoReflect.Descriptor instead.
func (*WindowsOptions) GetCpuGroupID ¶
func (x *WindowsOptions) GetCpuGroupID() uint64
func (*WindowsOptions) ProtoMessage ¶
func (*WindowsOptions) ProtoMessage()
func (*WindowsOptions) ProtoReflect ¶
func (x *WindowsOptions) ProtoReflect() protoreflect.Message
func (*WindowsOptions) Reset ¶
func (x *WindowsOptions) Reset()
func (*WindowsOptions) String ¶
func (x *WindowsOptions) String() string
type WindowsPCIDevice ¶
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"` // contains filtered or unexported fields }
func (*WindowsPCIDevice) Descriptor
deprecated
func (*WindowsPCIDevice) Descriptor() ([]byte, []int)
Deprecated: Use WindowsPCIDevice.ProtoReflect.Descriptor instead.
func (*WindowsPCIDevice) GetInstanceID ¶
func (x *WindowsPCIDevice) GetInstanceID() string
func (*WindowsPCIDevice) ProtoMessage ¶
func (*WindowsPCIDevice) ProtoMessage()
func (*WindowsPCIDevice) ProtoReflect ¶
func (x *WindowsPCIDevice) ProtoReflect() protoreflect.Message
func (*WindowsPCIDevice) Reset ¶
func (x *WindowsPCIDevice) Reset()
func (*WindowsPCIDevice) String ¶
func (x *WindowsPCIDevice) String() string