containers

package
v0.0.0-...-a152fe2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Minijail

type Minijail struct {
	Ctx        context.Context
	Path       string
	ConfigPath string
}

func NewMinijail

func NewMinijail(ctx context.Context, configPath string) Minijail

func (Minijail) ExecConfined

func (mn Minijail) ExecConfined(dir string, commands []string) model.SandboxExecResult

func (Minijail) ExecConfinedWithStdin

func (mn Minijail) ExecConfinedWithStdin(dir string, commands []string, stdin io.Reader) model.SandboxExecResult

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳