initp

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Entrypoint

func Entrypoint(process *specs.Process) (bin string, args, env []string, err error)

func Init

func Init(stateDir string, spec specs.Spec) (err error)

Types

type Process

type Process struct {
	// contains filtered or unexported fields
}

func NewInitProcess

func NewInitProcess(rootfs, stateDir string, spec *specs.Spec) *Process

func (*Process) Start

func (i *Process) Start() (pid int, err error)

type ProcessSpec

type ProcessSpec = specs.Process

Jump to

Keyboard shortcuts

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