Documentation
¶
Index ¶
- func ExecuteTemplate(args TemplateArgs) ([]iso9660util.Entry, error)
- func GenerateISO9660(instDir, name string, y *limayaml.LimaYAML, ...) error
- func GuestAgentBinary(ostype limayaml.OS, arch limayaml.Arch) (io.ReadCloser, error)
- func ValidateTemplateArgs(args TemplateArgs) error
- type BootCmds
- type CACerts
- type Cert
- type Containerd
- type Disk
- type Mount
- type Network
- type TemplateArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteTemplate ¶
func ExecuteTemplate(args TemplateArgs) ([]iso9660util.Entry, error)
func GenerateISO9660 ¶
func GuestAgentBinary ¶
func ValidateTemplateArgs ¶
func ValidateTemplateArgs(args TemplateArgs) error
Types ¶
type Containerd ¶
type TemplateArgs ¶
type TemplateArgs struct {
Name string // instance name
IID string // instance id
User string // user name
UID int
SSHPubKeys []string
Mounts []Mount
MountType string
Disks []Disk
GuestInstallPrefix string
Containerd Containerd
Networks []Network
SlirpNICName string
SlirpGateway string
SlirpDNS string
SlirpIPAddress string
UDPDNSLocalPort int
TCPDNSLocalPort int
Env map[string]string
DNSAddresses []string
CACerts CACerts
HostHomeMountPoint string
BootCmds []BootCmds
RosettaEnabled bool
RosettaBinFmt bool
SkipDefaultDependencyResolution bool
}
Click to show internal directories.
Click to hide internal directories.