Documentation ¶
Overview ¶
Package v1 is a generated protocol buffer package.
It is generated from these files:
pkg/handler-launcher-com/cmd/v1/cmd.proto
It has these top-level messages:
QemuVersionResponse VMI CPU Sibling Pages Memory Cell Topology SMBios DiskInfo ClusterConfig InterfaceBindingMigration VirtualMachineOptions VMIRequest MigrationRequest ExecRequest EmptyRequest Response DomainResponse DomainStatsResponse GuestInfoResponse GuestUserListResponse GuestFilesystemsResponse ExecResponse GuestPingRequest GuestPingResponse FreezeRequest MemoryDumpRequest SEVInfoResponse LaunchMeasurementResponse InjectLaunchSecretRequest * This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Copyright 2019 Red Hat, Inc. *
Index ¶
- Constants
- func RegisterCmdServer(s *grpc.Server, srv CmdServer)
- type CPU
- type Cell
- type ClusterConfig
- func (*ClusterConfig) Descriptor() ([]byte, []int)
- func (m *ClusterConfig) GetBochsDisplayForEFIGuests() bool
- func (m *ClusterConfig) GetExpandDisksEnabled() bool
- func (m *ClusterConfig) GetFreePageReportingDisabled() bool
- func (m *ClusterConfig) GetSerialConsoleLogDisabled() bool
- func (*ClusterConfig) ProtoMessage()
- func (m *ClusterConfig) Reset()
- func (m *ClusterConfig) String() string
- type CmdClient
- type CmdServer
- type DiskInfo
- func (*DiskInfo) Descriptor() ([]byte, []int)
- func (m *DiskInfo) GetActualSize() uint64
- func (m *DiskInfo) GetBackingFile() string
- func (m *DiskInfo) GetFormat() string
- func (m *DiskInfo) GetVirtualSize() uint64
- func (*DiskInfo) ProtoMessage()
- func (m *DiskInfo) Reset()
- func (m *DiskInfo) String() string
- type DomainResponse
- type DomainStatsResponse
- type EmptyRequest
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)
- func (m *ExecRequest) GetArgs() []string
- func (m *ExecRequest) GetCommand() string
- func (m *ExecRequest) GetDomainName() string
- func (m *ExecRequest) GetTimeoutSeconds() int32
- func (*ExecRequest) ProtoMessage()
- func (m *ExecRequest) Reset()
- func (m *ExecRequest) String() string
- type ExecResponse
- type FreezeRequest
- type GuestFilesystemsResponse
- func (*GuestFilesystemsResponse) Descriptor() ([]byte, []int)
- func (m *GuestFilesystemsResponse) GetGuestFilesystemsResponse() string
- func (m *GuestFilesystemsResponse) GetResponse() *Response
- func (*GuestFilesystemsResponse) ProtoMessage()
- func (m *GuestFilesystemsResponse) Reset()
- func (m *GuestFilesystemsResponse) String() string
- type GuestInfoResponse
- type GuestPingRequest
- type GuestPingResponse
- type GuestUserListResponse
- func (*GuestUserListResponse) Descriptor() ([]byte, []int)
- func (m *GuestUserListResponse) GetGuestUserListResponse() string
- func (m *GuestUserListResponse) GetResponse() *Response
- func (*GuestUserListResponse) ProtoMessage()
- func (m *GuestUserListResponse) Reset()
- func (m *GuestUserListResponse) String() string
- type InjectLaunchSecretRequest
- func (*InjectLaunchSecretRequest) Descriptor() ([]byte, []int)
- func (m *InjectLaunchSecretRequest) GetOptions() []byte
- func (m *InjectLaunchSecretRequest) GetVmi() *VMI
- func (*InjectLaunchSecretRequest) ProtoMessage()
- func (m *InjectLaunchSecretRequest) Reset()
- func (m *InjectLaunchSecretRequest) String() string
- type InterfaceBindingMigration
- type LaunchMeasurementResponse
- func (*LaunchMeasurementResponse) Descriptor() ([]byte, []int)
- func (m *LaunchMeasurementResponse) GetLaunchMeasurement() []byte
- func (m *LaunchMeasurementResponse) GetResponse() *Response
- func (*LaunchMeasurementResponse) ProtoMessage()
- func (m *LaunchMeasurementResponse) Reset()
- func (m *LaunchMeasurementResponse) String() string
- type Memory
- type MemoryDumpRequest
- type MigrationRequest
- type MockCmdClient
- func (_m *MockCmdClient) CancelVirtualMachineMigration(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) DeleteVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) EXPECT() *_MockCmdClientRecorder
- func (_m *MockCmdClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
- func (_m *MockCmdClient) FinalizeVirtualMachineMigration(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) FreezeVirtualMachine(ctx context.Context, in *FreezeRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) GetDomain(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*DomainResponse, error)
- func (_m *MockCmdClient) GetDomainStats(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*DomainStatsResponse, error)
- func (_m *MockCmdClient) GetFilesystems(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestFilesystemsResponse, error)
- func (_m *MockCmdClient) GetGuestInfo(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestInfoResponse, error)
- func (_m *MockCmdClient) GetLaunchMeasurement(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*LaunchMeasurementResponse, error)
- func (_m *MockCmdClient) GetQemuVersion(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*QemuVersionResponse, error)
- func (_m *MockCmdClient) GetSEVInfo(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*SEVInfoResponse, error)
- func (_m *MockCmdClient) GetUsers(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestUserListResponse, error)
- func (_m *MockCmdClient) GuestPing(ctx context.Context, in *GuestPingRequest, opts ...grpc.CallOption) (*GuestPingResponse, error)
- func (_m *MockCmdClient) HotplugHostDevices(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) InjectLaunchSecret(ctx context.Context, in *InjectLaunchSecretRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) KillVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) MigrateVirtualMachine(ctx context.Context, in *MigrationRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) PauseVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) Ping(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) ShutdownVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) SignalTargetPodCleanup(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) SoftRebootVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) SyncMigrationTarget(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) SyncVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) SyncVirtualMachineCPUs(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) SyncVirtualMachineMemory(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) UnfreezeVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) UnpauseVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
- func (_m *MockCmdClient) VirtualMachineMemoryDump(ctx context.Context, in *MemoryDumpRequest, opts ...grpc.CallOption) (*Response, error)
- type MockCmdServer
- func (_m *MockCmdServer) CancelVirtualMachineMigration(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) DeleteVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) EXPECT() *_MockCmdServerRecorder
- func (_m *MockCmdServer) Exec(_param0 context.Context, _param1 *ExecRequest) (*ExecResponse, error)
- func (_m *MockCmdServer) FinalizeVirtualMachineMigration(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) FreezeVirtualMachine(_param0 context.Context, _param1 *FreezeRequest) (*Response, error)
- func (_m *MockCmdServer) GetDomain(_param0 context.Context, _param1 *EmptyRequest) (*DomainResponse, error)
- func (_m *MockCmdServer) GetDomainStats(_param0 context.Context, _param1 *EmptyRequest) (*DomainStatsResponse, error)
- func (_m *MockCmdServer) GetFilesystems(_param0 context.Context, _param1 *EmptyRequest) (*GuestFilesystemsResponse, error)
- func (_m *MockCmdServer) GetGuestInfo(_param0 context.Context, _param1 *EmptyRequest) (*GuestInfoResponse, error)
- func (_m *MockCmdServer) GetLaunchMeasurement(_param0 context.Context, _param1 *VMIRequest) (*LaunchMeasurementResponse, error)
- func (_m *MockCmdServer) GetQemuVersion(_param0 context.Context, _param1 *EmptyRequest) (*QemuVersionResponse, error)
- func (_m *MockCmdServer) GetSEVInfo(_param0 context.Context, _param1 *EmptyRequest) (*SEVInfoResponse, error)
- func (_m *MockCmdServer) GetUsers(_param0 context.Context, _param1 *EmptyRequest) (*GuestUserListResponse, error)
- func (_m *MockCmdServer) GuestPing(_param0 context.Context, _param1 *GuestPingRequest) (*GuestPingResponse, error)
- func (_m *MockCmdServer) HotplugHostDevices(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) InjectLaunchSecret(_param0 context.Context, _param1 *InjectLaunchSecretRequest) (*Response, error)
- func (_m *MockCmdServer) KillVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) MigrateVirtualMachine(_param0 context.Context, _param1 *MigrationRequest) (*Response, error)
- func (_m *MockCmdServer) PauseVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) Ping(_param0 context.Context, _param1 *EmptyRequest) (*Response, error)
- func (_m *MockCmdServer) ShutdownVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) SignalTargetPodCleanup(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) SoftRebootVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) SyncMigrationTarget(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) SyncVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) SyncVirtualMachineCPUs(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) SyncVirtualMachineMemory(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) UnfreezeVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) UnpauseVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
- func (_m *MockCmdServer) VirtualMachineMemoryDump(_param0 context.Context, _param1 *MemoryDumpRequest) (*Response, error)
- type Pages
- type QemuVersionResponse
- type Response
- type SEVInfoResponse
- type SMBios
- func (*SMBios) Descriptor() ([]byte, []int)
- func (m *SMBios) GetFamily() string
- func (m *SMBios) GetManufacturer() string
- func (m *SMBios) GetProduct() string
- func (m *SMBios) GetSku() string
- func (m *SMBios) GetVersion() string
- func (*SMBios) ProtoMessage()
- func (m *SMBios) Reset()
- func (m *SMBios) String() string
- type Sibling
- type Topology
- type VMI
- type VMIRequest
- type VirtualMachineOptions
- func (*VirtualMachineOptions) Descriptor() ([]byte, []int)
- func (m *VirtualMachineOptions) GetClusterConfig() *ClusterConfig
- func (m *VirtualMachineOptions) GetDisksInfo() map[string]*DiskInfo
- func (m *VirtualMachineOptions) GetExpandDisksEnabled() bool
- func (m *VirtualMachineOptions) GetInterfaceDomainAttachment() map[string]string
- func (m *VirtualMachineOptions) GetInterfaceMigration() map[string]*InterfaceBindingMigration
- func (m *VirtualMachineOptions) GetMemBalloonStatsPeriod() uint32
- func (m *VirtualMachineOptions) GetPreallocatedVolumes() []string
- func (m *VirtualMachineOptions) GetTopology() *Topology
- func (m *VirtualMachineOptions) GetVirtualMachineSMBios() *SMBios
- func (*VirtualMachineOptions) ProtoMessage()
- func (m *VirtualMachineOptions) Reset()
- func (m *VirtualMachineOptions) String() string
Constants ¶
View Source
const CmdVersion = 1
Variables ¶
This section is empty.
Functions ¶
func RegisterCmdServer ¶
Types ¶
type CPU ¶ added in v0.43.0
type CPU struct { Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Siblings []uint32 `protobuf:"varint,2,rep,packed,name=siblings" json:"siblings,omitempty"` }
func (*CPU) Descriptor ¶ added in v0.43.0
func (*CPU) GetSiblings ¶ added in v0.44.2
func (*CPU) ProtoMessage ¶ added in v0.43.0
func (*CPU) ProtoMessage()
type Cell ¶ added in v0.43.0
type Cell struct { Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Memory *Memory `protobuf:"bytes,2,opt,name=memory" json:"memory,omitempty"` Pages []*Pages `protobuf:"bytes,3,rep,name=pages" json:"pages,omitempty"` Distances []*Sibling `protobuf:"bytes,4,rep,name=distances" json:"distances,omitempty"` Cpus []*CPU `protobuf:"bytes,5,rep,name=cpus" json:"cpus,omitempty"` }
func (*Cell) Descriptor ¶ added in v0.43.0
func (*Cell) GetDistances ¶ added in v0.43.0
func (*Cell) ProtoMessage ¶ added in v0.43.0
func (*Cell) ProtoMessage()
type ClusterConfig ¶ added in v1.0.0
type ClusterConfig struct { ExpandDisksEnabled bool `protobuf:"varint,1,opt,name=ExpandDisksEnabled" json:"ExpandDisksEnabled,omitempty"` FreePageReportingDisabled bool `protobuf:"varint,2,opt,name=FreePageReportingDisabled" json:"FreePageReportingDisabled,omitempty"` BochsDisplayForEFIGuests bool `protobuf:"varint,3,opt,name=BochsDisplayForEFIGuests" json:"BochsDisplayForEFIGuests,omitempty"` SerialConsoleLogDisabled bool `protobuf:"varint,4,opt,name=SerialConsoleLogDisabled" json:"SerialConsoleLogDisabled,omitempty"` }
func (*ClusterConfig) Descriptor ¶ added in v1.0.0
func (*ClusterConfig) Descriptor() ([]byte, []int)
func (*ClusterConfig) GetBochsDisplayForEFIGuests ¶ added in v1.1.0
func (m *ClusterConfig) GetBochsDisplayForEFIGuests() bool
func (*ClusterConfig) GetExpandDisksEnabled ¶ added in v1.0.0
func (m *ClusterConfig) GetExpandDisksEnabled() bool
func (*ClusterConfig) GetFreePageReportingDisabled ¶ added in v1.0.0
func (m *ClusterConfig) GetFreePageReportingDisabled() bool
func (*ClusterConfig) GetSerialConsoleLogDisabled ¶ added in v1.1.0
func (m *ClusterConfig) GetSerialConsoleLogDisabled() bool
func (*ClusterConfig) ProtoMessage ¶ added in v1.0.0
func (*ClusterConfig) ProtoMessage()
func (*ClusterConfig) Reset ¶ added in v1.0.0
func (m *ClusterConfig) Reset()
func (*ClusterConfig) String ¶ added in v1.0.0
func (m *ClusterConfig) String() string
type CmdClient ¶
type CmdClient interface { SyncVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) PauseVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) UnpauseVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) FreezeVirtualMachine(ctx context.Context, in *FreezeRequest, opts ...grpc.CallOption) (*Response, error) UnfreezeVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) SoftRebootVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) ShutdownVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) KillVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) DeleteVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) MigrateVirtualMachine(ctx context.Context, in *MigrationRequest, opts ...grpc.CallOption) (*Response, error) SyncMigrationTarget(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) CancelVirtualMachineMigration(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) SignalTargetPodCleanup(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) FinalizeVirtualMachineMigration(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) HotplugHostDevices(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) GetDomain(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*DomainResponse, error) GetDomainStats(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*DomainStatsResponse, error) GetGuestInfo(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestInfoResponse, error) GetUsers(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestUserListResponse, error) GetFilesystems(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestFilesystemsResponse, error) Ping(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*Response, error) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) GuestPing(ctx context.Context, in *GuestPingRequest, opts ...grpc.CallOption) (*GuestPingResponse, error) VirtualMachineMemoryDump(ctx context.Context, in *MemoryDumpRequest, opts ...grpc.CallOption) (*Response, error) GetQemuVersion(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*QemuVersionResponse, error) SyncVirtualMachineCPUs(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) SyncVirtualMachineMemory(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error) GetSEVInfo(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*SEVInfoResponse, error) GetLaunchMeasurement(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*LaunchMeasurementResponse, error) InjectLaunchSecret(ctx context.Context, in *InjectLaunchSecretRequest, opts ...grpc.CallOption) (*Response, error) }
func NewCmdClient ¶
func NewCmdClient(cc *grpc.ClientConn) CmdClient
type CmdServer ¶
type CmdServer interface { SyncVirtualMachine(context.Context, *VMIRequest) (*Response, error) PauseVirtualMachine(context.Context, *VMIRequest) (*Response, error) UnpauseVirtualMachine(context.Context, *VMIRequest) (*Response, error) FreezeVirtualMachine(context.Context, *FreezeRequest) (*Response, error) UnfreezeVirtualMachine(context.Context, *VMIRequest) (*Response, error) SoftRebootVirtualMachine(context.Context, *VMIRequest) (*Response, error) ShutdownVirtualMachine(context.Context, *VMIRequest) (*Response, error) KillVirtualMachine(context.Context, *VMIRequest) (*Response, error) DeleteVirtualMachine(context.Context, *VMIRequest) (*Response, error) MigrateVirtualMachine(context.Context, *MigrationRequest) (*Response, error) SyncMigrationTarget(context.Context, *VMIRequest) (*Response, error) CancelVirtualMachineMigration(context.Context, *VMIRequest) (*Response, error) SignalTargetPodCleanup(context.Context, *VMIRequest) (*Response, error) FinalizeVirtualMachineMigration(context.Context, *VMIRequest) (*Response, error) HotplugHostDevices(context.Context, *VMIRequest) (*Response, error) GetDomain(context.Context, *EmptyRequest) (*DomainResponse, error) GetDomainStats(context.Context, *EmptyRequest) (*DomainStatsResponse, error) GetGuestInfo(context.Context, *EmptyRequest) (*GuestInfoResponse, error) GetUsers(context.Context, *EmptyRequest) (*GuestUserListResponse, error) GetFilesystems(context.Context, *EmptyRequest) (*GuestFilesystemsResponse, error) Ping(context.Context, *EmptyRequest) (*Response, error) Exec(context.Context, *ExecRequest) (*ExecResponse, error) GuestPing(context.Context, *GuestPingRequest) (*GuestPingResponse, error) VirtualMachineMemoryDump(context.Context, *MemoryDumpRequest) (*Response, error) GetQemuVersion(context.Context, *EmptyRequest) (*QemuVersionResponse, error) SyncVirtualMachineCPUs(context.Context, *VMIRequest) (*Response, error) SyncVirtualMachineMemory(context.Context, *VMIRequest) (*Response, error) GetSEVInfo(context.Context, *EmptyRequest) (*SEVInfoResponse, error) GetLaunchMeasurement(context.Context, *VMIRequest) (*LaunchMeasurementResponse, error) InjectLaunchSecret(context.Context, *InjectLaunchSecretRequest) (*Response, error) }
type DiskInfo ¶ added in v0.46.0
type DiskInfo struct { Format string `protobuf:"bytes,1,opt,name=format" json:"format,omitempty"` BackingFile string `protobuf:"bytes,2,opt,name=backingFile" json:"backingFile,omitempty"` ActualSize uint64 `protobuf:"varint,3,opt,name=actualSize" json:"actualSize,omitempty"` VirtualSize uint64 `protobuf:"varint,4,opt,name=virtualSize" json:"virtualSize,omitempty"` }
func (*DiskInfo) Descriptor ¶ added in v0.46.0
func (*DiskInfo) GetActualSize ¶ added in v0.46.0
func (*DiskInfo) GetBackingFile ¶ added in v0.46.0
func (*DiskInfo) GetVirtualSize ¶ added in v0.46.0
func (*DiskInfo) ProtoMessage ¶ added in v0.46.0
func (*DiskInfo) ProtoMessage()
type DomainResponse ¶
type DomainResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain" json:"domain,omitempty"` }
func (*DomainResponse) Descriptor ¶
func (*DomainResponse) Descriptor() ([]byte, []int)
func (*DomainResponse) GetDomain ¶
func (m *DomainResponse) GetDomain() string
func (*DomainResponse) GetResponse ¶
func (m *DomainResponse) GetResponse() *Response
func (*DomainResponse) ProtoMessage ¶
func (*DomainResponse) ProtoMessage()
func (*DomainResponse) Reset ¶
func (m *DomainResponse) Reset()
func (*DomainResponse) String ¶
func (m *DomainResponse) String() string
type DomainStatsResponse ¶
type DomainStatsResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` DomainStats string `protobuf:"bytes,2,opt,name=domainStats" json:"domainStats,omitempty"` }
func (*DomainStatsResponse) Descriptor ¶
func (*DomainStatsResponse) Descriptor() ([]byte, []int)
func (*DomainStatsResponse) GetDomainStats ¶
func (m *DomainStatsResponse) GetDomainStats() string
func (*DomainStatsResponse) GetResponse ¶
func (m *DomainStatsResponse) GetResponse() *Response
func (*DomainStatsResponse) ProtoMessage ¶
func (*DomainStatsResponse) ProtoMessage()
func (*DomainStatsResponse) Reset ¶
func (m *DomainStatsResponse) Reset()
func (*DomainStatsResponse) String ¶
func (m *DomainStatsResponse) String() string
type EmptyRequest ¶
type EmptyRequest struct { }
func (*EmptyRequest) Descriptor ¶
func (*EmptyRequest) Descriptor() ([]byte, []int)
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) Reset ¶
func (m *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (m *EmptyRequest) String() string
type ExecRequest ¶ added in v0.43.0
type ExecRequest struct { DomainName string `protobuf:"bytes,1,opt,name=domainName" json:"domainName,omitempty"` Command string `protobuf:"bytes,2,opt,name=Command" json:"Command,omitempty"` Args []string `protobuf:"bytes,3,rep,name=Args" json:"Args,omitempty"` TimeoutSeconds int32 `protobuf:"varint,4,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"` }
func (*ExecRequest) Descriptor ¶ added in v0.43.0
func (*ExecRequest) Descriptor() ([]byte, []int)
func (*ExecRequest) GetArgs ¶ added in v0.43.0
func (m *ExecRequest) GetArgs() []string
func (*ExecRequest) GetCommand ¶ added in v0.43.0
func (m *ExecRequest) GetCommand() string
func (*ExecRequest) GetDomainName ¶ added in v0.43.0
func (m *ExecRequest) GetDomainName() string
func (*ExecRequest) GetTimeoutSeconds ¶ added in v0.43.0
func (m *ExecRequest) GetTimeoutSeconds() int32
func (*ExecRequest) ProtoMessage ¶ added in v0.43.0
func (*ExecRequest) ProtoMessage()
func (*ExecRequest) Reset ¶ added in v0.43.0
func (m *ExecRequest) Reset()
func (*ExecRequest) String ¶ added in v0.43.0
func (m *ExecRequest) String() string
type ExecResponse ¶ added in v0.43.0
type ExecResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` ExitCode int32 `protobuf:"varint,2,opt,name=exitCode" json:"exitCode,omitempty"` StdOut string `protobuf:"bytes,3,opt,name=stdOut" json:"stdOut,omitempty"` }
func (*ExecResponse) Descriptor ¶ added in v0.43.0
func (*ExecResponse) Descriptor() ([]byte, []int)
func (*ExecResponse) GetExitCode ¶ added in v0.43.0
func (m *ExecResponse) GetExitCode() int32
func (*ExecResponse) GetResponse ¶ added in v0.43.0
func (m *ExecResponse) GetResponse() *Response
func (*ExecResponse) GetStdOut ¶ added in v0.43.0
func (m *ExecResponse) GetStdOut() string
func (*ExecResponse) ProtoMessage ¶ added in v0.43.0
func (*ExecResponse) ProtoMessage()
func (*ExecResponse) Reset ¶ added in v0.43.0
func (m *ExecResponse) Reset()
func (*ExecResponse) String ¶ added in v0.43.0
func (m *ExecResponse) String() string
type FreezeRequest ¶ added in v0.47.0
type FreezeRequest struct { Vmi *VMI `protobuf:"bytes,1,opt,name=vmi" json:"vmi,omitempty"` UnfreezeTimeoutSeconds int32 `protobuf:"varint,2,opt,name=unfreezeTimeoutSeconds" json:"unfreezeTimeoutSeconds,omitempty"` }
func (*FreezeRequest) Descriptor ¶ added in v0.47.0
func (*FreezeRequest) Descriptor() ([]byte, []int)
func (*FreezeRequest) GetUnfreezeTimeoutSeconds ¶ added in v0.47.0
func (m *FreezeRequest) GetUnfreezeTimeoutSeconds() int32
func (*FreezeRequest) GetVmi ¶ added in v0.47.0
func (m *FreezeRequest) GetVmi() *VMI
func (*FreezeRequest) ProtoMessage ¶ added in v0.47.0
func (*FreezeRequest) ProtoMessage()
func (*FreezeRequest) Reset ¶ added in v0.47.0
func (m *FreezeRequest) Reset()
func (*FreezeRequest) String ¶ added in v0.47.0
func (m *FreezeRequest) String() string
type GuestFilesystemsResponse ¶ added in v0.28.0
type GuestFilesystemsResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` GuestFilesystemsResponse string `protobuf:"bytes,2,opt,name=guestFilesystemsResponse" json:"guestFilesystemsResponse,omitempty"` }
func (*GuestFilesystemsResponse) Descriptor ¶ added in v0.28.0
func (*GuestFilesystemsResponse) Descriptor() ([]byte, []int)
func (*GuestFilesystemsResponse) GetGuestFilesystemsResponse ¶ added in v0.28.0
func (m *GuestFilesystemsResponse) GetGuestFilesystemsResponse() string
func (*GuestFilesystemsResponse) GetResponse ¶ added in v0.28.0
func (m *GuestFilesystemsResponse) GetResponse() *Response
func (*GuestFilesystemsResponse) ProtoMessage ¶ added in v0.28.0
func (*GuestFilesystemsResponse) ProtoMessage()
func (*GuestFilesystemsResponse) Reset ¶ added in v0.28.0
func (m *GuestFilesystemsResponse) Reset()
func (*GuestFilesystemsResponse) String ¶ added in v0.28.0
func (m *GuestFilesystemsResponse) String() string
type GuestInfoResponse ¶ added in v0.27.0
type GuestInfoResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` GuestInfoResponse string `protobuf:"bytes,2,opt,name=guestInfoResponse" json:"guestInfoResponse,omitempty"` }
func (*GuestInfoResponse) Descriptor ¶ added in v0.27.0
func (*GuestInfoResponse) Descriptor() ([]byte, []int)
func (*GuestInfoResponse) GetGuestInfoResponse ¶ added in v0.27.0
func (m *GuestInfoResponse) GetGuestInfoResponse() string
func (*GuestInfoResponse) GetResponse ¶ added in v0.27.0
func (m *GuestInfoResponse) GetResponse() *Response
func (*GuestInfoResponse) ProtoMessage ¶ added in v0.27.0
func (*GuestInfoResponse) ProtoMessage()
func (*GuestInfoResponse) Reset ¶ added in v0.27.0
func (m *GuestInfoResponse) Reset()
func (*GuestInfoResponse) String ¶ added in v0.27.0
func (m *GuestInfoResponse) String() string
type GuestPingRequest ¶ added in v0.44.1
type GuestPingRequest struct { DomainName string `protobuf:"bytes,1,opt,name=domainName" json:"domainName,omitempty"` TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"` }
func (*GuestPingRequest) Descriptor ¶ added in v0.44.1
func (*GuestPingRequest) Descriptor() ([]byte, []int)
func (*GuestPingRequest) GetDomainName ¶ added in v0.44.1
func (m *GuestPingRequest) GetDomainName() string
func (*GuestPingRequest) GetTimeoutSeconds ¶ added in v0.44.1
func (m *GuestPingRequest) GetTimeoutSeconds() int32
func (*GuestPingRequest) ProtoMessage ¶ added in v0.44.1
func (*GuestPingRequest) ProtoMessage()
func (*GuestPingRequest) Reset ¶ added in v0.44.1
func (m *GuestPingRequest) Reset()
func (*GuestPingRequest) String ¶ added in v0.44.1
func (m *GuestPingRequest) String() string
type GuestPingResponse ¶ added in v0.44.1
type GuestPingResponse struct {
Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
}
func (*GuestPingResponse) Descriptor ¶ added in v0.44.1
func (*GuestPingResponse) Descriptor() ([]byte, []int)
func (*GuestPingResponse) GetResponse ¶ added in v0.44.1
func (m *GuestPingResponse) GetResponse() *Response
func (*GuestPingResponse) ProtoMessage ¶ added in v0.44.1
func (*GuestPingResponse) ProtoMessage()
func (*GuestPingResponse) Reset ¶ added in v0.44.1
func (m *GuestPingResponse) Reset()
func (*GuestPingResponse) String ¶ added in v0.44.1
func (m *GuestPingResponse) String() string
type GuestUserListResponse ¶ added in v0.28.0
type GuestUserListResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` GuestUserListResponse string `protobuf:"bytes,2,opt,name=guestUserListResponse" json:"guestUserListResponse,omitempty"` }
func (*GuestUserListResponse) Descriptor ¶ added in v0.28.0
func (*GuestUserListResponse) Descriptor() ([]byte, []int)
func (*GuestUserListResponse) GetGuestUserListResponse ¶ added in v0.28.0
func (m *GuestUserListResponse) GetGuestUserListResponse() string
func (*GuestUserListResponse) GetResponse ¶ added in v0.28.0
func (m *GuestUserListResponse) GetResponse() *Response
func (*GuestUserListResponse) ProtoMessage ¶ added in v0.28.0
func (*GuestUserListResponse) ProtoMessage()
func (*GuestUserListResponse) Reset ¶ added in v0.28.0
func (m *GuestUserListResponse) Reset()
func (*GuestUserListResponse) String ¶ added in v0.28.0
func (m *GuestUserListResponse) String() string
type InjectLaunchSecretRequest ¶ added in v1.1.0
type InjectLaunchSecretRequest struct { Vmi *VMI `protobuf:"bytes,1,opt,name=vmi" json:"vmi,omitempty"` Options []byte `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` }
func (*InjectLaunchSecretRequest) Descriptor ¶ added in v1.1.0
func (*InjectLaunchSecretRequest) Descriptor() ([]byte, []int)
func (*InjectLaunchSecretRequest) GetOptions ¶ added in v1.1.0
func (m *InjectLaunchSecretRequest) GetOptions() []byte
func (*InjectLaunchSecretRequest) GetVmi ¶ added in v1.1.0
func (m *InjectLaunchSecretRequest) GetVmi() *VMI
func (*InjectLaunchSecretRequest) ProtoMessage ¶ added in v1.1.0
func (*InjectLaunchSecretRequest) ProtoMessage()
func (*InjectLaunchSecretRequest) Reset ¶ added in v1.1.0
func (m *InjectLaunchSecretRequest) Reset()
func (*InjectLaunchSecretRequest) String ¶ added in v1.1.0
func (m *InjectLaunchSecretRequest) String() string
type InterfaceBindingMigration ¶ added in v1.2.0
type InterfaceBindingMigration struct {
Method string `protobuf:"bytes,1,opt,name=Method" json:"Method,omitempty"`
}
func (*InterfaceBindingMigration) Descriptor ¶ added in v1.2.0
func (*InterfaceBindingMigration) Descriptor() ([]byte, []int)
func (*InterfaceBindingMigration) GetMethod ¶ added in v1.2.0
func (m *InterfaceBindingMigration) GetMethod() string
func (*InterfaceBindingMigration) ProtoMessage ¶ added in v1.2.0
func (*InterfaceBindingMigration) ProtoMessage()
func (*InterfaceBindingMigration) Reset ¶ added in v1.2.0
func (m *InterfaceBindingMigration) Reset()
func (*InterfaceBindingMigration) String ¶ added in v1.2.0
func (m *InterfaceBindingMigration) String() string
type LaunchMeasurementResponse ¶ added in v1.1.0
type LaunchMeasurementResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` LaunchMeasurement []byte `protobuf:"bytes,2,opt,name=launchMeasurement,proto3" json:"launchMeasurement,omitempty"` }
func (*LaunchMeasurementResponse) Descriptor ¶ added in v1.1.0
func (*LaunchMeasurementResponse) Descriptor() ([]byte, []int)
func (*LaunchMeasurementResponse) GetLaunchMeasurement ¶ added in v1.1.0
func (m *LaunchMeasurementResponse) GetLaunchMeasurement() []byte
func (*LaunchMeasurementResponse) GetResponse ¶ added in v1.1.0
func (m *LaunchMeasurementResponse) GetResponse() *Response
func (*LaunchMeasurementResponse) ProtoMessage ¶ added in v1.1.0
func (*LaunchMeasurementResponse) ProtoMessage()
func (*LaunchMeasurementResponse) Reset ¶ added in v1.1.0
func (m *LaunchMeasurementResponse) Reset()
func (*LaunchMeasurementResponse) String ¶ added in v1.1.0
func (m *LaunchMeasurementResponse) String() string
type Memory ¶ added in v0.43.0
type Memory struct { Amount uint64 `protobuf:"varint,1,opt,name=amount" json:"amount,omitempty"` Unit string `protobuf:"bytes,2,opt,name=unit" json:"unit,omitempty"` }
func (*Memory) Descriptor ¶ added in v0.43.0
func (*Memory) ProtoMessage ¶ added in v0.43.0
func (*Memory) ProtoMessage()
type MemoryDumpRequest ¶ added in v0.54.0
type MemoryDumpRequest struct { Vmi *VMI `protobuf:"bytes,1,opt,name=vmi" json:"vmi,omitempty"` DumpPath string `protobuf:"bytes,2,opt,name=dumpPath" json:"dumpPath,omitempty"` }
func (*MemoryDumpRequest) Descriptor ¶ added in v0.54.0
func (*MemoryDumpRequest) Descriptor() ([]byte, []int)
func (*MemoryDumpRequest) GetDumpPath ¶ added in v0.54.0
func (m *MemoryDumpRequest) GetDumpPath() string
func (*MemoryDumpRequest) GetVmi ¶ added in v0.54.0
func (m *MemoryDumpRequest) GetVmi() *VMI
func (*MemoryDumpRequest) ProtoMessage ¶ added in v0.54.0
func (*MemoryDumpRequest) ProtoMessage()
func (*MemoryDumpRequest) Reset ¶ added in v0.54.0
func (m *MemoryDumpRequest) Reset()
func (*MemoryDumpRequest) String ¶ added in v0.54.0
func (m *MemoryDumpRequest) String() string
type MigrationRequest ¶
type MigrationRequest struct { Vmi *VMI `protobuf:"bytes,1,opt,name=vmi" json:"vmi,omitempty"` Options []byte `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` }
func (*MigrationRequest) Descriptor ¶
func (*MigrationRequest) Descriptor() ([]byte, []int)
func (*MigrationRequest) GetOptions ¶
func (m *MigrationRequest) GetOptions() []byte
func (*MigrationRequest) GetVmi ¶
func (m *MigrationRequest) GetVmi() *VMI
func (*MigrationRequest) ProtoMessage ¶
func (*MigrationRequest) ProtoMessage()
func (*MigrationRequest) Reset ¶
func (m *MigrationRequest) Reset()
func (*MigrationRequest) String ¶
func (m *MigrationRequest) String() string
type MockCmdClient ¶ added in v0.43.0
type MockCmdClient struct {
// contains filtered or unexported fields
}
Mock of CmdClient interface
func NewMockCmdClient ¶ added in v0.43.0
func NewMockCmdClient(ctrl *gomock.Controller) *MockCmdClient
func (*MockCmdClient) CancelVirtualMachineMigration ¶ added in v0.43.0
func (_m *MockCmdClient) CancelVirtualMachineMigration(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) DeleteVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdClient) DeleteVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) EXPECT ¶ added in v0.43.0
func (_m *MockCmdClient) EXPECT() *_MockCmdClientRecorder
func (*MockCmdClient) Exec ¶ added in v0.43.0
func (_m *MockCmdClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
func (*MockCmdClient) FinalizeVirtualMachineMigration ¶ added in v0.43.0
func (_m *MockCmdClient) FinalizeVirtualMachineMigration(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) FreezeVirtualMachine ¶ added in v0.44.1
func (_m *MockCmdClient) FreezeVirtualMachine(ctx context.Context, in *FreezeRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) GetDomain ¶ added in v0.43.0
func (_m *MockCmdClient) GetDomain(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*DomainResponse, error)
func (*MockCmdClient) GetDomainStats ¶ added in v0.43.0
func (_m *MockCmdClient) GetDomainStats(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*DomainStatsResponse, error)
func (*MockCmdClient) GetFilesystems ¶ added in v0.43.0
func (_m *MockCmdClient) GetFilesystems(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestFilesystemsResponse, error)
func (*MockCmdClient) GetGuestInfo ¶ added in v0.43.0
func (_m *MockCmdClient) GetGuestInfo(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestInfoResponse, error)
func (*MockCmdClient) GetLaunchMeasurement ¶ added in v1.1.0
func (_m *MockCmdClient) GetLaunchMeasurement(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*LaunchMeasurementResponse, error)
func (*MockCmdClient) GetQemuVersion ¶ added in v1.0.0
func (_m *MockCmdClient) GetQemuVersion(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*QemuVersionResponse, error)
func (*MockCmdClient) GetSEVInfo ¶ added in v1.1.0
func (_m *MockCmdClient) GetSEVInfo(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*SEVInfoResponse, error)
func (*MockCmdClient) GetUsers ¶ added in v0.43.0
func (_m *MockCmdClient) GetUsers(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GuestUserListResponse, error)
func (*MockCmdClient) GuestPing ¶ added in v0.44.1
func (_m *MockCmdClient) GuestPing(ctx context.Context, in *GuestPingRequest, opts ...grpc.CallOption) (*GuestPingResponse, error)
func (*MockCmdClient) HotplugHostDevices ¶ added in v0.50.0
func (_m *MockCmdClient) HotplugHostDevices(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) InjectLaunchSecret ¶ added in v1.1.0
func (_m *MockCmdClient) InjectLaunchSecret(ctx context.Context, in *InjectLaunchSecretRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) KillVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdClient) KillVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) MigrateVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdClient) MigrateVirtualMachine(ctx context.Context, in *MigrationRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) PauseVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdClient) PauseVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) Ping ¶ added in v0.43.0
func (_m *MockCmdClient) Ping(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) ShutdownVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdClient) ShutdownVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) SignalTargetPodCleanup ¶ added in v0.43.0
func (_m *MockCmdClient) SignalTargetPodCleanup(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) SoftRebootVirtualMachine ¶ added in v0.48.0
func (_m *MockCmdClient) SoftRebootVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) SyncMigrationTarget ¶ added in v0.43.0
func (_m *MockCmdClient) SyncMigrationTarget(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) SyncVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdClient) SyncVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) SyncVirtualMachineCPUs ¶ added in v1.0.0
func (_m *MockCmdClient) SyncVirtualMachineCPUs(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) SyncVirtualMachineMemory ¶ added in v1.1.0
func (_m *MockCmdClient) SyncVirtualMachineMemory(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) UnfreezeVirtualMachine ¶ added in v0.44.1
func (_m *MockCmdClient) UnfreezeVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) UnpauseVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdClient) UnpauseVirtualMachine(ctx context.Context, in *VMIRequest, opts ...grpc.CallOption) (*Response, error)
func (*MockCmdClient) VirtualMachineMemoryDump ¶ added in v0.54.0
func (_m *MockCmdClient) VirtualMachineMemoryDump(ctx context.Context, in *MemoryDumpRequest, opts ...grpc.CallOption) (*Response, error)
type MockCmdServer ¶ added in v0.43.0
type MockCmdServer struct {
// contains filtered or unexported fields
}
Mock of CmdServer interface
func NewMockCmdServer ¶ added in v0.43.0
func NewMockCmdServer(ctrl *gomock.Controller) *MockCmdServer
func (*MockCmdServer) CancelVirtualMachineMigration ¶ added in v0.43.0
func (_m *MockCmdServer) CancelVirtualMachineMigration(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) DeleteVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdServer) DeleteVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) EXPECT ¶ added in v0.43.0
func (_m *MockCmdServer) EXPECT() *_MockCmdServerRecorder
func (*MockCmdServer) Exec ¶ added in v0.43.0
func (_m *MockCmdServer) Exec(_param0 context.Context, _param1 *ExecRequest) (*ExecResponse, error)
func (*MockCmdServer) FinalizeVirtualMachineMigration ¶ added in v0.43.0
func (_m *MockCmdServer) FinalizeVirtualMachineMigration(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) FreezeVirtualMachine ¶ added in v0.44.1
func (_m *MockCmdServer) FreezeVirtualMachine(_param0 context.Context, _param1 *FreezeRequest) (*Response, error)
func (*MockCmdServer) GetDomain ¶ added in v0.43.0
func (_m *MockCmdServer) GetDomain(_param0 context.Context, _param1 *EmptyRequest) (*DomainResponse, error)
func (*MockCmdServer) GetDomainStats ¶ added in v0.43.0
func (_m *MockCmdServer) GetDomainStats(_param0 context.Context, _param1 *EmptyRequest) (*DomainStatsResponse, error)
func (*MockCmdServer) GetFilesystems ¶ added in v0.43.0
func (_m *MockCmdServer) GetFilesystems(_param0 context.Context, _param1 *EmptyRequest) (*GuestFilesystemsResponse, error)
func (*MockCmdServer) GetGuestInfo ¶ added in v0.43.0
func (_m *MockCmdServer) GetGuestInfo(_param0 context.Context, _param1 *EmptyRequest) (*GuestInfoResponse, error)
func (*MockCmdServer) GetLaunchMeasurement ¶ added in v1.1.0
func (_m *MockCmdServer) GetLaunchMeasurement(_param0 context.Context, _param1 *VMIRequest) (*LaunchMeasurementResponse, error)
func (*MockCmdServer) GetQemuVersion ¶ added in v1.0.0
func (_m *MockCmdServer) GetQemuVersion(_param0 context.Context, _param1 *EmptyRequest) (*QemuVersionResponse, error)
func (*MockCmdServer) GetSEVInfo ¶ added in v1.1.0
func (_m *MockCmdServer) GetSEVInfo(_param0 context.Context, _param1 *EmptyRequest) (*SEVInfoResponse, error)
func (*MockCmdServer) GetUsers ¶ added in v0.43.0
func (_m *MockCmdServer) GetUsers(_param0 context.Context, _param1 *EmptyRequest) (*GuestUserListResponse, error)
func (*MockCmdServer) GuestPing ¶ added in v0.44.1
func (_m *MockCmdServer) GuestPing(_param0 context.Context, _param1 *GuestPingRequest) (*GuestPingResponse, error)
func (*MockCmdServer) HotplugHostDevices ¶ added in v0.50.0
func (_m *MockCmdServer) HotplugHostDevices(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) InjectLaunchSecret ¶ added in v1.1.0
func (_m *MockCmdServer) InjectLaunchSecret(_param0 context.Context, _param1 *InjectLaunchSecretRequest) (*Response, error)
func (*MockCmdServer) KillVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdServer) KillVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) MigrateVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdServer) MigrateVirtualMachine(_param0 context.Context, _param1 *MigrationRequest) (*Response, error)
func (*MockCmdServer) PauseVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdServer) PauseVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) Ping ¶ added in v0.43.0
func (_m *MockCmdServer) Ping(_param0 context.Context, _param1 *EmptyRequest) (*Response, error)
func (*MockCmdServer) ShutdownVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdServer) ShutdownVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) SignalTargetPodCleanup ¶ added in v0.43.0
func (_m *MockCmdServer) SignalTargetPodCleanup(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) SoftRebootVirtualMachine ¶ added in v0.48.0
func (_m *MockCmdServer) SoftRebootVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) SyncMigrationTarget ¶ added in v0.43.0
func (_m *MockCmdServer) SyncMigrationTarget(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) SyncVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdServer) SyncVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) SyncVirtualMachineCPUs ¶ added in v1.0.0
func (_m *MockCmdServer) SyncVirtualMachineCPUs(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) SyncVirtualMachineMemory ¶ added in v1.1.0
func (_m *MockCmdServer) SyncVirtualMachineMemory(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) UnfreezeVirtualMachine ¶ added in v0.44.1
func (_m *MockCmdServer) UnfreezeVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) UnpauseVirtualMachine ¶ added in v0.43.0
func (_m *MockCmdServer) UnpauseVirtualMachine(_param0 context.Context, _param1 *VMIRequest) (*Response, error)
func (*MockCmdServer) VirtualMachineMemoryDump ¶ added in v0.54.0
func (_m *MockCmdServer) VirtualMachineMemoryDump(_param0 context.Context, _param1 *MemoryDumpRequest) (*Response, error)
type Pages ¶ added in v0.43.0
type Pages struct { Count uint64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` Unit string `protobuf:"bytes,2,opt,name=unit" json:"unit,omitempty"` Size uint32 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"` }
func (*Pages) Descriptor ¶ added in v0.43.0
func (*Pages) ProtoMessage ¶ added in v0.43.0
func (*Pages) ProtoMessage()
type QemuVersionResponse ¶ added in v1.0.0
type QemuVersionResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` }
func (*QemuVersionResponse) Descriptor ¶ added in v1.0.0
func (*QemuVersionResponse) Descriptor() ([]byte, []int)
func (*QemuVersionResponse) GetResponse ¶ added in v1.0.0
func (m *QemuVersionResponse) GetResponse() *Response
func (*QemuVersionResponse) GetVersion ¶ added in v1.0.0
func (m *QemuVersionResponse) GetVersion() string
func (*QemuVersionResponse) ProtoMessage ¶ added in v1.0.0
func (*QemuVersionResponse) ProtoMessage()
func (*QemuVersionResponse) Reset ¶ added in v1.0.0
func (m *QemuVersionResponse) Reset()
func (*QemuVersionResponse) String ¶ added in v1.0.0
func (m *QemuVersionResponse) String() string
type Response ¶
type Response struct { Success bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` }
func (*Response) Descriptor ¶
func (*Response) GetMessage ¶
func (*Response) GetSuccess ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
type SEVInfoResponse ¶ added in v1.1.0
type SEVInfoResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` SevInfo []byte `protobuf:"bytes,2,opt,name=sevInfo,proto3" json:"sevInfo,omitempty"` }
func (*SEVInfoResponse) Descriptor ¶ added in v1.1.0
func (*SEVInfoResponse) Descriptor() ([]byte, []int)
func (*SEVInfoResponse) GetResponse ¶ added in v1.1.0
func (m *SEVInfoResponse) GetResponse() *Response
func (*SEVInfoResponse) GetSevInfo ¶ added in v1.1.0
func (m *SEVInfoResponse) GetSevInfo() []byte
func (*SEVInfoResponse) ProtoMessage ¶ added in v1.1.0
func (*SEVInfoResponse) ProtoMessage()
func (*SEVInfoResponse) Reset ¶ added in v1.1.0
func (m *SEVInfoResponse) Reset()
func (*SEVInfoResponse) String ¶ added in v1.1.0
func (m *SEVInfoResponse) String() string
type SMBios ¶ added in v0.21.0
type SMBios struct { Manufacturer string `protobuf:"bytes,1,opt,name=manufacturer" json:"manufacturer,omitempty"` Product string `protobuf:"bytes,2,opt,name=product" json:"product,omitempty"` Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"` Sku string `protobuf:"bytes,4,opt,name=sku" json:"sku,omitempty"` Family string `protobuf:"bytes,5,opt,name=family" json:"family,omitempty"` }
func (*SMBios) Descriptor ¶ added in v0.21.0
func (*SMBios) GetManufacturer ¶ added in v0.21.0
func (*SMBios) GetProduct ¶ added in v0.21.0
func (*SMBios) GetVersion ¶ added in v0.21.0
func (*SMBios) ProtoMessage ¶ added in v0.21.0
func (*SMBios) ProtoMessage()
type Sibling ¶ added in v0.43.0
type Sibling struct { Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` }
func (*Sibling) Descriptor ¶ added in v0.43.0
func (*Sibling) ProtoMessage ¶ added in v0.43.0
func (*Sibling) ProtoMessage()
type Topology ¶ added in v0.43.0
type Topology struct {
NumaCells []*Cell `protobuf:"bytes,1,rep,name=numa_cells,json=numaCells" json:"numa_cells,omitempty"`
}
func (*Topology) Descriptor ¶ added in v0.43.0
func (*Topology) GetNumaCells ¶ added in v0.43.0
func (*Topology) ProtoMessage ¶ added in v0.43.0
func (*Topology) ProtoMessage()
type VMI ¶
type VMI struct {
VmiJson []byte `protobuf:"bytes,1,opt,name=vmiJson,proto3" json:"vmiJson,omitempty"`
}
func (*VMI) Descriptor ¶
func (*VMI) GetVmiJson ¶
func (*VMI) ProtoMessage ¶
func (*VMI) ProtoMessage()
type VMIRequest ¶
type VMIRequest struct { Vmi *VMI `protobuf:"bytes,1,opt,name=vmi" json:"vmi,omitempty"` Options *VirtualMachineOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` }
func (*VMIRequest) Descriptor ¶
func (*VMIRequest) Descriptor() ([]byte, []int)
func (*VMIRequest) GetOptions ¶ added in v0.21.0
func (m *VMIRequest) GetOptions() *VirtualMachineOptions
func (*VMIRequest) GetVmi ¶
func (m *VMIRequest) GetVmi() *VMI
func (*VMIRequest) ProtoMessage ¶
func (*VMIRequest) ProtoMessage()
func (*VMIRequest) Reset ¶
func (m *VMIRequest) Reset()
func (*VMIRequest) String ¶
func (m *VMIRequest) String() string
type VirtualMachineOptions ¶ added in v0.21.0
type VirtualMachineOptions struct { VirtualMachineSMBios *SMBios `protobuf:"bytes,1,opt,name=VirtualMachineSMBios" json:"VirtualMachineSMBios,omitempty"` MemBalloonStatsPeriod uint32 `protobuf:"varint,2,opt,name=MemBalloonStatsPeriod" json:"MemBalloonStatsPeriod,omitempty"` PreallocatedVolumes []string `protobuf:"bytes,3,rep,name=PreallocatedVolumes" json:"PreallocatedVolumes,omitempty"` Topology *Topology `protobuf:"bytes,4,opt,name=topology" json:"topology,omitempty"` DisksInfo map[string]*DiskInfo `` /* 138-byte string literal not displayed */ // Deprecated, use clusterConfig.ExpandDisksEnabled ExpandDisksEnabled bool `protobuf:"varint,6,opt,name=ExpandDisksEnabled" json:"ExpandDisksEnabled,omitempty"` ClusterConfig *ClusterConfig `protobuf:"bytes,7,opt,name=clusterConfig" json:"clusterConfig,omitempty"` InterfaceDomainAttachment map[string]string `` /* 170-byte string literal not displayed */ InterfaceMigration map[string]*InterfaceBindingMigration `` /* 156-byte string literal not displayed */ }
func (*VirtualMachineOptions) Descriptor ¶ added in v0.21.0
func (*VirtualMachineOptions) Descriptor() ([]byte, []int)
func (*VirtualMachineOptions) GetClusterConfig ¶ added in v1.0.0
func (m *VirtualMachineOptions) GetClusterConfig() *ClusterConfig
func (*VirtualMachineOptions) GetDisksInfo ¶ added in v0.46.0
func (m *VirtualMachineOptions) GetDisksInfo() map[string]*DiskInfo
func (*VirtualMachineOptions) GetExpandDisksEnabled ¶ added in v0.48.0
func (m *VirtualMachineOptions) GetExpandDisksEnabled() bool
func (*VirtualMachineOptions) GetInterfaceDomainAttachment ¶ added in v1.1.1
func (m *VirtualMachineOptions) GetInterfaceDomainAttachment() map[string]string
func (*VirtualMachineOptions) GetInterfaceMigration ¶ added in v1.2.0
func (m *VirtualMachineOptions) GetInterfaceMigration() map[string]*InterfaceBindingMigration
func (*VirtualMachineOptions) GetMemBalloonStatsPeriod ¶ added in v0.33.0
func (m *VirtualMachineOptions) GetMemBalloonStatsPeriod() uint32
func (*VirtualMachineOptions) GetPreallocatedVolumes ¶ added in v0.40.0
func (m *VirtualMachineOptions) GetPreallocatedVolumes() []string
func (*VirtualMachineOptions) GetTopology ¶ added in v0.43.0
func (m *VirtualMachineOptions) GetTopology() *Topology
func (*VirtualMachineOptions) GetVirtualMachineSMBios ¶ added in v0.21.0
func (m *VirtualMachineOptions) GetVirtualMachineSMBios() *SMBios
func (*VirtualMachineOptions) ProtoMessage ¶ added in v0.21.0
func (*VirtualMachineOptions) ProtoMessage()
func (*VirtualMachineOptions) Reset ¶ added in v0.21.0
func (m *VirtualMachineOptions) Reset()
func (*VirtualMachineOptions) String ¶ added in v0.21.0
func (m *VirtualMachineOptions) String() string
Click to show internal directories.
Click to hide internal directories.