Documentation
¶
Index ¶
- func ExecuteTemplateCIDataISO(args *TemplateArgs) ([]iso9660util.Entry, error)
- func ExecuteTemplateCloudConfig(args *TemplateArgs) ([]byte, error)
- func GenerateCloudConfig(instDir, name string, instConfig *limayaml.LimaYAML) error
- func GenerateISO9660(instDir, name string, instConfig *limayaml.LimaYAML, ...) error
- func ValidateTemplateArgs(args *TemplateArgs) error
- type BootCmds
- type CACerts
- type Cert
- type Containerd
- type DataFile
- type Disk
- type Mount
- type Network
- type TemplateArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteTemplateCIDataISO ¶ added in v1.0.0
func ExecuteTemplateCIDataISO(args *TemplateArgs) ([]iso9660util.Entry, error)
func ExecuteTemplateCloudConfig ¶ added in v1.0.0
func ExecuteTemplateCloudConfig(args *TemplateArgs) ([]byte, error)
func GenerateCloudConfig ¶ added in v1.0.0
func GenerateISO9660 ¶
func ValidateTemplateArgs ¶
func ValidateTemplateArgs(args *TemplateArgs) error
Types ¶
type Containerd ¶
type TemplateArgs ¶
type TemplateArgs struct {
Debug bool
Name string // instance name
Hostname string // instance hostname
IID string // instance id
User string // user name
Comment string // user information
Home string // home directory
Shell string // login shell
UID uint32
SSHPubKeys []string
Mounts []Mount
MountType string
Disks []Disk
GuestInstallPrefix string
UpgradePackages bool
Containerd Containerd
Networks []Network
SlirpNICName string
SlirpGateway string
SlirpDNS string
SlirpIPAddress string
UDPDNSLocalPort int
TCPDNSLocalPort int
Env map[string]string
Param map[string]string
BootScripts bool
DataFiles []DataFile
DNSAddresses []string
CACerts CACerts
HostHomeMountPoint string
BootCmds []BootCmds
RosettaEnabled bool
RosettaBinFmt bool
SkipDefaultDependencyResolution bool
VMType string
VSockPort int
VirtioPort string
Plain bool
TimeZone string
}
Click to show internal directories.
Click to hide internal directories.