mirror of
https://github.com/containers/podman.git
synced 2026-07-12 00:05:01 -04:00
Require (linux || freebsd), because the code already does that, in practice. This just means macOS users of IDEs aren't hit with thousands of compilation errors (and then the IDE can open an Linux-specific file and then process it under the Linux assumption, which works much better). This commit contains the parts that differ somehow. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
14 lines
309 B
Go
14 lines
309 B
Go
//go:build !remote && linux && !cgo
|
|
|
|
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")
|
|
}
|