Versions in this module Expand all Collapse all v0 v0.4.0 Dec 8, 2020 Changes in this version + func IsNotFound(err error) bool + type SCM interface + CreateStatus func(ctx context.Context, repo, commit string, s *scm.StatusInput) error + FileContents func(ctx context.Context, repo, path, ref string) ([]byte, error) + ParseWebhookRequest func(req *http.Request) (scm.Webhook, error) + type SCMClient struct + func New(c *scm.Client, s secrets.SecretGetter, m metrics.Interface) *SCMClient + func (c *SCMClient) CreateStatus(ctx context.Context, repo, commit string, s *scm.StatusInput) error + func (c *SCMClient) FileContents(ctx context.Context, repo, path, ref string) ([]byte, error) + func (c *SCMClient) ParseWebhookRequest(req *http.Request) (scm.Webhook, error)