v1alpha2

package
v1.4.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Overview

Package v1alpha2 is a generated protocol buffer package.

It is generated from these files:

api_v1alpha2.proto

It has these top-level messages:

OnDefineDomainParams
OnDefineDomainResult
PreCloudInitIsoParams
PreCloudInitIsoResult

Index

Constants

View Source
const Version = "v1alpha2"

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)
	PreCloudInitIso(ctx context.Context, in *PreCloudInitIsoParams, opts ...grpc.CallOption) (*PreCloudInitIsoResult, error)
}

func NewCallbacksClient

func NewCallbacksClient(cc *grpc.ClientConn) CallbacksClient

type CallbacksServer

type CallbacksServer interface {
	OnDefineDomain(context.Context, *OnDefineDomainParams) (*OnDefineDomainResult, error)
	PreCloudInitIso(context.Context, *PreCloudInitIsoParams) (*PreCloudInitIsoResult, 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

type PreCloudInitIsoParams

type PreCloudInitIsoParams struct {
	// cloudInitNoCloudSource is an object of CloudInitNoCloudSource encoded as JSON
	// This is a legacy field to ensure backwards compatibility. New code should use cloudInitData instead.
	CloudInitNoCloudSource []byte `protobuf:"bytes,1,opt,name=cloudInitNoCloudSource,proto3" json:"cloudInitNoCloudSource,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"`
	// cloudInitData is an object of CloudInitData encoded as JSON
	CloudInitData []byte `protobuf:"bytes,3,opt,name=cloudInitData,proto3" json:"cloudInitData,omitempty"`
}

func (*PreCloudInitIsoParams) Descriptor

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

func (*PreCloudInitIsoParams) GetCloudInitData

func (m *PreCloudInitIsoParams) GetCloudInitData() []byte

func (*PreCloudInitIsoParams) GetCloudInitNoCloudSource added in v0.19.0

func (m *PreCloudInitIsoParams) GetCloudInitNoCloudSource() []byte

func (*PreCloudInitIsoParams) GetVmi

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

func (*PreCloudInitIsoParams) ProtoMessage

func (*PreCloudInitIsoParams) ProtoMessage()

func (*PreCloudInitIsoParams) Reset

func (m *PreCloudInitIsoParams) Reset()

func (*PreCloudInitIsoParams) String

func (m *PreCloudInitIsoParams) String() string

type PreCloudInitIsoResult

type PreCloudInitIsoResult struct {
	// cloudInitNoCloudSource is an object of CloudInitNoCloudSource encoded as JSON
	// This is a legacy field to ensure backwards compatibility. New code should use cloudInitData instead.
	CloudInitNoCloudSource []byte `protobuf:"bytes,1,opt,name=cloudInitNoCloudSource,proto3" json:"cloudInitNoCloudSource,omitempty"`
	// cloudInitData is an object of CloudInitData encoded as JSON
	CloudInitData []byte `protobuf:"bytes,3,opt,name=cloudInitData,proto3" json:"cloudInitData,omitempty"`
}

func (*PreCloudInitIsoResult) Descriptor

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

func (*PreCloudInitIsoResult) GetCloudInitData

func (m *PreCloudInitIsoResult) GetCloudInitData() []byte

func (*PreCloudInitIsoResult) GetCloudInitNoCloudSource added in v0.19.0

func (m *PreCloudInitIsoResult) GetCloudInitNoCloudSource() []byte

func (*PreCloudInitIsoResult) ProtoMessage

func (*PreCloudInitIsoResult) ProtoMessage()

func (*PreCloudInitIsoResult) Reset

func (m *PreCloudInitIsoResult) Reset()

func (*PreCloudInitIsoResult) String

func (m *PreCloudInitIsoResult) String() string

Jump to

Keyboard shortcuts

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