mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00
Add a stub for libpod.Container.Top
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
@ -4,6 +4,12 @@ package libpod
|
||||
|
||||
import "github.com/containers/libpod/libpod/define"
|
||||
|
||||
// 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, define.ErrNotImplemented
|
||||
}
|
||||
|
||||
// GetContainerPidInformation returns process-related data of all processes in
|
||||
// the container. The output data can be controlled via the `descriptors`
|
||||
// argument which expects format descriptors and supports all AIXformat
|
||||
|
Reference in New Issue
Block a user