Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConnectionCmd skips creating engines (PersistentPreRunE/PersistentPostRunE are No-Op's) since // sub-commands will obtain connection information to said engines ConnectionCmd = &cobra.Command{ Use: "connection", Short: "Manage remote API service destinations", Long: `Manage remote API service destination information in podman configuration`, PersistentPreRunE: validate.NoOp, RunE: validate.SubCommandExists, PersistentPostRunE: validate.NoOp, TraverseChildren: false, } )
View Source
var ( // ContextCmd skips creating engines (PersistentPreRunE/PersistentPostRunE are No-Op's) since // sub-commands will obtain connection information to said engines ContextCmd = &cobra.Command{ Use: "context", Short: "Manage remote API service destinations", Long: `Manage remote API service destination information in podman configuration`, PersistentPreRunE: validate.NoOp, RunE: validate.SubCommandExists, PersistentPostRunE: validate.NoOp, Hidden: true, TraverseChildren: false, } )
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
// containerExitCode is for storing the exit code of a container which can
// be used for "internal" event notification
ContainerExitCode *int `json:",omitempty"`
// ID can be for the container, image, volume, etc
ID string `json:",omitempty"`
// Image used where applicable
Image string `json:",omitempty"`
// Name where applicable
Name string `json:",omitempty"`
// Network is the network name in a network event
Network string `json:"network,omitempty"`
// Status describes the event that occurred
Status events.Status
// Time the event occurred
Time int64 `json:"time,omitempty"`
// timeNano the event occurred in nanoseconds
TimeNano int64 `json:"timeNano,omitempty"`
// Type of event that occurred
Type events.Type
// Health status of the current container
HealthStatus string `json:"health_status,omitempty"`
// Error code for certain events involving errors.
Error string `json:",omitempty"`
events.Details
}
func (*Event) ToJSONString ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.