diff options
Diffstat (limited to 'libpod/container_top_unsupported.go')
-rw-r--r-- | libpod/container_top_unsupported.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libpod/container_top_unsupported.go b/libpod/container_top_unsupported.go new file mode 100644 index 000000000..1e6fb836d --- /dev/null +++ b/libpod/container_top_unsupported.go @@ -0,0 +1,21 @@ +// +build !linux + +package libpod + +// 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 +// descriptors of ps (1) plus some additional ones to for instance inspect the +// set of effective capabilities. Eeach element in the returned string slice +// is a tab-separated string. +// +// For more details, please refer to github.com/containers/psgo. +func (c *Container) GetContainerPidInformation(descriptors []string) ([]string, error) { + return nil, ErrNotImplemented +} + +// GetContainerPidInformationDescriptors returns a string slice of all supported +// format descriptors of GetContainerPidInformation. +func GetContainerPidInformationDescriptors() ([]string, error) { + return nil, ErrNotImplemented +} |