Versions in this module Expand all Collapse all v0 v0.1.0 Oct 20, 2017 Changes in this version + const StatusContext + const StatusError + const StatusFailure + const StatusPending + const StatusSuccess + var GitHubBaseURL = "https://api.github.com" + var StateError = "error" + var StateFailure = "failure" + var StatePending = "pending" + var StateSuccess = "success" + func GetFileContents(proj *brigade.Project, ref, path string) ([]byte, error) + func GetLastCommit(proj *brigade.Project, ref string) (string, error) + func GetRepoStatus(proj *brigade.Project, ref string) (*github.RepoStatus, error) + func NewDockerPushHook(s storage.Store) *dockerPushHook + func NewGithubHook(s storage.Store) *githubHook + func SHA1HMAC(salt, message []byte) string + type GitHubNotifier struct + func NewGitHubNotifier(token string) *GitHubNotifier + func (g *GitHubNotifier) SetStatus(status StatusCode, ctx, desc, target string) error + func (g *GitHubNotifier) SetTarget(owner, repo, sha string) error + type GitHubStatus struct + Context string + Description string + State StatusCode + TargetURL string + type StatusCode string + type StatusSetter interface + SetStatus func(status StatusCode, ctx, desc string, targetURL string) error + SetTarget func(owner, repo, sha string) error