exec

package
v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hook

func Hook(hook *specs.Hook, state *specs.State) error

Hook execute an OCI hook command and pass state over stdin.

func Pipe

func Pipe(command string, args []string, env []string, data []byte) error

Pipe execute a command with arguments and pass data over pipe

func PipeCommand

func PipeCommand(command string, args []string, env []string, data []byte) (*exec.Cmd, error)

PipeCommand creates an exec.Command struct which will execute the starter binary

func SetPipe

func SetPipe(data []byte) (string, error)

SetPipe sets the PIPE_EXEC_FD environment variable containing the JSON configuration data

Types

This section is empty.

Jump to

Keyboard shortcuts

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