overflow_probes/service/CrawlerService.go

29 lines
729 B
Go
Raw Normal View History

2017-12-02 03:13:08 +00:00
package service
2017-12-04 11:59:51 +00:00
2017-12-05 08:21:47 +00:00
import (
configM "git.loafle.net/overflow/overflow_commons_go/modules/config/model"
oogwc "git.loafle.net/overflow/overflow_gateway_websocket/client"
oopmc "git.loafle.net/overflow/overflow_probes/manager/container"
)
2017-12-04 11:59:51 +00:00
type CrawlerService struct {
2017-12-05 08:21:47 +00:00
ProbeClient oogwc.Client `annotation:"@inject{name:probeClient}"`
ContainerManager oopmc.ContainerManager `annotation:"@inject{name:containerManager}"`
2017-12-04 11:59:51 +00:00
}
func (cs *CrawlerService) Install() error {
2017-12-05 08:21:47 +00:00
return nil
2017-12-04 11:59:51 +00:00
}
func (cs *CrawlerService) Uninstall() error {
2017-12-05 08:21:47 +00:00
return nil
2017-12-04 11:59:51 +00:00
}
func (cs *CrawlerService) Update() error {
2017-12-05 08:21:47 +00:00
return nil
2017-12-04 11:59:51 +00:00
}
func (cs *CrawlerService) Authenticate(crawler *configM.Crawler, target *configM.Target) error {
2017-12-05 08:21:47 +00:00
return nil
2017-12-04 11:59:51 +00:00
}