{"modulePath":"github.com/RedisTimeSeries/telegraf","version":"v0.10.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github_webhooks\n\n## Functions\n\n```go\nfunc CommitCommentEventJSON() string\n```\n\n```go\nfunc CreateEventJSON() string\n```\n\n```go\nfunc DeleteEventJSON() string\n```\n\n```go\nfunc DeploymentEventJSON() string\n```\n\n```go\nfunc DeploymentStatusEventJSON() string\n```\n\n```go\nfunc ForkEventJSON() string\n```\n\n```go\nfunc GollumEventJSON() string\n```\n\n```go\nfunc IssueCommentEventJSON() string\n```\n\n```go\nfunc IssuesEventJSON() string\n```\n\n```go\nfunc MemberEventJSON() string\n```\n\n```go\nfunc MembershipEventJSON() string\n```\n\n```go\nfunc PageBuildEventJSON() string\n```\n\n```go\nfunc PublicEventJSON() string\n```\n\n```go\nfunc PullRequestEventJSON() string\n```\n\n```go\nfunc PullRequestReviewCommentEventJSON() string\n```\n\n```go\nfunc PushEventJSON() string\n```\n\n```go\nfunc ReleaseEventJSON() string\n```\n\n```go\nfunc RepositoryEventJSON() string\n```\n\n```go\nfunc StatusEventJSON() string\n```\n\n```go\nfunc TeamAddEventJSON() string\n```\n\n```go\nfunc WatchEventJSON() string\n```\n\n## Types\n\n```go\ntype CommitComment struct {\n\tCommit string `json:\"commit_id\"`\n\tBody   string `json:\"body\"`\n}\n```\n\n```go\ntype CommitCommentEvent struct {\n\tComment    CommitComment `json:\"comment\"`\n\tRepository Repository    `json:\"repository\"`\n\tSender     Sender        `json:\"sender\"`\n}\n```\n\n```go\nfunc (s CommitCommentEvent) NewPoint() *client.Point\n```\n\n```go\ntype CreateEvent struct {\n\tRef        string     `json:\"ref\"`\n\tRefType    string     `json:\"ref_type\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s CreateEvent) NewPoint() *client.Point\n```\n\n```go\ntype DeleteEvent struct {\n\tRef        string     `json:\"ref\"`\n\tRefType    string     `json:\"ref_type\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s DeleteEvent) NewPoint() *client.Point\n```\n\n```go\ntype Deployment struct {\n\tCommit      string `json:\"sha\"`\n\tTask        string `json:\"task\"`\n\tEnvironment string `json:\"environment\"`\n\tDescription string `json:\"description\"`\n}\n```\n\n```go\ntype DeploymentEvent struct {\n\tDeployment Deployment `json:\"deployment\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s DeploymentEvent) NewPoint() *client.Point\n```\n\n```go\ntype DeploymentStatus struct {\n\tState       string `json:\"state\"`\n\tDescription string `json:\"description\"`\n}\n```\n\n```go\ntype DeploymentStatusEvent struct {\n\tDeployment       Deployment       `json:\"deployment\"`\n\tDeploymentStatus DeploymentStatus `json:\"deployment_status\"`\n\tRepository       Repository       `json:\"repository\"`\n\tSender           Sender           `json:\"sender\"`\n}\n```\n\n```go\nfunc (s DeploymentStatusEvent) NewPoint() *client.Point\n```\n\n```go\ntype Event interface {\n\tNewPoint() *client.Point\n}\n```\n\n```go\nfunc NewEvent(r []byte, t string) (Event, error)\n```\n\n```go\ntype ForkEvent struct {\n\tForkee     Repository `json:\"forkee\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s ForkEvent) NewPoint() *client.Point\n```\n\n```go\ntype GithubWebhooks struct {\n\tServiceAddress string\n\t// Lock for the struct\n\tsync.Mutex\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewGithubWebhooks() *GithubWebhooks\n```\n\n```go\nfunc (gh *GithubWebhooks) Description() string\n```\n\n```go\nfunc (gh *GithubWebhooks) Gather(acc inputs.Accumulator) error\n```\nWrites the points from \\\u003c-gh.in to the Accumulator\n\n```go\nfunc (gh *GithubWebhooks) Listen()\n```\n\n```go\nfunc (gh *GithubWebhooks) SampleConfig() string\n```\n\n```go\nfunc (gh *GithubWebhooks) Start() error\n```\n\n```go\nfunc (gh *GithubWebhooks) Stop()\n```\n\n```go\ntype GollumEvent struct {\n\tPages      []Page     `json:\"pages\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s GollumEvent) NewPoint() *client.Point\n```\nREVIEW: Going to be lazy and not deal with the pages.\n\n```go\ntype Issue struct {\n\tNumber   int    `json:\"number\"`\n\tTitle    string `json:\"title\"`\n\tComments int    `json:\"comments\"`\n}\n```\n\n```go\ntype IssueComment struct {\n\tBody string `json:\"body\"`\n}\n```\n\n```go\ntype IssueCommentEvent struct {\n\tIssue      Issue        `json:\"issue\"`\n\tComment    IssueComment `json:\"comment\"`\n\tRepository Repository   `json:\"repository\"`\n\tSender     Sender       `json:\"sender\"`\n}\n```\n\n```go\nfunc (s IssueCommentEvent) NewPoint() *client.Point\n```\n\n```go\ntype IssuesEvent struct {\n\tAction     string     `json:\"action\"`\n\tIssue      Issue      `json:\"issue\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s IssuesEvent) NewPoint() *client.Point\n```\n\n```go\ntype MemberEvent struct {\n\tMember     Sender     `json:\"member\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s MemberEvent) NewPoint() *client.Point\n```\n\n```go\ntype MembershipEvent struct {\n\tAction string `json:\"action\"`\n\tMember Sender `json:\"member\"`\n\tSender Sender `json:\"sender\"`\n\tTeam   Team   `json:\"team\"`\n}\n```\n\n```go\nfunc (s MembershipEvent) NewPoint() *client.Point\n```\n\n```go\ntype Page struct {\n\tName   string `json:\"page_name\"`\n\tTitle  string `json:\"title\"`\n\tAction string `json:\"action\"`\n}\n```\n\n```go\ntype PageBuildEvent struct {\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s PageBuildEvent) NewPoint() *client.Point\n```\n\n```go\ntype PublicEvent struct {\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s PublicEvent) NewPoint() *client.Point\n```\n\n```go\ntype PullRequest struct {\n\tNumber       int    `json:\"number\"`\n\tState        string `json:\"state\"`\n\tTitle        string `json:\"title\"`\n\tComments     int    `json:\"comments\"`\n\tCommits      int    `json:\"commits\"`\n\tAdditions    int    `json:\"additions\"`\n\tDeletions    int    `json:\"deletions\"`\n\tChangedFiles int    `json:\"changed_files\"`\n}\n```\n\n```go\ntype PullRequestEvent struct {\n\tAction      string      `json:\"action\"`\n\tPullRequest PullRequest `json:\"pull_request\"`\n\tRepository  Repository  `json:\"repository\"`\n\tSender      Sender      `json:\"sender\"`\n}\n```\n\n```go\nfunc (s PullRequestEvent) NewPoint() *client.Point\n```\n\n```go\ntype PullRequestReviewComment struct {\n\tFile    string `json:\"path\"`\n\tComment string `json:\"body\"`\n}\n```\n\n```go\ntype PullRequestReviewCommentEvent struct {\n\tComment     PullRequestReviewComment `json:\"comment\"`\n\tPullRequest PullRequest              `json:\"pull_request\"`\n\tRepository  Repository               `json:\"repository\"`\n\tSender      Sender                   `json:\"sender\"`\n}\n```\n\n```go\nfunc (s PullRequestReviewCommentEvent) NewPoint() *client.Point\n```\n\n```go\ntype PushEvent struct {\n\tRef        string     `json:\"ref\"`\n\tBefore     string     `json:\"before\"`\n\tAfter      string     `json:\"after\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s PushEvent) NewPoint() *client.Point\n```\n\n```go\ntype Release struct {\n\tTagName string `json:\"tag_name\"`\n}\n```\n\n```go\ntype ReleaseEvent struct {\n\tRelease    Release    `json:\"release\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s ReleaseEvent) NewPoint() *client.Point\n```\n\n```go\ntype Repository struct {\n\tRepository string `json:\"full_name\"`\n\tPrivate    bool   `json:\"private\"`\n\tStars      int    `json:\"stargazers_count\"`\n\tForks      int    `json:\"forks_count\"`\n\tIssues     int    `json:\"open_issues_count\"`\n}\n```\n\n```go\ntype RepositoryEvent struct {\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s RepositoryEvent) NewPoint() *client.Point\n```\n\n```go\ntype Sender struct {\n\tUser  string `json:\"login\"`\n\tAdmin bool   `json:\"site_admin\"`\n}\n```\n\n```go\ntype StatusEvent struct {\n\tCommit     string     `json:\"sha\"`\n\tState      string     `json:\"state\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s StatusEvent) NewPoint() *client.Point\n```\n\n```go\ntype Team struct {\n\tName string `json:\"name\"`\n}\n```\n\n```go\ntype TeamAddEvent struct {\n\tTeam       Team       `json:\"team\"`\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s TeamAddEvent) NewPoint() *client.Point\n```\n\n```go\ntype WatchEvent struct {\n\tRepository Repository `json:\"repository\"`\n\tSender     Sender     `json:\"sender\"`\n}\n```\n\n```go\nfunc (s WatchEvent) NewPoint() *client.Point\n```\n\n","path":"github.com/RedisTimeSeries/telegraf/plugins/inputs/github_webhooks","name":"github_webhooks","synopsis":"","isRedistributable":true}
