container_discovery/crawler/discovery/discovery-crawler.go

33 lines
572 B
Go
Raw Normal View History

2018-04-19 20:36:56 +09:00
package discovery
import (
ocsm "git.loafle.net/overflow/commons-go/sensorconfig/model"
"git.loafle.net/overflow/crawler-go"
)
type DiscoveryCrawler struct {
}
func (c *DiscoveryCrawler) Name() string {
return "DISCOVERY"
}
func (c *DiscoveryCrawler) String() string {
return "Discovery"
}
2018-04-23 19:24:00 +09:00
func (c *DiscoveryCrawler) Auth(auth map[string]interface{}) error {
2018-04-19 20:36:56 +09:00
return nil
}
func (c *DiscoveryCrawler) Get(sensorConfig *ocsm.SensorConfig) (map[string]string, error) {
return nil, nil
}
func NewCrawler() crawler.Crawler {
c := &DiscoveryCrawler{}
return c
}