Documentation ¶
Index ¶
- Constants
- Variables
- func ExecuteTemplate(args TemplateArgs) ([]iso9660util.Entry, error)
- func GenerateISO9660(instDir, name string, y *limayaml.LimaYAML) error
- func GuestAgentBinary(arch string) (io.ReadCloser, error)
- func ValidateTemplateArgs(args TemplateArgs) error
- type Containerd
- type Network
- type TemplateArgs
Constants ¶
View Source
const (
NerdctlVersion = "0.11.2"
)
Variables ¶
Functions ¶
func ExecuteTemplate ¶
func ExecuteTemplate(args TemplateArgs) ([]iso9660util.Entry, error)
func GuestAgentBinary ¶
func GuestAgentBinary(arch string) (io.ReadCloser, error)
func ValidateTemplateArgs ¶
func ValidateTemplateArgs(args TemplateArgs) error
Types ¶
type Containerd ¶
type TemplateArgs ¶
type TemplateArgs struct { Name string // instance name User string // user name UID int SSHPubKeys []string Mounts []string // abs path, accessible by the User Containerd Containerd Networks []Network SlirpNICName string SlirpGateway string SlirpDNS string Env map[string]*string DNSAddresses []string }
Click to show internal directories.
Click to hide internal directories.