| 1 | Source: golang-github-containers-psgo |
| 2 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 | Uploaders: |
| 4 | Dmitry Smirnov <[email protected]>, |
| 5 | Section: golang |
| 6 | Testsuite: autopkgtest-pkg-go |
| 7 | Priority: optional |
| 8 | Build-Depends: |
| 9 | debhelper-compat (= 12), |
| 10 | dh-golang, |
| 11 | Build-Depends-Indep: |
| 12 | golang-any, |
| 13 | golang-github-containers-storage-dev (>> 1.61), |
| 14 | golang-github-opencontainers-runc-dev, |
| 15 | golang-github-pkg-errors-dev, |
| 16 | golang-github-sirupsen-logrus-dev, |
| 17 | golang-github-stretchr-testify-dev, |
| 18 | golang-golang-x-sys-dev, |
| 19 | Standards-Version: 4.7.2 |
| 20 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-containers-psgo |
| 21 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-containers-psgo.git |
| 22 | Homepage: https://github.com/containers/psgo |
| 23 | Rules-Requires-Root: no |
| 24 | XS-Go-Import-Path: github.com/containers/psgo |
| 25 | |
| 26 | Package: golang-github-containers-psgo-dev |
| 27 | Architecture: all |
| 28 | Depends: |
| 29 | golang-github-containers-storage-dev (>> 1.61), |
| 30 | golang-github-opencontainers-runc-dev, |
| 31 | golang-github-pkg-errors-dev, |
| 32 | golang-github-sirupsen-logrus-dev, |
| 33 | golang-github-stretchr-testify-dev, |
| 34 | golang-golang-x-sys-dev, |
| 35 | ${misc:Depends}, |
| 36 | Description: ps(1) AIX-format compatible Golang library |
| 37 | Psgo is a ps(1) AIX-format compatible golang library extended with various |
| 38 | descriptors useful for displaying container-related data. |
| 39 | . |
| 40 | The idea behind the library is to provide an easy to use way of extracting |
| 41 | process-related data, just as ps(1) does. The problem when using ps(1) is that |
| 42 | the ps format strings split columns with whitespaces, making the output nearly |
| 43 | impossible to parse. Using fork and execute ps also adds some jitter, either |
| 44 | in the container or filter the output afterwards, further limiting |
| 45 | applicability. |
| 46 | . |
| 47 | This library aims to make things a bit more comfortable, especially for |
| 48 | container runtimes, as the API allows one to join the mount namespace of a |
| 49 | given process and will parse /proc and /dev/ from there. |