Documentation
¶
Index ¶
- type InstancesCrawler
- func (i *InstancesCrawler) Count() int
- func (i *InstancesCrawler) DoCrawl() error
- func (i *InstancesCrawler) Get(id string) map[string]interface{}
- func (i *InstancesCrawler) LastCrawled() time.Time
- func (i *InstancesCrawler) List(limit int, expand bool) interface{}
- func (i *InstancesCrawler) Resource() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstancesCrawler ¶
type InstancesCrawler struct {
// contains filtered or unexported fields
}
The InstancesCrawler struct holds the implementation for the interface
func NewInstancesCrawler ¶
func NewInstancesCrawler(c *config.Config) *InstancesCrawler
NewInstancesCrawler is the constructor of this crawler
func (*InstancesCrawler) Count ¶
func (i *InstancesCrawler) Count() int
Count the number of instances crawled
func (*InstancesCrawler) DoCrawl ¶
func (i *InstancesCrawler) DoCrawl() error
DoCrawl handles the crawling of AWS
func (*InstancesCrawler) Get ¶
func (i *InstancesCrawler) Get(id string) map[string]interface{}
Get returns a single instance by id
func (*InstancesCrawler) LastCrawled ¶
func (i *InstancesCrawler) LastCrawled() time.Time
LastCrawled is the timestamp of the most recent crawl
func (*InstancesCrawler) List ¶
func (i *InstancesCrawler) List(limit int, expand bool) interface{}
List instances
func (*InstancesCrawler) Resource ¶
func (i *InstancesCrawler) Resource() string
Resource identifies the name of the crawled resource
Click to show internal directories.
Click to hide internal directories.