func (m *Monitor) createContainerDestroyedEvent(msg events.Message) *model.ContainerEvent {
	return &model.ContainerEvent{
		EventBase: model.EventBase{
			EventType:        model.ContainerDestroyedEventType,
			EventMonitorName: m.Name,
		},
		ContainerID:   msg.ID,
		Image:         msg.Actor.Attributes["image"],
		ContainerName: msg.Actor.Attributes["name"],
	}
}
// createContainerDestroyedEvent - Create a container "destroyed" event
Create a container "destroyed" event
// createContainerDestroyedEvent - Create a container " destroyed " event
func (m *Monitor) createContainerDestroyedEvent(msg events.Message) *model.ContainerEvent {
	return &model.ContainerEvent{
		EventBase: model.EventBase{
			EventType:        model.ContainerDestroyedEventType,
			EventMonitorName: m.Name,
		},
		ContainerID:   msg.ID,
		Image:         msg.Actor.Attributes["image"],
		ContainerName: msg.Actor.Attributes["name"],
	}
}
func ( m * Monitor ) createContainerDestroyedEvent ( msg events . Message ) * model . ContainerEvent { return & model . ContainerEvent { EventBase : model . EventBase { EventType : model . ContainerDestroyedEventType , EventMonitorName : m . Name , } , ContainerID : msg . ID , Image : msg . Actor . Attributes [ " " ] , ContainerName : msg . Actor . Attributes [ " " ] , } }
Create a container "destroyed" event
Create a container " destroyed " event