Documentation ¶
Index ¶
- type Client
- func (c *Client) FetchAllThreatReportsSince(ctx context.Context, since int64) (<-chan *schema.Report, error)
- func (c *Client) FetchAllVulnerabilities(ctx context.Context, since int64) (<-chan runner.Convertible, error)
- func (c *Client) Request(ctx context.Context, endpoint string) (io.Reader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client struct
func (*Client) FetchAllThreatReportsSince ¶
func (c *Client) FetchAllThreatReportsSince(ctx context.Context, since int64) (<-chan *schema.Report, error)
FetchAllThreatReportsSince will fetch all vulnerabilities with specified parameters
func (*Client) FetchAllVulnerabilities ¶ added in v0.1.4
func (c *Client) FetchAllVulnerabilities(ctx context.Context, since int64) (<-chan runner.Convertible, error)
FetchAllVulnerabilities will fetch all vulnerabilities with specified parameters
Click to show internal directories.
Click to hide internal directories.