Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerStatus ¶
type Event ¶
type Event struct {
MetaData
StartupInfo
Container
ContainerStatus
Volume
Network
}
type EventsGroup ¶
type EventsGroup struct {
Container
StartupInfo
Events []Event
}
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
func NewFormatter ¶
NewFormatter Initialize new formatter
func (*Formatter) EventPacker ¶
func (f *Formatter) EventPacker(events []Event) map[string]EventsGroup
EventPacker Receive a list of docker events and group them by container id
func (*Formatter) EventsToStr ¶
func (f *Formatter) EventsToStr(eventsGroup EventsGroup) (string, bool)
EventsToStr Create a keybase message string for a group of container events
type StartupInfo ¶
Click to show internal directories.
Click to hide internal directories.