daemon

package
v0.0.0-...-8d9c0eb Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Called by nsboxd to directly start an nspawn container, while also starting a varlink service responsible for letting the container talk to the host for various reasons.

Run a container indirectly, by starting a transient systemd service that runs nsboxd.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MkdirAllOwnedByUser

func MkdirAllOwnedByUser(path string, uid int, gid int, perm os.FileMode) error

func RunContainerDirectNspawn

func RunContainerDirectNspawn(ct *container.Container, usrdata *userdata.Userdata) error

func RunContainerViaTransientUnit

func RunContainerViaTransientUnit(ct *container.Container, restart bool, usrdata *userdata.Userdata) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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