Add a stub for libpod.Container.Top

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač
2020-03-20 23:59:05 +01:00
parent bdfe8e699e
commit c6277e7433

View File

@ -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