Versions in this module Expand all Collapse all v0 v0.0.4 Sep 1, 2023 v0.0.3 Feb 6, 2023 Changes in this version + var GitHub = &githubEvent + var GitLab = &gitlabEvent type App + func NewGitHubAPP() App[GitHubClient] + func NewGitLabAPP() App[GitLabClient] + type GitHubBranchProtectionRuleContext = ProbotContext[GitHubClient, github.BranchProtectionRuleEvent] + type GitHubCheckRunContext = ProbotContext[GitHubClient, github.CheckRunEvent] + type GitHubCheckSuiteContext = ProbotContext[GitHubClient, github.CheckSuiteEvent] + type GitHubClient = github.Client + type GitHubCommitCommentContext = ProbotContext[GitHubClient, github.CommitCommentEvent] + type GitHubCreateContext = ProbotContext[GitHubClient, github.CreateEvent] + type GitHubDeleteContext = ProbotContext[GitHubClient, github.DeleteEvent] + type GitHubDeployKeyContext = ProbotContext[GitHubClient, github.DeployKeyEvent] + type GitHubDeploymentContext = ProbotContext[GitHubClient, github.DeploymentEvent] + type GitHubDeploymentStatusContext = ProbotContext[GitHubClient, github.DeploymentStatusEvent] + type GitHubDiscussionContext = ProbotContext[GitHubClient, github.DiscussionEvent] + type GitHubForkContext = ProbotContext[GitHubClient, github.ForkEvent] + type GitHubGitHubAppAuthorizationContext = ProbotContext[GitHubClient, github.GitHubAppAuthorizationEvent] + type GitHubGollumContext = ProbotContext[GitHubClient, github.GollumEvent] + type GitHubInstallationContext = ProbotContext[GitHubClient, github.InstallationEvent] + type GitHubInstallationRepositoriesContext = ProbotContext[GitHubClient, github.InstallationRepositoriesEvent] + type GitHubIssueCommentContext = ProbotContext[GitHubClient, github.IssueCommentEvent] + type GitHubIssuesContext = ProbotContext[GitHubClient, github.IssuesEvent] + type GitHubLabelContext = ProbotContext[GitHubClient, github.LabelEvent] + type GitHubMarketplacePurchaseContext = ProbotContext[GitHubClient, github.MarketplacePurchaseEvent] + type GitHubMemberContext = ProbotContext[GitHubClient, github.MemberEvent] + type GitHubMembershipContext = ProbotContext[GitHubClient, github.MembershipEvent] + type GitHubMergeGroupContext = ProbotContext[GitHubClient, github.MergeGroupEvent] + type GitHubMetaContext = ProbotContext[GitHubClient, github.MetaEvent] + type GitHubMilestoneContext = ProbotContext[GitHubClient, github.MilestoneEvent] + type GitHubOrgBlockContext = ProbotContext[GitHubClient, github.OrgBlockEvent] + type GitHubOrganizationContext = ProbotContext[GitHubClient, github.OrganizationEvent] + type GitHubPackageContext = ProbotContext[GitHubClient, github.PackageEvent] + type GitHubPageBuildContext = ProbotContext[GitHubClient, github.PageBuildEvent] + type GitHubPingContext = ProbotContext[GitHubClient, github.PingEvent] + type GitHubProjectCardContext = ProbotContext[GitHubClient, github.ProjectCardEvent] + type GitHubProjectColumnContext = ProbotContext[GitHubClient, github.ProjectColumnEvent] + type GitHubProjectContext = ProbotContext[GitHubClient, github.ProjectEvent] + type GitHubPublicContext = ProbotContext[GitHubClient, github.PublicEvent] + type GitHubPullRequestContext = ProbotContext[GitHubClient, github.PullRequestEvent] + type GitHubPullRequestReviewCommentContext = ProbotContext[GitHubClient, github.PullRequestReviewCommentEvent] + type GitHubPullRequestReviewContext = ProbotContext[GitHubClient, github.PullRequestReviewEvent] + type GitHubPullRequestReviewThreadContext = ProbotContext[GitHubClient, github.PullRequestReviewThreadEvent] + type GitHubPushContext = ProbotContext[GitHubClient, github.PushEvent] + type GitHubReleaseContext = ProbotContext[GitHubClient, github.ReleaseEvent] + type GitHubRepositoryContext = ProbotContext[GitHubClient, github.RepositoryEvent] + type GitHubRepositoryDispatchContext = ProbotContext[GitHubClient, github.RepositoryDispatchEvent] + type GitHubRepositoryVulnerabilityAlertContext = ProbotContext[GitHubClient, github.RepositoryVulnerabilityAlertEvent] + type GitHubSecretScanningAlertContext = ProbotContext[GitHubClient, github.SecretScanningAlertEvent] + type GitHubStarContext = ProbotContext[GitHubClient, github.StarEvent] + type GitHubStatusContext = ProbotContext[GitHubClient, github.StatusEvent] + type GitHubTeamAddContext = ProbotContext[GitHubClient, github.TeamAddEvent] + type GitHubTeamContext = ProbotContext[GitHubClient, github.TeamEvent] + type GitHubWatchContext = ProbotContext[GitHubClient, github.WatchEvent] + type GitHubWorkflowDispatchContext = ProbotContext[GitHubClient, github.WorkflowDispatchEvent] + type GitHubWorkflowJobContext = ProbotContext[GitHubClient, github.WorkflowJobEvent] + type GitHubWorkflowRunContext = ProbotContext[GitHubClient, github.WorkflowRunEvent] + type GitLabBuildContext = ProbotContext[GitLabClient, gitlab.BuildEvent] + type GitLabClient = gitlab.Client + type GitLabCommitCommentContext = ProbotContext[GitLabClient, gitlab.CommitCommentEvent] + type GitLabDeploymentContext = ProbotContext[GitLabClient, gitlab.DeploymentEvent] + type GitLabGroupSystemContext = ProbotContext[GitLabClient, gitlab.GroupSystemEvent] + type GitLabIssueCommentContext = ProbotContext[GitLabClient, gitlab.IssueCommentEvent] + type GitLabIssueContext = ProbotContext[GitLabClient, gitlab.IssueEvent] + type GitLabJobContext = ProbotContext[GitLabClient, gitlab.JobEvent] + type GitLabKeySystemContext = ProbotContext[GitLabClient, gitlab.KeySystemEvent] + type GitLabMemberContext = ProbotContext[GitLabClient, gitlab.MemberEvent] + type GitLabMergeCommentContext = ProbotContext[GitLabClient, gitlab.MergeCommentEvent] + type GitLabMergeRequestContext = ProbotContext[GitLabClient, gitlab.MergeEvent] + type GitLabPipelineContext = ProbotContext[GitLabClient, gitlab.PipelineEvent] + type GitLabProjectSystemContext = ProbotContext[GitLabClient, gitlab.ProjectSystemEvent] + type GitLabPushContext = ProbotContext[GitLabClient, gitlab.PushEvent] + type GitLabPushSystemContext = ProbotContext[GitLabClient, gitlab.PushSystemEvent] + type GitLabReleaseContext = ProbotContext[GitLabClient, gitlab.ReleaseEvent] + type GitLabRepositoryUpdateSystemContext = ProbotContext[GitLabClient, gitlab.RepositoryUpdateSystemEvent] + type GitLabSnippetCommentContext = ProbotContext[GitLabClient, gitlab.SnippetCommentEvent] + type GitLabSubGroupContext = ProbotContext[GitLabClient, gitlab.SubGroupEvent] + type GitLabTagContext = ProbotContext[GitLabClient, gitlab.TagEvent] + type GitLabTagPushSystemContext = ProbotContext[GitLabClient, gitlab.TagPushSystemEvent] + type GitLabUserGroupSystemContext = ProbotContext[GitLabClient, gitlab.UserGroupSystemEvent] + type GitLabUserSystemContext = ProbotContext[GitLabClient, gitlab.UserSystemEvent] + type GitLabUserTeamSystemContext = ProbotContext[GitLabClient, gitlab.UserTeamSystemEvent] + type GitLabWikiPageContext = ProbotContext[GitLabClient, gitlab.WikiPageEvent] v0.0.2 Jan 17, 2023 Changes in this version type App + ServeMux func() *http.ServeMux v0.0.1 Jan 6, 2023 Changes in this version + func ToPointer(s T) *T + type App interface + AddFlags func(flags *pflag.FlagSet) + On func(events ...WebhookEvent) handlerLoader + Run func(ctx context.Context) error + func NewGithubAPP() App[GithubClient] + type EventHandlerFunc func(ctx ProbotContext[GT, PT]) + type GitClientType interface + type GitGraphQLClient interface + Query func(ctx context.Context, q interface{}, variables map[string]interface{}) error + type GithubClient = github.Client + type Handler interface + type ProbotContext interface + Client func() *GT + GraphQL func() GitGraphQLClient + Logger func() logr.Logger + Must func(...interface{}) + Payload func() *PT + type ServerOptions struct + Address string + Path string + Port int + func (opts *ServerOptions) AddFlags(flags *pflag.FlagSet) + type WebhookEvent interface + Action func() string + Type func() string + type WebhookEventIdentifier func() (event, action string) + func MakeWebhookEvent(e, a string) WebhookEventIdentifier + func (fn WebhookEventIdentifier) Action() string + func (fn WebhookEventIdentifier) Type() string