Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerEvent ¶
type ContainerEvent struct { DockerEvent Container types.ContainerJSON }
func NewContainerEvent ¶
func NewContainerEvent(de DockerEvent, cnt types.ContainerJSON) ContainerEvent
func (*ContainerEvent) ContainerToJSON ¶
func (ce *ContainerEvent) ContainerToJSON() map[string]interface{}
func (*ContainerEvent) GetContainerName ¶
func (ce *ContainerEvent) GetContainerName() string
type DockerEvent ¶
func NewDockerEvent ¶
func NewDockerEvent(base qtypes_messages.Base, event events.Message) DockerEvent
func (*DockerEvent) EventToJSON ¶
func (de *DockerEvent) EventToJSON() (res map[string]interface{})
type ServiceEvent ¶
type ServiceEvent struct { DockerEvent Service swarm.Service }
func NewServiceEvent ¶
func NewServiceEvent(de DockerEvent, srv swarm.Service) ServiceEvent
func (*ServiceEvent) ServiceToJSON ¶
func (se *ServiceEvent) ServiceToJSON() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.