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 SMBios VirtualMachineOptions VMIRequest MigrationRequest EmptyRequest Response DomainResponse DomainStatsResponse GuestInfoResponse GuestUserListResponse GuestFilesystemsResponse * 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 CmdClient
- type CmdServer
- type DomainResponse
- type DomainStatsResponse
- type EmptyRequest
- 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 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 MigrationRequest
- type Response
- 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 VMI
- type VMIRequest
- type VirtualMachineOptions
Constants ¶
View Source
const CmdVersion = 1
Variables ¶
This section is empty.
Functions ¶
func RegisterCmdServer ¶
Types ¶
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) 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) 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) }
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) 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) 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) }
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 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 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 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 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 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 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"`
}
func (*VirtualMachineOptions) Descriptor ¶ added in v0.21.0
func (*VirtualMachineOptions) Descriptor() ([]byte, []int)
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.