Documentation ¶
Index ¶
- Constants
- func GetConsolePath(domainName string) string
- func GetDefaultDomainXLS(...interface{}) string
- func GetDefaultNetworkXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
- func GetDefaultPoolXML(args map[string]pulumi.StringInput, _ string) pulumi.StringOutput
- func GetDefaultVolumeXML(args *RecipeLibvirtVolumeArgs, recipe string) pulumi.StringOutput
- func GetLocalArchRecipe(recipe string) string
- type AMD64ResourceCollection
- func (a *AMD64ResourceCollection) GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *AMD64ResourceCollection) GetLibvirtDomainArgs(args *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
- func (a *AMD64ResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *AMD64ResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
- type ARM64ResourceCollection
- func (a *ARM64ResourceCollection) GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *ARM64ResourceCollection) GetLibvirtDomainArgs(args *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
- func (a *ARM64ResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *ARM64ResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
- type DefaultResourceCollection
- func (a *DefaultResourceCollection) GetDomainXLS(_ map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *DefaultResourceCollection) GetLibvirtDomainArgs(_ *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
- func (a *DefaultResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *DefaultResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
- type DiskTarget
- type DistroAMD64ResourceCollection
- func (a *DistroAMD64ResourceCollection) GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *DistroAMD64ResourceCollection) GetLibvirtDomainArgs(args *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
- func (a *DistroAMD64ResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *DistroAMD64ResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
- type DistroARM64ResourceCollection
- func (a *DistroARM64ResourceCollection) GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *DistroARM64ResourceCollection) GetLibvirtDomainArgs(args *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
- func (a *DistroARM64ResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
- func (a *DistroARM64ResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
- type DomainDisk
- type RecipeLibvirtDomainArgs
- type RecipeLibvirtVolumeArgs
- type ResourceCollection
Constants ¶
View Source
const ( DomainID = "domainID" MACAddress = "mac" DHCPEntries = "dhcpEntries" ImageName = "imageName" VolumeKey = "volumeKey" ImagePath = "imagePath" PoolName = "poolName" PoolPath = "poolPath" Nvram = "nvram" Efi = "efi" Format = "format" VCPU = "vcpu" CPUTune = "cputune" Hypervisor = "hypervisor" CommandLine = "commandLine" )
View Source
const ( RAMPool vmconfig.PoolType = "ram" DefaultPool vmconfig.PoolType = "default" )
Variables ¶
This section is empty.
Functions ¶
func GetConsolePath ¶
func GetDefaultDomainXLS ¶
func GetDefaultDomainXLS(...interface{}) string
func GetDefaultNetworkXLS ¶
func GetDefaultNetworkXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
func GetDefaultPoolXML ¶
func GetDefaultPoolXML(args map[string]pulumi.StringInput, _ string) pulumi.StringOutput
func GetDefaultVolumeXML ¶
func GetDefaultVolumeXML(args *RecipeLibvirtVolumeArgs, recipe string) pulumi.StringOutput
func GetLocalArchRecipe ¶
Types ¶
type AMD64ResourceCollection ¶
type AMD64ResourceCollection struct {
// contains filtered or unexported fields
}
func NewAMD64ResourceCollection ¶
func NewAMD64ResourceCollection(recipe string) *AMD64ResourceCollection
func (*AMD64ResourceCollection) GetDomainXLS ¶
func (a *AMD64ResourceCollection) GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*AMD64ResourceCollection) GetLibvirtDomainArgs ¶
func (a *AMD64ResourceCollection) GetLibvirtDomainArgs(args *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
func (*AMD64ResourceCollection) GetPoolXML ¶
func (a *AMD64ResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*AMD64ResourceCollection) GetVolumeXML ¶
func (a *AMD64ResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
type ARM64ResourceCollection ¶
type ARM64ResourceCollection struct {
// contains filtered or unexported fields
}
func NewARM64ResourceCollection ¶
func NewARM64ResourceCollection(recipe string) *ARM64ResourceCollection
func (*ARM64ResourceCollection) GetDomainXLS ¶
func (a *ARM64ResourceCollection) GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*ARM64ResourceCollection) GetLibvirtDomainArgs ¶
func (a *ARM64ResourceCollection) GetLibvirtDomainArgs(args *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
func (*ARM64ResourceCollection) GetPoolXML ¶
func (a *ARM64ResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*ARM64ResourceCollection) GetVolumeXML ¶
func (a *ARM64ResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
type DefaultResourceCollection ¶
type DefaultResourceCollection struct {
// contains filtered or unexported fields
}
func NewDefaultResourceCollection ¶
func NewDefaultResourceCollection(recipe string) *DefaultResourceCollection
func (*DefaultResourceCollection) GetDomainXLS ¶
func (a *DefaultResourceCollection) GetDomainXLS(_ map[string]pulumi.StringInput) pulumi.StringOutput
func (*DefaultResourceCollection) GetLibvirtDomainArgs ¶
func (a *DefaultResourceCollection) GetLibvirtDomainArgs(_ *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
func (*DefaultResourceCollection) GetPoolXML ¶
func (a *DefaultResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*DefaultResourceCollection) GetVolumeXML ¶
func (a *DefaultResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
type DiskTarget ¶
type DiskTarget string
type DistroAMD64ResourceCollection ¶
type DistroAMD64ResourceCollection struct {
// contains filtered or unexported fields
}
func NewDistroAMD64ResourceCollection ¶
func NewDistroAMD64ResourceCollection(recipe string) *DistroAMD64ResourceCollection
func (*DistroAMD64ResourceCollection) GetDomainXLS ¶
func (a *DistroAMD64ResourceCollection) GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*DistroAMD64ResourceCollection) GetLibvirtDomainArgs ¶
func (a *DistroAMD64ResourceCollection) GetLibvirtDomainArgs(args *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
func (*DistroAMD64ResourceCollection) GetPoolXML ¶
func (a *DistroAMD64ResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*DistroAMD64ResourceCollection) GetVolumeXML ¶
func (a *DistroAMD64ResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
type DistroARM64ResourceCollection ¶
type DistroARM64ResourceCollection struct {
// contains filtered or unexported fields
}
func NewDistroARM64ResourceCollection ¶
func NewDistroARM64ResourceCollection(recipe string) *DistroARM64ResourceCollection
func (*DistroARM64ResourceCollection) GetDomainXLS ¶
func (a *DistroARM64ResourceCollection) GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*DistroARM64ResourceCollection) GetLibvirtDomainArgs ¶
func (a *DistroARM64ResourceCollection) GetLibvirtDomainArgs(args *RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error)
func (*DistroARM64ResourceCollection) GetPoolXML ¶
func (a *DistroARM64ResourceCollection) GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput
func (*DistroARM64ResourceCollection) GetVolumeXML ¶
func (a *DistroARM64ResourceCollection) GetVolumeXML(args *RecipeLibvirtVolumeArgs) pulumi.StringOutput
type DomainDisk ¶
type DomainDisk struct { VolumeID pulumi.StringPtrInput Target string Mountpoint string }
type RecipeLibvirtDomainArgs ¶
type RecipeLibvirtDomainArgs struct { DomainName string Vcpu int Memory int Xls pulumi.StringOutput KernelPath string Disks []DomainDisk Resources ResourceCollection ExtraKernelParams map[string]string Machine string ConsoleType string Type string }
type RecipeLibvirtVolumeArgs ¶
type RecipeLibvirtVolumeArgs struct { PoolType vmconfig.PoolType XMLArgs map[string]pulumi.StringInput }
type ResourceCollection ¶
type ResourceCollection interface { GetDomainXLS(args map[string]pulumi.StringInput) pulumi.StringOutput GetVolumeXML(*RecipeLibvirtVolumeArgs) pulumi.StringOutput GetPoolXML(args map[string]pulumi.StringInput) pulumi.StringOutput GetLibvirtDomainArgs(*RecipeLibvirtDomainArgs) (*libvirt.DomainArgs, error) }
func NewResourceCollection ¶
func NewResourceCollection(recipe string) ResourceCollection
Click to show internal directories.
Click to hide internal directories.