cmdutil

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CMDMain

func CMDMain()

func GetDockerFullId

func GetDockerFullId() string

Get docker full id from /proc/self/cgroup

func GetLinuxProductUUID added in v0.0.21

func GetLinuxProductUUID() string

func GetPHPInfo

func GetPHPInfo() map[string]string

func GetPHPModuleInfo

func GetPHPModuleInfo() map[string]string

func GetPstackInfo

func GetPstackInfo(pid int32) map[int64]string

func Pipeline

func Pipeline(cmds ...*exec.Cmd) (pipeLineOutput, collectedStandardError []byte, pipeLineError error)

Pipeline strings together the given exec.Cmd commands in a similar fashion to the Unix pipeline. Each command's standard output is connected to the standard input of the next command, and the output of the final command in the pipeline is returned, along with the collected standard error of all commands and the first error found (if any).

To provide input to the pipeline, assign an io.Reader to the first's Stdin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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