Files
play-with-docker/services/task.go
Jonathan Leibiusky (@xetorthio) 69050373d7 Show docker swarm used ports
2016-12-13 08:02:48 -06:00

12 lines
255 B
Go

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