sysboxMgrLib

package
v0.0.0-...-f05151f Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerConfig

type ContainerConfig struct {
	AliasDns                bool
	ShiftfsOk               bool
	ShiftfsOnOverlayfsOk    bool
	NoShiftfsOnFuse         bool
	IDMapMountOk            bool
	OverlayfsOnIDMapMountOk bool
	NoRootfsCloning         bool
	IgnoreSysfsChown        bool
	AllowTrustedXattr       bool
	HonorCaps               bool
	SyscontMode             bool
	Userns                  string
	UidMappings             []specs.LinuxIDMapping
	GidMappings             []specs.LinuxIDMapping
	FsuidMapFailOnErr       bool
	RootfsUidShiftType      idShiftUtils.IDShiftType
	RelaxedReadOnly         bool
}

Sysbox-mgr mandated container configs (passed from sysbox-mgr -> sysbox-runc)

type MntKind

type MntKind int
const (
	MntVarLibDocker MntKind = iota
	MntVarLibKubelet
	MntVarLibK0s
	MntVarLibRancherK3s
	MntVarLibRancherRke2
	MntVarLibBuildkit
	MntVarLibContainerdOvfs
	MntUsrSrcLinuxHdr
)

func (MntKind) String

func (k MntKind) String() string

type MountPrepInfo

type MountPrepInfo struct {
	Source    string
	Exclusive bool
}

type MountReqInfo

type MountReqInfo struct {
	Kind MntKind
	Dest string
}

type RegistrationInfo

type RegistrationInfo struct {
	Id          string
	Rootfs      string
	Userns      string
	Netns       string
	UidMappings []specs.LinuxIDMapping
	GidMappings []specs.LinuxIDMapping
}

Sysbox-mgr container registration info

type UpdateInfo

type UpdateInfo struct {
	Id                 string
	Userns             string
	Netns              string
	UidMappings        []specs.LinuxIDMapping
	GidMappings        []specs.LinuxIDMapping
	RootfsUidShiftType idShiftUtils.IDShiftType
}

Sysbox-mgr container update info

Jump to

Keyboard shortcuts

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