func NewContainer(containerInfo *dockerclient.ContainerInfo, imageInfo *dockerclient.ImageInfo) *Container {
	return &Container{
		containerInfo: containerInfo,
		imageInfo:     imageInfo,
	}
}
NewContainer returns a new Container instance instantiated with the
specified ContainerInfo and ImageInfo structs.
package container
import (
	log "github.com/Sirupsen/logrus"
	"github.com/samalba/dockerclient"
	"fmt"
	"strings"
	"time"
)
const (
	TugbotService     = "tugbot-service"
	TugbotTest        = "tugbot-test"
	TugbotEventDocker = "tugbot-event-docker"
	TugbotEventTimer  = "tugbot-event-timer"
	TugbotCreatedFrom = "tugbot-created-from"
	SwarmTaskID       = "com.docker.swarm.task.id"
)
const (
	TypeFilter = "tugbot-event-docker-filter-type"
	ActionFilter = "tugbot-event-docker-filter-action"
	ContainerFilter = "tugbot-event-docker-filter-container"
	ImageFilter = "tugbot-event-docker-filter-image"
	LabelFilter = "tugbot-event-docker-filter-label"
)