Documentation
¶
Index ¶
- Constants
- Variables
- func BuildImage(ctx context.Context, snapshot, arch, dst, cgroup string) (installed []string, release string, err error)
- func CheckCommandName(name string) error
- func Guest(args []string) (code int, ok bool)
- type Bubblewrap
- type BuildError
- type Command
- type Host
- type None
- type Result
- type Runtime
Constants ¶
View Source
const Curl = "curl"
View Source
const Snapshot = "20261031T000000Z"
Snapshot is the Ubuntu archive moment every package of the guest image comes from.
Variables ¶
View Source
var ErrPreparing = errors.New("the first start builds the sandbox's Ubuntu image, which takes a minute or two; commands wait for it")
Functions ¶
func BuildImage ¶
func CheckCommandName ¶
Types ¶
type Bubblewrap ¶ added in v0.2.31
type Bubblewrap struct{}
type BuildError ¶
func (*BuildError) Error ¶
func (e *BuildError) Error() string
func (*BuildError) Unwrap ¶
func (e *BuildError) Unwrap() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.