mirror of
https://github.com/opencontainers/runc.git
synced 2025-04-18 19:44:09 +03:00
The libcontainer network statistics are unreachable without manually creating a libcontainer instance. To retrieve them via the CLI interface of runc, we now expose them as well. Signed-off-by: Sascha Grunert <sgrunert@suse.com>
14 lines
309 B
Go
14 lines
309 B
Go
package libcontainer
|
|
|
|
import (
|
|
"github.com/opencontainers/runc/libcontainer/cgroups"
|
|
"github.com/opencontainers/runc/libcontainer/intelrdt"
|
|
"github.com/opencontainers/runc/types"
|
|
)
|
|
|
|
type Stats struct {
|
|
Interfaces []*types.NetworkInterface
|
|
CgroupStats *cgroups.Stats
|
|
IntelRdtStats *intelrdt.Stats
|
|
}
|