Versions in this module Expand all Collapse all v1 v1.0.1 Jul 25, 2019 v1.0.0 Jul 22, 2019 Changes in this version + type APIDiff struct + New struct{ ... } + type Config struct + Endpoint string + Logger logrus.FieldLogger + Token string + Username string + type DiffStatResponse struct + Diffs []APIDiff + type FileService struct + BbcloudEndpoint string + BbcloudToken string + BbcloudUsername string + Logger logrus.FieldLogger + func (f *FileService) DecodeURL(url string) (org, repo, path, branch string) + func (f *FileService) Download(org, repo, path, branch string) (string, error) + func (f *FileService) EncodeURL(org, repo, path, branch string) string + type PagedAPIResponse struct + CurrentPage int + NumberOfPages int + PageLength int + type Push struct + ChangedFiles []string + Logger logrus.FieldLogger + Payload WebhookPayload + func NewPush(payload WebhookPayload, cfg Config) (*Push, error) + func (p *Push) Branch() string + func (p *Push) ContainsFile(file string) bool + func (p *Push) Files() []string + func (p *Push) IsMaster() bool + func (p *Push) Name() string + func (p *Push) Org() string + func (p *Push) Repo() string + func (p *Push) SetCommitStatus(s git.Status) + type WebhookChange struct + New WebhookChangeComparison + Old WebhookChangeComparison + func (c *WebhookChange) Branch() string + func (c *WebhookChange) IsMaster() bool + type WebhookChangeComparison struct + Name string + Target WebhookChangeTarget + type WebhookChangeTarget struct + Hash string + type WebhookPayload struct + Push WebhookPush + Repository WebhookRepository + type WebhookProject struct + Key string + type WebhookPush struct + Changes []WebhookChange + type WebhookRepository struct + FullName string + Name string + Project WebhookProject