Documentation
¶
Overview ¶
Package v1alpha1 is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
OnDefineDomainParams OnDefineDomainResult
Index ¶
Constants ¶
View Source
const Version = "v1alpha"
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
Click to show internal directories.
Click to hide internal directories.