p2exec

package
v0.0.0-...-8223eb1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultP2Exec = "/usr/local/bin/p2-exec"

DefaultP2Exec is the path to the default p2-exec binary. Specified as a var so you can override at build time.

Functions

This section is empty.

Types

type P2ExecArgs

type P2ExecArgs struct {
	User             string
	EnvDirs          []string
	ExtraEnv         map[string]string
	NoLimits         bool
	PodID            *types.PodID
	CgroupName       string
	CgroupConfigName string
	Command          []string
	WorkDir          string
	RequireFile      string
	ClearEnv         bool
}

Struct that can be used to build an invocation of p2-exec with any applicable flags

func (P2ExecArgs) CommandLine

func (args P2ExecArgs) CommandLine() []string

Jump to

Keyboard shortcuts

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