mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			912 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			912 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build !linux
 | |
| 
 | |
| package libpod
 | |
| 
 | |
| import "github.com/containers/podman/v2/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
 | |
| // descriptors of ps (1) plus some additional ones to for instance inspect the
 | |
| // set of effective capabilities.  Each 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, define.ErrNotImplemented
 | |
| }
 | 
