cidata

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NerdctlVersion = "0.10.0"
)

Variables

View Source
var (
	NerdctlFullDigests = map[limayaml.Arch]digest.Digest{
		limayaml.X8664:   "sha256:5ba3d476707d510fe3ca3928e9cda5d0b4ce527d42b343404c92d563f82ba967",
		limayaml.AARCH64: "sha256:91eb715c5f734bd6d2ec6c198c103ed96ef25c80c95850ed5f4477d68f30dd62",
	}
)

Functions

func ExecuteTemplate added in v0.4.0

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

func GenerateISO9660

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

func GuestAgentBinary added in v0.1.1

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

func ValidateTemplateArgs

func ValidateTemplateArgs(args TemplateArgs) error

Types

type Containerd added in v0.2.0

type Containerd struct {
	System bool
	User   bool
}

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
}

Jump to

Keyboard shortcuts

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