exec_utils

package
v0.0.0-...-4f4fead Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCmd

func ExecCmd(cmd []string, config ExecCmdConfig, cli *client.Client, containerID string) (stdout cappedbuffer.CappedBuffer, stderr cappedbuffer.CappedBuffer, err error)

ExecCmd execute a command in an executor

Types

type ExecCmdConfig

type ExecCmdConfig struct {
	*types.ExecConfig
	StdOutSizeLimit int
	StdErrSizeLimit int
}

Jump to

Keyboard shortcuts

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