mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-22 08:44:25 +01:00
runtime: delete types or const that no longer needed
type: ProcessListOptions; ProcessList const: SocketTypeVSOCK Fixes: #2285 Signed-off-by: Binbin Zhang <binbin36520@gmail.com>
This commit is contained in:
@@ -680,7 +680,6 @@ to manage the container lifecycle through the rest of the
|
||||
* [Container `DeviceInfo`](#container-deviceinfo)
|
||||
* [`Process`](#process)
|
||||
* [`ContainerStatus`](#containerstatus)
|
||||
* [`ProcessListOptions`](#processlistoptions)
|
||||
* [`VCContainer`](#vccontainer)
|
||||
|
||||
|
||||
@@ -873,22 +872,6 @@ type ContainerStatus struct {
|
||||
}
|
||||
```
|
||||
|
||||
#### `ProcessListOptions`
|
||||
```Go
|
||||
// ProcessListOptions contains the options used to list running
|
||||
// processes inside the container
|
||||
type ProcessListOptions struct {
|
||||
// Format describes the output format to list the running processes.
|
||||
// Formats are unrelated to ps(1) formats, only two formats can be specified:
|
||||
// "json" and "table"
|
||||
Format string
|
||||
|
||||
// Args contains the list of arguments to run ps(1) command.
|
||||
// If Args is empty the agent will use "-ef" as options to ps(1).
|
||||
Args []string
|
||||
}
|
||||
```
|
||||
|
||||
#### `VCContainer`
|
||||
```Go
|
||||
// VCContainer is the Container interface
|
||||
|
||||
Reference in New Issue
Block a user