cidata

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteTemplate

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

func GenerateISO9660

func GenerateISO9660(instDir, name string, y *yaml.MacVZYaml) error

func GuestAgentBinary

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

func ValidateTemplateArgs

func ValidateTemplateArgs(args TemplateArgs) error

Types

type Network

type Network struct {
	MACAddress string
	Interface  string
}

type TemplateArgs

type TemplateArgs struct {
	Name            string // instance name
	IID             string // instance id
	User            string // user name
	UID             int
	SSHPubKeys      []string
	UDPDNSLocalPort int
	TCPDNSLocalPort int
	Env             map[string]string
}

Jump to

Keyboard shortcuts

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