cidata

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: Apache-2.0 Imports: 23 Imported by: 3

Documentation

Index

Constants

View Source
const (
	NerdctlVersion = "0.11.0"
)

Variables

View Source
var (
	NerdctlFullDigests = map[limayaml.Arch]digest.Digest{
		limayaml.X8664:   "sha256:a491a3129beddf2feb41a8ea9dcd0d3e4c9cb36c3a21046675e425f4b3daa5a9",
		limayaml.AARCH64: "sha256:865d8648e2378e10dc2311f5a373fd0b85cbb6c03d2adafb1ca752d0e1267649",
	}
)

Functions

func ExecuteTemplate

func ExecuteTemplate(args TemplateArgs) ([]iso9660util.Entry, error)

func GenerateISO9660

func GenerateISO9660(instDir, name string, y *limayaml.LimaYAML) error

func GuestAgentBinary

func GuestAgentBinary(arch string) (io.ReadCloser, error)

func ValidateTemplateArgs

func ValidateTemplateArgs(args TemplateArgs) error

Types

type Containerd

type Containerd struct {
	System bool
	User   bool
}

type Network

type Network struct {
	MACAddress string
	Name       string
}

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
	SlirpGateway string
}

Jump to

Keyboard shortcuts

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