Versions in this module Expand all Collapse all v0 v0.1.1 Aug 18, 2026 v0.1.0 Aug 18, 2026 Changes in this version + func ParseRepo(s string) (owner, repo string, err error) + type APIError struct + Message string + RetryAfter time.Duration + StatusCode int + func (e *APIError) Error() string + func (e *APIError) Retryable() bool + type Client struct + func NewClient(ctx context.Context, token string) *Client + func (c *Client) Describe() string + func (c *Client) DownloadJobLog(ctx context.Context, _ int64, jobID int64) ([]byte, error) + func (c *Client) For(owner, repo string) *Client + func (c *Client) ListJobResults(ctx context.Context, opts ListOptions) ([]detector.JobResult, error) + type FixtureSource struct + func NewFixtureSource(dir string) (*FixtureSource, error) + func (f *FixtureSource) Describe() string + func (f *FixtureSource) DownloadJobLog(_ context.Context, _ int64, jobID int64) ([]byte, error) + func (f *FixtureSource) ListJobResults(_ context.Context, opts ListOptions) ([]detector.JobResult, error) + type ListOptions struct + Days int + MaxRuns int + Owner string + Repo string + WorkflowFile string + func DefaultListOptions() ListOptions + type Source interface + Describe func() string + DownloadJobLog func(ctx context.Context, runID, jobID int64) ([]byte, error) + ListJobResults func(ctx context.Context, opts ListOptions) ([]detector.JobResult, error)