package ps
import "github.com/docker/docker/api/client/ps"
Index ¶
Functions ¶
func Format ¶
Format helps to format the output using the parameters set in the Context. Currently Format allow to display in raw, table or custom format the output.
Types ¶
type Context ¶
type Context struct { // Output is the output stream to which the formatted string is written. Output io.Writer // Format is used to choose raw, table or custom format for the output. Format string // Size when set to true will display the size of the output. Size bool // Quiet when set to true will simply print minimal information. Quiet bool // Trunc when set to true will truncate the output of certain fields such as Container ID. Trunc bool }
Context contains information required by the formatter to print the output as desired.
Source Files ¶
- Version
- v1.9.0
- Published
- Nov 3, 2015
- Platform
- windows/amd64
- Imports
- 13 packages
- Last checked
- 38 minutes ago –
Tools for package owners.