init

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: Apache-2.0 Imports: 0 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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