Documentation
¶
Index ¶
- func GitCommentEventFromGithubIssueCommentEvent(event *github.IssueCommentEvent) plugins.GitCommentEvent
- func GitCommentEventFromGithubIssuesEvent(event *github.IssuesEvent) plugins.GitCommentEvent
- func GitCommentEventFromGithubPullRequestEvent(event *github.PullRequestEvent) plugins.GitCommentEvent
- func GitCommentEventFromGithubPullRequestReviewCommentEvent(event *github.PullRequestReviewCommentEvent) plugins.GitCommentEvent
- func GitCommentEventFromGithubPullRequestReviewEvent(event *github.PullRequestReviewEvent) plugins.GitCommentEvent
- func GitIssueClientFromGithub(gh *probot.GitHubClient) plugins.GitIssueClient
- func GitLabelFromGithub(l *github.Label) plugins.Label
- func GitLabelsFromGithub(labels []*github.Label) (output []plugins.Label)
- func GitPRClientFromGithub(gh *probot.GitHubClient) plugins.GitPRClient
- func GitRepoClientFromGithub(gh *probot.GitHubClient) plugins.GitRepoClient
- func GitSearchClientFromGithub(cli probot.GitGraphQLClient) plugins.GitSearchClient
- func GitUserFromGithub(u *github.User) plugins.GitUser
- func GitUsersFromGithub(users []*github.User) (output []plugins.GitUser)
- func MakeLoggerClient(getLogger func() logr.Logger) plugins.LoggerClient
- func OwnersClientFromGithub(gh *probot.GitHubClient, ownersFileName string, ...) plugins.OwnersClient
- func PluginConfigClientFromGithub(gh *probot.GitHubClient, configPath string, ...) plugins.PluginConfigClient
- type ConfigCache
- type NearestTrie
- type TrieNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitCommentEventFromGithubIssueCommentEvent ¶
func GitCommentEventFromGithubIssueCommentEvent(event *github.IssueCommentEvent) plugins.GitCommentEvent
func GitCommentEventFromGithubIssuesEvent ¶
func GitCommentEventFromGithubIssuesEvent(event *github.IssuesEvent) plugins.GitCommentEvent
func GitCommentEventFromGithubPullRequestEvent ¶
func GitCommentEventFromGithubPullRequestEvent(event *github.PullRequestEvent) plugins.GitCommentEvent
func GitCommentEventFromGithubPullRequestReviewCommentEvent ¶
func GitCommentEventFromGithubPullRequestReviewCommentEvent(event *github.PullRequestReviewCommentEvent) plugins.GitCommentEvent
func GitCommentEventFromGithubPullRequestReviewEvent ¶
func GitCommentEventFromGithubPullRequestReviewEvent(event *github.PullRequestReviewEvent) plugins.GitCommentEvent
func GitIssueClientFromGithub ¶
func GitIssueClientFromGithub(gh *probot.GitHubClient) plugins.GitIssueClient
func GitLabelsFromGithub ¶
func GitPRClientFromGithub ¶
func GitPRClientFromGithub(gh *probot.GitHubClient) plugins.GitPRClient
func GitRepoClientFromGithub ¶
func GitRepoClientFromGithub(gh *probot.GitHubClient) plugins.GitRepoClient
func GitSearchClientFromGithub ¶
func GitSearchClientFromGithub(cli probot.GitGraphQLClient) plugins.GitSearchClient
func MakeLoggerClient ¶
func MakeLoggerClient(getLogger func() logr.Logger) plugins.LoggerClient
func OwnersClientFromGithub ¶
func OwnersClientFromGithub(gh *probot.GitHubClient, ownersFileName string, cache ConfigCache[plugins.OwnersConfiguration]) plugins.OwnersClient
func PluginConfigClientFromGithub ¶
func PluginConfigClientFromGithub(gh *probot.GitHubClient, configPath string, cache ConfigCache[plugins.Configuration]) plugins.PluginConfigClient
Types ¶
type ConfigCache ¶
type ConfigCache[T any] interface { Get(owner, repo, path string) *T Save(owner, repo, path string, cfg *T) }
func NewConfigCache ¶
func NewConfigCache[T any]() ConfigCache[T]
func NewConfigNearestCache ¶
func NewConfigNearestCache[T any]() ConfigCache[T]
type NearestTrie ¶
func (*NearestTrie) Insert ¶
func (t *NearestTrie) Insert(path string)
func (*NearestTrie) Search ¶
func (t *NearestTrie) Search(path string) string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.