Documentation
¶
Overview ¶
Package github is a dfetch Connector backed by the GitHub REST API. It exposes the issues, pulls, repos, commits, releases, workflow_runs, and artifacts tables under the SQL schema "github" and pushes down equality filters, ORDER BY, and LIMIT to the API where it can.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
Connector talks to the GitHub REST API.
func (*Connector) Scan ¶
func (c *Connector) Scan(ctx context.Context, req source.ScanRequest, emit func(*source.Rows) error) error
Scan dispatches to the per-table fetchers, which emit one chunk per API page.
func (*Connector) Tables ¶
func (c *Connector) Tables() []source.TableSchema
Tables returns the schemas of the github.* tables.
Click to show internal directories.
Click to hide internal directories.