Documentation ¶
Index ¶
- func CommitCommentEventJSON() string
- func CreateEventJSON() string
- func DeleteEventJSON() string
- func DeploymentEventJSON() string
- func DeploymentStatusEventJSON() string
- func ForkEventJSON() string
- func GollumEventJSON() string
- func IssueCommentEventJSON() string
- func IssuesEventJSON() string
- func MemberEventJSON() string
- func MembershipEventJSON() string
- func PageBuildEventJSON() string
- func PublicEventJSON() string
- func PullRequestEventJSON() string
- func PullRequestReviewCommentEventJSON() string
- func PushEventJSON() string
- func ReleaseEventJSON() string
- func RepositoryEventJSON() string
- func StatusEventJSON() string
- func TeamAddEventJSON() string
- func WatchEventJSON() string
- type GithubWebhook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitCommentEventJSON ¶
func CommitCommentEventJSON() string
func CreateEventJSON ¶
func CreateEventJSON() string
func DeleteEventJSON ¶
func DeleteEventJSON() string
func DeploymentEventJSON ¶
func DeploymentEventJSON() string
func DeploymentStatusEventJSON ¶
func DeploymentStatusEventJSON() string
func ForkEventJSON ¶
func ForkEventJSON() string
func GollumEventJSON ¶
func GollumEventJSON() string
func IssueCommentEventJSON ¶
func IssueCommentEventJSON() string
func IssuesEventJSON ¶
func IssuesEventJSON() string
func MemberEventJSON ¶
func MemberEventJSON() string
func MembershipEventJSON ¶
func MembershipEventJSON() string
func PageBuildEventJSON ¶
func PageBuildEventJSON() string
func PublicEventJSON ¶
func PublicEventJSON() string
func PullRequestEventJSON ¶
func PullRequestEventJSON() string
func PullRequestReviewCommentEventJSON ¶
func PullRequestReviewCommentEventJSON() string
func PushEventJSON ¶
func PushEventJSON() string
func ReleaseEventJSON ¶
func ReleaseEventJSON() string
func RepositoryEventJSON ¶
func RepositoryEventJSON() string
func StatusEventJSON ¶
func StatusEventJSON() string
func TeamAddEventJSON ¶
func TeamAddEventJSON() string
func WatchEventJSON ¶
func WatchEventJSON() string
Types ¶
type GithubWebhook ¶
type GithubWebhook struct { Path string Secret string auth.BasicAuth // contains filtered or unexported fields }
func (*GithubWebhook) NewEvent ¶ added in v1.21.0
func (gh *GithubWebhook) NewEvent(data []byte, name string) (event, error)
func (*GithubWebhook) Register ¶
func (gh *GithubWebhook) Register(router *mux.Router, acc telegraf.Accumulator, log telegraf.Logger)
Click to show internal directories.
Click to hide internal directories.