vmservice

package
v0.12.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/Microsoft/hcsshim/internal/vmservice/vmservice.proto

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_github_com_Microsoft_hcsshim_internal_vmservice_vmservice_proto protoreflect.FileDescriptor

Functions

func RegisterVMService

func RegisterVMService(srv *ttrpc.Server, svc VMService)

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 added in v0.10.0

func (*CapabilitiesVMResponse) GetSupportedResources added in v0.10.0

func (*CapabilitiesVMResponse) ProtoMessage

func (*CapabilitiesVMResponse) ProtoMessage()

func (*CapabilitiesVMResponse) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (CapabilitiesVMResponse_Resource) Enum added in v0.10.0

func (CapabilitiesVMResponse_Resource) EnumDescriptor deprecated

func (CapabilitiesVMResponse_Resource) EnumDescriptor() ([]byte, []int)

Deprecated: Use CapabilitiesVMResponse_Resource.Descriptor instead.

func (CapabilitiesVMResponse_Resource) Number added in v0.10.0

func (CapabilitiesVMResponse_Resource) String

func (CapabilitiesVMResponse_Resource) Type added in v0.10.0

type CapabilitiesVMResponse_SupportedGuestOS

type CapabilitiesVMResponse_SupportedGuestOS int32
const (
	CapabilitiesVMResponse_Windows CapabilitiesVMResponse_SupportedGuestOS = 0
	CapabilitiesVMResponse_Linux   CapabilitiesVMResponse_SupportedGuestOS = 1
)

func (CapabilitiesVMResponse_SupportedGuestOS) Descriptor added in v0.10.0

func (CapabilitiesVMResponse_SupportedGuestOS) Enum added in v0.10.0

func (CapabilitiesVMResponse_SupportedGuestOS) EnumDescriptor deprecated

func (CapabilitiesVMResponse_SupportedGuestOS) EnumDescriptor() ([]byte, []int)

Deprecated: Use CapabilitiesVMResponse_SupportedGuestOS.Descriptor instead.

func (CapabilitiesVMResponse_SupportedGuestOS) Number added in v0.10.0

func (CapabilitiesVMResponse_SupportedGuestOS) String

func (CapabilitiesVMResponse_SupportedGuestOS) Type added in v0.10.0

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 added in v0.10.0

func (*CapabilitiesVMResponse_SupportedResource) GetRemove added in v0.10.0

func (*CapabilitiesVMResponse_SupportedResource) GetResource added in v0.10.0

func (*CapabilitiesVMResponse_SupportedResource) GetUpdate added in v0.10.0

func (*CapabilitiesVMResponse_SupportedResource) ProtoMessage

func (*CapabilitiesVMResponse_SupportedResource) ProtoReflect added in v0.10.0

func (*CapabilitiesVMResponse_SupportedResource) Reset

func (*CapabilitiesVMResponse_SupportedResource) 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 added in v0.10.0

func (x *CreateVMRequest) GetConfig() *VMConfig

func (*CreateVMRequest) GetLogID added in v0.10.0

func (x *CreateVMRequest) GetLogID() string

func (*CreateVMRequest) ProtoMessage

func (*CreateVMRequest) ProtoMessage()

func (*CreateVMRequest) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *DevicesConfig) GetNicConfig() []*NICConfig

func (*DevicesConfig) GetScsiDisks added in v0.10.0

func (x *DevicesConfig) GetScsiDisks() []*SCSIDisk

func (*DevicesConfig) GetVpmemDisks added in v0.10.0

func (x *DevicesConfig) GetVpmemDisks() []*VPMEMDisk

func (*DevicesConfig) GetWindowsDevice added in v0.10.0

func (x *DevicesConfig) GetWindowsDevice() []*WindowsPCIDevice

func (*DevicesConfig) ProtoMessage

func (*DevicesConfig) ProtoMessage()

func (*DevicesConfig) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *DirectBoot) GetInitrdPath() string

func (*DirectBoot) GetKernelCmdline added in v0.10.0

func (x *DirectBoot) GetKernelCmdline() string

func (*DirectBoot) GetKernelPath added in v0.10.0

func (x *DirectBoot) GetKernelPath() string

func (*DirectBoot) ProtoMessage

func (*DirectBoot) ProtoMessage()

func (*DirectBoot) ProtoReflect added in v0.10.0

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
const (
	DiskType_SCSI_DISK_TYPE_VHD1     DiskType = 0
	DiskType_SCSI_DISK_TYPE_VHDX     DiskType = 1
	DiskType_SCSI_DISK_TYPE_PHYSICAL DiskType = 2
)

func (DiskType) Descriptor added in v0.10.0

func (DiskType) Descriptor() protoreflect.EnumDescriptor

func (DiskType) Enum added in v0.10.0

func (x DiskType) Enum() *DiskType

func (DiskType) EnumDescriptor deprecated

func (DiskType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiskType.Descriptor instead.

func (DiskType) Number added in v0.10.0

func (x DiskType) Number() protoreflect.EnumNumber

func (DiskType) String

func (x DiskType) String() string

func (DiskType) Type added in v0.10.0

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 added in v0.10.0

func (x *HVSocketListen) GetListenerPath() string

func (*HVSocketListen) GetServiceID added in v0.10.0

func (x *HVSocketListen) GetServiceID() string

func (*HVSocketListen) ProtoMessage

func (*HVSocketListen) ProtoMessage()

func (*HVSocketListen) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *InspectVMRequest) GetQuery() string

func (*InspectVMRequest) GetRecursionLimit added in v0.10.0

func (x *InspectVMRequest) GetRecursionLimit() uint32

func (*InspectVMRequest) ProtoMessage

func (*InspectVMRequest) ProtoMessage()

func (*InspectVMRequest) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *InspectVMResponse) GetResult() *structpb.Value

func (*InspectVMResponse) ProtoMessage

func (*InspectVMResponse) ProtoMessage()

func (*InspectVMResponse) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *MemoryConfig) GetAllowOvercommit() bool

func (*MemoryConfig) GetColdDiscardHint added in v0.10.0

func (x *MemoryConfig) GetColdDiscardHint() bool

func (*MemoryConfig) GetColdHint added in v0.10.0

func (x *MemoryConfig) GetColdHint() bool

func (*MemoryConfig) GetDeferredCommit added in v0.10.0

func (x *MemoryConfig) GetDeferredCommit() bool

func (*MemoryConfig) GetHighMmioBaseInMb added in v0.10.0

func (x *MemoryConfig) GetHighMmioBaseInMb() uint64

func (*MemoryConfig) GetHighMmioGapInMb added in v0.10.0

func (x *MemoryConfig) GetHighMmioGapInMb() uint64

func (*MemoryConfig) GetHotHint added in v0.10.0

func (x *MemoryConfig) GetHotHint() bool

func (*MemoryConfig) GetLowMmioGapInMb added in v0.10.0

func (x *MemoryConfig) GetLowMmioGapInMb() uint64

func (*MemoryConfig) GetMemoryMb added in v0.10.0

func (x *MemoryConfig) GetMemoryMb() uint64

func (*MemoryConfig) ProtoMessage

func (*MemoryConfig) ProtoMessage()

func (*MemoryConfig) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *MemoryStats) GetAssignedMemory() uint64

func (*MemoryStats) GetAvailableMemory added in v0.10.0

func (x *MemoryStats) GetAvailableMemory() uint64

func (*MemoryStats) GetReservedMemory added in v0.10.0

func (x *MemoryStats) GetReservedMemory() uint64

func (*MemoryStats) GetWorkingSetBytes added in v0.10.0

func (x *MemoryStats) GetWorkingSetBytes() uint64

func (*MemoryStats) ProtoMessage

func (*MemoryStats) ProtoMessage()

func (*MemoryStats) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *ModifyMemoryRequest) GetMemoryMb() uint64

func (*ModifyMemoryRequest) ProtoMessage

func (*ModifyMemoryRequest) ProtoMessage()

func (*ModifyMemoryRequest) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *ModifyProcessorConfigRequest) GetProcessorLimit() uint32

func (*ModifyProcessorConfigRequest) GetProcessorWeight added in v0.10.0

func (x *ModifyProcessorConfigRequest) GetProcessorWeight() uint32

func (*ModifyProcessorConfigRequest) ProtoMessage

func (*ModifyProcessorConfigRequest) ProtoMessage()

func (*ModifyProcessorConfigRequest) ProtoReflect added in v0.10.0

func (*ModifyProcessorConfigRequest) Reset

func (x *ModifyProcessorConfigRequest) Reset()

func (*ModifyProcessorConfigRequest) 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 added in v0.10.0

func (x *ModifyProcessorRequest) GetProcessorIndex() uint32

func (*ModifyProcessorRequest) ProtoMessage

func (*ModifyProcessorRequest) ProtoMessage()

func (*ModifyProcessorRequest) ProtoReflect added in v0.10.0

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 (*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 added in v0.10.0

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 added in v0.10.0

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 added in v0.10.0

func (ModifyType) Descriptor() protoreflect.EnumDescriptor

func (ModifyType) Enum added in v0.10.0

func (x ModifyType) Enum() *ModifyType

func (ModifyType) EnumDescriptor deprecated

func (ModifyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ModifyType.Descriptor instead.

func (ModifyType) Number added in v0.10.0

func (x ModifyType) Number() protoreflect.EnumNumber

func (ModifyType) String

func (x ModifyType) String() string

func (ModifyType) Type added in v0.10.0

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) Descriptor() ([]byte, []int)

Deprecated: Use NICConfig.ProtoReflect.Descriptor instead.

func (*NICConfig) GetMacAddress added in v0.10.0

func (x *NICConfig) GetMacAddress() string

func (*NICConfig) GetNicID added in v0.10.0

func (x *NICConfig) GetNicID() string

func (*NICConfig) GetNicName added in v0.10.0

func (x *NICConfig) GetNicName() string

func (*NICConfig) GetPortID added in v0.10.0

func (x *NICConfig) GetPortID() string

func (*NICConfig) GetSwitchID added in v0.10.0

func (x *NICConfig) GetSwitchID() string

func (*NICConfig) ProtoMessage

func (*NICConfig) ProtoMessage()

func (*NICConfig) ProtoReflect added in v0.10.0

func (x *NICConfig) ProtoReflect() protoreflect.Message

func (*NICConfig) Reset

func (x *NICConfig) Reset()

func (*NICConfig) String

func (x *NICConfig) String() string

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 added in v0.10.0

func (x *ProcessorConfig) GetProcessorCount() uint32

func (*ProcessorConfig) GetProcessorLimit added in v0.10.0

func (x *ProcessorConfig) GetProcessorLimit() uint32

func (*ProcessorConfig) GetProcessorWeight added in v0.10.0

func (x *ProcessorConfig) GetProcessorWeight() uint32

func (*ProcessorConfig) ProtoMessage

func (*ProcessorConfig) ProtoMessage()

func (*ProcessorConfig) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *ProcessorStats) GetTotalRuntimeNs() uint64

func (*ProcessorStats) ProtoMessage

func (*ProcessorStats) ProtoMessage()

func (*ProcessorStats) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (*PropertiesVMRequest) ProtoMessage

func (*PropertiesVMRequest) ProtoMessage()

func (*PropertiesVMRequest) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (PropertiesVMRequest_PropertiesType) Enum added in v0.10.0

func (PropertiesVMRequest_PropertiesType) EnumDescriptor deprecated

func (PropertiesVMRequest_PropertiesType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PropertiesVMRequest_PropertiesType.Descriptor instead.

func (PropertiesVMRequest_PropertiesType) Number added in v0.10.0

func (PropertiesVMRequest_PropertiesType) String

func (PropertiesVMRequest_PropertiesType) Type added in v0.10.0

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 added in v0.10.0

func (x *PropertiesVMResponse) GetMemoryStats() *MemoryStats

func (*PropertiesVMResponse) GetProcessorStats added in v0.10.0

func (x *PropertiesVMResponse) GetProcessorStats() *ProcessorStats

func (*PropertiesVMResponse) ProtoMessage

func (*PropertiesVMResponse) ProtoMessage()

func (*PropertiesVMResponse) ProtoReflect added in v0.10.0

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) Descriptor() ([]byte, []int)

Deprecated: Use SCSIDisk.ProtoReflect.Descriptor instead.

func (*SCSIDisk) GetController added in v0.10.0

func (x *SCSIDisk) GetController() uint32

func (*SCSIDisk) GetHostPath added in v0.10.0

func (x *SCSIDisk) GetHostPath() string

func (*SCSIDisk) GetLun added in v0.10.0

func (x *SCSIDisk) GetLun() uint32

func (*SCSIDisk) GetReadOnly added in v0.10.0

func (x *SCSIDisk) GetReadOnly() bool

func (*SCSIDisk) GetType added in v0.10.0

func (x *SCSIDisk) GetType() DiskType

func (*SCSIDisk) ProtoMessage

func (*SCSIDisk) ProtoMessage()

func (*SCSIDisk) ProtoReflect added in v0.10.0

func (x *SCSIDisk) ProtoReflect() protoreflect.Message

func (*SCSIDisk) Reset

func (x *SCSIDisk) Reset()

func (*SCSIDisk) String

func (x *SCSIDisk) String() string

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 added in v0.10.0

func (x *SerialConfig) GetPorts() []*SerialConfig_Config

func (*SerialConfig) ProtoMessage

func (*SerialConfig) ProtoMessage()

func (*SerialConfig) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *SerialConfig_Config) GetPort() uint32

func (*SerialConfig_Config) GetSocketPath added in v0.10.0

func (x *SerialConfig_Config) GetSocketPath() string

func (*SerialConfig_Config) ProtoMessage

func (*SerialConfig_Config) ProtoMessage()

func (*SerialConfig_Config) ProtoReflect added in v0.10.0

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) Descriptor() ([]byte, []int)

Deprecated: Use UEFI.ProtoReflect.Descriptor instead.

func (*UEFI) GetDevicePath added in v0.10.0

func (x *UEFI) GetDevicePath() string

func (*UEFI) GetFirmwarePath added in v0.10.0

func (x *UEFI) GetFirmwarePath() string

func (*UEFI) GetOptionalData added in v0.10.0

func (x *UEFI) GetOptionalData() string

func (*UEFI) ProtoMessage

func (*UEFI) ProtoMessage()

func (*UEFI) ProtoReflect added in v0.10.0

func (x *UEFI) ProtoReflect() protoreflect.Message

func (*UEFI) Reset

func (x *UEFI) Reset()

func (*UEFI) String

func (x *UEFI) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use VMConfig.ProtoReflect.Descriptor instead.

func (*VMConfig) GetBootConfig

func (m *VMConfig) GetBootConfig() isVMConfig_BootConfig

func (*VMConfig) GetDevicesConfig added in v0.10.0

func (x *VMConfig) GetDevicesConfig() *DevicesConfig

func (*VMConfig) GetDirectBoot

func (x *VMConfig) GetDirectBoot() *DirectBoot

func (*VMConfig) GetExtraData added in v0.10.0

func (x *VMConfig) GetExtraData() map[string]string

func (*VMConfig) GetMemoryConfig added in v0.10.0

func (x *VMConfig) GetMemoryConfig() *MemoryConfig

func (*VMConfig) GetProcessorConfig added in v0.10.0

func (x *VMConfig) GetProcessorConfig() *ProcessorConfig

func (*VMConfig) GetSerialConfig added in v0.10.0

func (x *VMConfig) GetSerialConfig() *SerialConfig

func (*VMConfig) GetUefi

func (x *VMConfig) GetUefi() *UEFI

func (*VMConfig) GetWindowsOptions added in v0.10.0

func (x *VMConfig) GetWindowsOptions() *WindowsOptions

func (*VMConfig) ProtoMessage

func (*VMConfig) ProtoMessage()

func (*VMConfig) ProtoReflect added in v0.10.0

func (x *VMConfig) ProtoReflect() protoreflect.Message

func (*VMConfig) Reset

func (x *VMConfig) Reset()

func (*VMConfig) String

func (x *VMConfig) String() string

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 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 added in v0.10.0

func (x *VMSocketRequest) GetType() ModifyType

func (*VMSocketRequest) GetVsockListen

func (x *VMSocketRequest) GetVsockListen() *VSockListen

func (*VMSocketRequest) ProtoMessage

func (*VMSocketRequest) ProtoMessage()

func (*VMSocketRequest) ProtoReflect added in v0.10.0

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) Descriptor() ([]byte, []int)

Deprecated: Use VPMEMDisk.ProtoReflect.Descriptor instead.

func (*VPMEMDisk) GetHostPath added in v0.10.0

func (x *VPMEMDisk) GetHostPath() string

func (*VPMEMDisk) GetReadOnly added in v0.10.0

func (x *VPMEMDisk) GetReadOnly() bool

func (*VPMEMDisk) GetType added in v0.10.0

func (x *VPMEMDisk) GetType() DiskType

func (*VPMEMDisk) ProtoMessage

func (*VPMEMDisk) ProtoMessage()

func (*VPMEMDisk) ProtoReflect added in v0.10.0

func (x *VPMEMDisk) ProtoReflect() protoreflect.Message

func (*VPMEMDisk) Reset

func (x *VPMEMDisk) Reset()

func (*VPMEMDisk) String

func (x *VPMEMDisk) String() string

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 added in v0.10.0

func (x *VSockListen) GetListenerPath() string

func (*VSockListen) GetPort added in v0.10.0

func (x *VSockListen) GetPort() uint32

func (*VSockListen) ProtoMessage

func (*VSockListen) ProtoMessage()

func (*VSockListen) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *WindowsOptions) GetCpuGroupID() uint64

func (*WindowsOptions) ProtoMessage

func (*WindowsOptions) ProtoMessage()

func (*WindowsOptions) ProtoReflect added in v0.10.0

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 added in v0.10.0

func (x *WindowsPCIDevice) GetInstanceID() string

func (*WindowsPCIDevice) ProtoMessage

func (*WindowsPCIDevice) ProtoMessage()

func (*WindowsPCIDevice) ProtoReflect added in v0.10.0

func (x *WindowsPCIDevice) ProtoReflect() protoreflect.Message

func (*WindowsPCIDevice) Reset

func (x *WindowsPCIDevice) Reset()

func (*WindowsPCIDevice) String

func (x *WindowsPCIDevice) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL