Documentation ¶
Index ¶
- Constants
- func NewProviderClient(c session.Session) (providers.ProviderClient, error)
- type Config
- type HostSearchResult
- type ProviderClient
- func (c *ProviderClient) CreateTable(data []byte) (*table.Writer, error)
- func (c *ProviderClient) Enabled() bool
- func (c *ProviderClient) ExtractThreatIndicators(findRes []byte) (*providers.ThreatIndicators, error)
- func (c *ProviderClient) FindHost() ([]byte, error)
- func (c *ProviderClient) GetConfig() *session.Session
- func (c *ProviderClient) Initialise() error
- func (c *ProviderClient) Priority() *int32
- func (c *ProviderClient) RateHostData(findRes []byte, ratingConfigJSON []byte) (providers.RateResult, error)
Constants ¶
View Source
const ( ProviderName = "linode" DocTTL = 24 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
func NewProviderClient ¶
func NewProviderClient(c session.Session) (providers.ProviderClient, error)
Types ¶
type HostSearchResult ¶
type ProviderClient ¶
func (*ProviderClient) CreateTable ¶
func (c *ProviderClient) CreateTable(data []byte) (*table.Writer, error)
func (*ProviderClient) Enabled ¶
func (c *ProviderClient) Enabled() bool
func (*ProviderClient) ExtractThreatIndicators ¶
func (c *ProviderClient) ExtractThreatIndicators(findRes []byte) (*providers.ThreatIndicators, error)
func (*ProviderClient) FindHost ¶
func (c *ProviderClient) FindHost() ([]byte, error)
FindHost searches for the host in the linode data
func (*ProviderClient) GetConfig ¶
func (c *ProviderClient) GetConfig() *session.Session
func (*ProviderClient) Initialise ¶
func (c *ProviderClient) Initialise() error
func (*ProviderClient) Priority ¶
func (c *ProviderClient) Priority() *int32
func (*ProviderClient) RateHostData ¶
func (c *ProviderClient) RateHostData(findRes []byte, ratingConfigJSON []byte) (providers.RateResult, error)
Click to show internal directories.
Click to hide internal directories.