v1

package
v0.44.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

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:

	VMI
	CPU
	Sibling
	Pages
	Memory
	Cell
	Topology
	SMBios
	VirtualMachineOptions
	VMIRequest
	MigrationRequest
	ExecRequest
	EmptyRequest
	Response
	DomainResponse
	DomainStatsResponse
	GuestInfoResponse
	GuestUserListResponse
	GuestFilesystemsResponse
	ExecResponse
	GuestPingRequest
	GuestPingResponse

 * 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

View Source
const CmdVersion = 1

Variables

This section is empty.

Functions

func RegisterCmdServer

func RegisterCmdServer(s *grpc.Server, srv CmdServer)

Types

type CPU added in v0.43.0

type CPU struct {
	Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}

func (*CPU) Descriptor added in v0.43.0

func (*CPU) Descriptor() ([]byte, []int)

func (*CPU) GetId added in v0.43.0

func (m *CPU) GetId() uint32

func (*CPU) ProtoMessage added in v0.43.0

func (*CPU) ProtoMessage()

func (*CPU) Reset added in v0.43.0

func (m *CPU) Reset()

func (*CPU) String added in v0.43.0

func (m *CPU) String() string

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

func (*Cell) GetCpus added in v0.43.0

func (m *Cell) GetCpus() []*CPU

func (*Cell) GetDistances added in v0.43.0

func (m *Cell) GetDistances() []*Sibling

func (*Cell) GetId added in v0.43.0

func (m *Cell) GetId() uint32

func (*Cell) GetMemory added in v0.43.0

func (m *Cell) GetMemory() *Memory

func (*Cell) GetPages added in v0.43.0

func (m *Cell) GetPages() []*Pages

func (*Cell) ProtoMessage added in v0.43.0

func (*Cell) ProtoMessage()

func (*Cell) Reset added in v0.43.0

func (m *Cell) Reset()

func (*Cell) String added in v0.43.0

func (m *Cell) 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 *VMIRequest, opts ...grpc.CallOption) (*Response, error)
	UnfreezeVirtualMachine(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)
	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)
}

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, *VMIRequest) (*Response, error)
	UnfreezeVirtualMachine(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)
	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)
}

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

func (*Memory) GetAmount added in v0.43.0

func (m *Memory) GetAmount() uint64

func (*Memory) GetUnit added in v0.43.0

func (m *Memory) GetUnit() string

func (*Memory) ProtoMessage added in v0.43.0

func (*Memory) ProtoMessage()

func (*Memory) Reset added in v0.43.0

func (m *Memory) Reset()

func (*Memory) String added in v0.43.0

func (m *Memory) 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 *VMIRequest, 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) GetUsers added in v0.43.0

func (*MockCmdClient) GuestPing added in v0.44.1

func (_m *MockCmdClient) GuestPing(ctx context.Context, in *GuestPingRequest, opts ...grpc.CallOption) (*GuestPingResponse, 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) 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) 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)

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 *VMIRequest) (*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) 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) 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) 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) 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)

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

func (*Pages) GetCount added in v0.43.0

func (m *Pages) GetCount() uint64

func (*Pages) GetSize added in v0.43.0

func (m *Pages) GetSize() uint32

func (*Pages) GetUnit added in v0.43.0

func (m *Pages) GetUnit() string

func (*Pages) ProtoMessage added in v0.43.0

func (*Pages) ProtoMessage()

func (*Pages) Reset added in v0.43.0

func (m *Pages) Reset()

func (*Pages) String added in v0.43.0

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

func (*Response) GetMessage

func (m *Response) GetMessage() string

func (*Response) GetSuccess

func (m *Response) GetSuccess() bool

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

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

func (*SMBios) GetFamily added in v0.21.0

func (m *SMBios) GetFamily() string

func (*SMBios) GetManufacturer added in v0.21.0

func (m *SMBios) GetManufacturer() string

func (*SMBios) GetProduct added in v0.21.0

func (m *SMBios) GetProduct() string

func (*SMBios) GetSku added in v0.21.0

func (m *SMBios) GetSku() string

func (*SMBios) GetVersion added in v0.21.0

func (m *SMBios) GetVersion() string

func (*SMBios) ProtoMessage added in v0.21.0

func (*SMBios) ProtoMessage()

func (*SMBios) Reset added in v0.21.0

func (m *SMBios) Reset()

func (*SMBios) String added in v0.21.0

func (m *SMBios) String() string

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

func (*Sibling) GetId added in v0.43.0

func (m *Sibling) GetId() uint32

func (*Sibling) GetValue added in v0.43.0

func (m *Sibling) GetValue() uint64

func (*Sibling) ProtoMessage added in v0.43.0

func (*Sibling) ProtoMessage()

func (*Sibling) Reset added in v0.43.0

func (m *Sibling) Reset()

func (*Sibling) String added in v0.43.0

func (m *Sibling) String() string

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

func (*Topology) GetNumaCells added in v0.43.0

func (m *Topology) GetNumaCells() []*Cell

func (*Topology) ProtoMessage added in v0.43.0

func (*Topology) ProtoMessage()

func (*Topology) Reset added in v0.43.0

func (m *Topology) Reset()

func (*Topology) String added in v0.43.0

func (m *Topology) String() string

type VMI

type VMI struct {
	VmiJson []byte `protobuf:"bytes,1,opt,name=vmiJson,proto3" json:"vmiJson,omitempty"`
}

func (*VMI) Descriptor

func (*VMI) Descriptor() ([]byte, []int)

func (*VMI) GetVmiJson

func (m *VMI) GetVmiJson() []byte

func (*VMI) ProtoMessage

func (*VMI) ProtoMessage()

func (*VMI) Reset

func (m *VMI) Reset()

func (*VMI) String

func (m *VMI) String() string

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"`
}

func (*VirtualMachineOptions) Descriptor added in v0.21.0

func (*VirtualMachineOptions) Descriptor() ([]byte, []int)

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

Jump to

Keyboard shortcuts

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