Files
play-with-docker/services/task.go
Jonathan Leibiusky @xetorthio 77905f3fd8 Query DinD instances for running containers and list the published ports
so the user can reverse proxy to the instance/port easily.
2016-12-01 17:28:55 -03:00

12 lines
249 B
Go

package services
type periodicTask interface {
Run(i *Instance)
}
var periodicTasks []periodicTask
func init() {
periodicTasks = append(periodicTasks, &collectStatsTask{}, &checkSwarmStatusTask{}, &checkUsedPortsTask{}, &broadcastInfoTask{})
}