init

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootConfig

type BootConfig struct {
	Mounts     []MountInfo   `json:"mounts"`
	CmdPreRun  [][]string    `json:"cmd_pre_run,omitempty"`
	Cmd        [][]string    `json:"cmd,omitempty"`
	Debug      bool          `json:"debug,omitempty"`
	DebugInit  bool          `json:"debug_init,omitempty"`
	Container  ContainerInfo `json:"container"`
	PostMounts []MountInfo   `json:"post_mounts"`
}

type ContainerInfo

type ContainerInfo struct {
	BundlePath        string `json:"bundle_path"`
	ImageConfigPath   string `json:"image_config_path"`
	ImageRootfsPath   string `json:"image_rootfs_path"`
	RuntimeConfigPath string `json:"runtime_config_path"`
	ExternalBundle    bool   `json:"external_bundle"`
}

type DirInfo

type DirInfo struct {
	Path string `json:"path"`
	Mode uint32 `json:"mode"`
}

type FileInfo

type FileInfo struct {
	Path     string `json:"path"`
	Mode     uint32 `json:"mode"`
	Contents string `json:"contents,omitempty"`
}

type MountInfo

type MountInfo struct {
	FSType   string     `json:"fstype,omitempty"`
	Src      string     `json:"src"`
	Dst      string     `json:"dst"`
	Flags    uintptr    `json:"flags,omitempty"`
	Data     string     `json:"data,omitempty"`
	Dir      []DirInfo  `json:"dir,omitempty"`
	File     []FileInfo `json:"file,omitempty"`
	PostDir  []DirInfo  `json:"post_dir,omitempty"`
	PostFile []FileInfo `json:"post_file,omitempty"`
	Cmd      []string   `json:"cmd,omitempty"`
	Async    bool       `json:"async,omitempty"`
	Optional bool       `json:"optional,omitempty"`
}

Jump to

Keyboard shortcuts

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