v1alpha1

package
v0.59.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Overview

Package v1alpha1 is a generated protocol buffer package.

It is generated from these files:

api_v1alpha1.proto

It has these top-level messages:

OnDefineDomainParams
OnDefineDomainResult

Index

Constants

View Source
const Version = "v1alpha1"

Variables

This section is empty.

Functions

func RegisterCallbacksServer

func RegisterCallbacksServer(s *grpc.Server, srv CallbacksServer)

Types

type CallbacksClient

type CallbacksClient interface {
	OnDefineDomain(ctx context.Context, in *OnDefineDomainParams, opts ...grpc.CallOption) (*OnDefineDomainResult, error)
}

func NewCallbacksClient

func NewCallbacksClient(cc *grpc.ClientConn) CallbacksClient

type CallbacksServer

type CallbacksServer interface {
	OnDefineDomain(context.Context, *OnDefineDomainParams) (*OnDefineDomainResult, error)
}

type OnDefineDomainParams

type OnDefineDomainParams struct {
	// domainXML is original libvirt domain specification
	DomainXML []byte `protobuf:"bytes,1,opt,name=domainXML,proto3" json:"domainXML,omitempty"`
	// vmi is VirtualMachineInstance is object of virtual machine currently processed by virt-launcher, it is encoded as JSON
	Vmi []byte `protobuf:"bytes,2,opt,name=vmi,proto3" json:"vmi,omitempty"`
}

func (*OnDefineDomainParams) Descriptor

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

func (*OnDefineDomainParams) GetDomainXML

func (m *OnDefineDomainParams) GetDomainXML() []byte

func (*OnDefineDomainParams) GetVmi

func (m *OnDefineDomainParams) GetVmi() []byte

func (*OnDefineDomainParams) ProtoMessage

func (*OnDefineDomainParams) ProtoMessage()

func (*OnDefineDomainParams) Reset

func (m *OnDefineDomainParams) Reset()

func (*OnDefineDomainParams) String

func (m *OnDefineDomainParams) String() string

type OnDefineDomainResult

type OnDefineDomainResult struct {
	// domainXML is processed libvirt domain specification
	DomainXML []byte `protobuf:"bytes,1,opt,name=domainXML,proto3" json:"domainXML,omitempty"`
}

func (*OnDefineDomainResult) Descriptor

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

func (*OnDefineDomainResult) GetDomainXML

func (m *OnDefineDomainResult) GetDomainXML() []byte

func (*OnDefineDomainResult) ProtoMessage

func (*OnDefineDomainResult) ProtoMessage()

func (*OnDefineDomainResult) Reset

func (m *OnDefineDomainResult) Reset()

func (*OnDefineDomainResult) String

func (m *OnDefineDomainResult) String() string

Jump to

Keyboard shortcuts

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