Documentation
¶
Overview ¶
Package github is the ingestion.ForgeClient adapter for GitHub, backed by google/go-github.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrInvalidIdentifier = errors.New("identifier must be in owner/name form")
ErrInvalidIdentifier is returned when a repo identifier isn't "owner/name".
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the GitHub-backed ingestion.ForgeClient.
func NewClient ¶
NewClient returns a Client. baseURL overrides the GitHub API endpoint (for tests against a fake server); pass "" to use the real GitHub API.
func (*Client) CreateWebhook ¶
CreateWebhook implements ingestion.ForgeClient.