diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-17 14:02:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 14:02:00 +0000 |
commit | c2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0 (patch) | |
tree | 9ab74df204c01b0989a863bac646c3a902080631 /libpod/container_top_unsupported.go | |
parent | c90eec2700d2e00a4b8f1e06ca640c034af5a530 (diff) | |
parent | 1572420c3fbf8a8022faaa93848a7239037a77e4 (diff) | |
download | podman-c2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0.tar.gz podman-c2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0.tar.bz2 podman-c2f9ab1a1ae3adf0afb80faebead8fcc7a5b53d0.zip |
Merge pull request #15357 from dfr/freebsd-build
Add non-linux build stubs for libpod
Diffstat (limited to 'libpod/container_top_unsupported.go')
-rw-r--r-- | libpod/container_top_unsupported.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libpod/container_top_unsupported.go b/libpod/container_top_unsupported.go new file mode 100644 index 000000000..a8d9b970b --- /dev/null +++ b/libpod/container_top_unsupported.go @@ -0,0 +1,14 @@ +//go:build !linux +// +build !linux + +package libpod + +import ( + "errors" +) + +// Top gathers statistics about the running processes in a container. It returns a +// []string for output +func (c *Container) Top(descriptors []string) ([]string, error) { + return nil, errors.New("not implemented (*Container) Top") +} |