Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct {
Token string `description:"GitHub token."`
Owner string `short:"o" description:"Repository owner."`
RepositoryName string `long:"repo-name" short:"r" description:"Repository name."`
}
GitHub options.
type GitHubAction ¶ added in v1.1.0
type GitHubAction struct {
LogLevel string `long:"log-level" description:"Log level."`
DryRun bool `long:"dry-run" description:"Dry run mode."`
}
GitHubAction options.
type Label ¶
type Label struct {
LogLevel string `long:"log-level" description:"Log level."`
DryRun bool `long:"dry-run" description:"Dry run mode."`
WebHook *WebHook `long:"web-hook" description:"Run as WebHook."`
RulesFilePath string `long:"rules-path" description:"Path to the rule file."`
GitHub *GitHub `description:"GitHub options."`
}
Label options.
type Report ¶
type Report struct {
LogLevel string `long:"log-level" description:"Log level."`
DryRun bool `long:"dry-run" description:"Dry run mode."`
ServerMode bool `long:"server" description:"Server mode."`
ServerPort int `long:"port" description:"Server port."`
GitHub *GitHub `description:"GitHub options."`
Slack *Slack `description:"Slack options."`
}
Report options.
Click to show internal directories.
Click to hide internal directories.