Versions in this module Expand all Collapse all v0 v0.0.1 Nov 14, 2023 Changes in this version + type Error string + func (e Error) Error() string + type ExchangeResponse struct + AccessToken string + type GitHubPlugin struct + func NewGitHubPlugin(ctx context.Context, ghClient *github.Client, ghApp *githubapp.GitHubApp, ...) *GitHubPlugin + func (g *GitHubPlugin) GetUIData(ctx context.Context, req *jvspb.GetUIDataRequest) (*jvspb.UIData, error) + func (g *GitHubPlugin) Validate(ctx context.Context, req *jvspb.ValidateJustificationRequest) (*jvspb.ValidateJustificationResponse, error) + type PluginConfig struct + GitHubAppID string + GitHubAppInstallationID string + GitHubAppPrivateKeyPEM string + GitHubPluginDisplayName string + GitHubPluginHint string + func (cfg *PluginConfig) ToFlags(set *cli.FlagSet) *cli.FlagSet + func (cfg *PluginConfig) Validate() error + type Validator struct + func NewValidator(ghClinet *github.Client, ghApp *githubapp.GitHubApp) *Validator + func (v *Validator) MatchIssue(ctx context.Context, issueURL string) (*pluginGitHubIssue, error)