Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDockerEventStream ¶
NewDockerEventStream creates a new event stream of Docker container lifecycle events.
func NewEventStream ¶
NewEventStream creates a new stream of container lifecycle events.
func NewOciEventStream ¶
NewOciEventStream creates a new event stream of OCI container lifecycle events.
Types ¶
type DockerConfigConfig ¶
type DockerConfigState ¶
type DockerConfigState struct { Running bool `json:"Running"` Paused bool `json:"Paused"` Restarting bool `json:"Restarting"` OOMKilled bool `json:"OOMKilled"` RemovalInProgress bool `json:"RemovalInProgress"` Dead bool `json:"Dead"` Pid int `json:"Pid"` StartedAt time.Time `json:"StartedAt"` FinishedAt time.Time `json:"FinishedAt"` Health string `json:"Health"` ExitCode int `json:"ExitCode"` }
type DockerConfigV2 ¶
type DockerConfigV2 struct { // XXX: Fill in as needed... ID string `json:"ID"` Image string `json:"Image"` State DockerConfigState `json:"State"` Path string `json:"Path"` Config DockerConfigConfig `json:"Config"` // ... Name string `json:"Name"` }
type Event ¶
type Event struct { ID string Name string State State ImageID string Image string Pid uint32 Cgroup string DockerConfig string OciConfig string ExitCode int32 }
Event represents a container lifecycle event containing fields common to all supported container runtimes.
Directories ¶
Path | Synopsis |
---|---|
Package c8dockerclient is a homegrown HTTP Docker API client.
|
Package c8dockerclient is a homegrown HTTP Docker API client. |
Click to show internal directories.
Click to hide internal directories.