package common
import "github.com/rootless-containers/rootlesskit/pkg/common"
Index ¶
- func Execs(o io.Writer, env []string, cmds [][]string) error
- func GetExecExitStatus(err error) (int, bool)
- func Seq(fns []func() error) func() error
- type Message
- type NetworkMessage
- type PortMessage
Functions ¶
func Execs ¶
func GetExecExitStatus ¶
func Seq ¶
Types ¶
type Message ¶
type Message struct { // StateDir cannot be empty StateDir string Network NetworkMessage Port PortMessage }
Message is sent from the parent to the child as JSON, with uint32le length header.
type NetworkMessage ¶
type NetworkMessage struct { IP string Netmask int Gateway string DNS string MTU int // Opaque strings are specific to driver Opaque map[string]string }
NetworkMessage is empty for HostNetwork.
type PortMessage ¶
Source Files ¶
- Version
- v0.3.0
- Published
- Apr 3, 2019
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 1 hour ago –
Tools for package owners.