Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
HTTP HTTPConfig `mapstructure:"http"`
Webhook WebhookConfig `mapstructure:"webhook"`
GitHubApp GitHubAppConfig `mapstructure:"github"`
DefaultRepo RepoConfig `mapstructure:"defaults"`
Repos map[string]RepoConfig `mapstructure:"repos"`
}
func NewWithDefaults ¶
func NewWithDefaults() Config
type GitHubAppConfig ¶ added in v0.2.0
type HTTPConfig ¶
type LabelConfig ¶ added in v0.3.1
type RepoConfig ¶ added in v0.3.1
type RepoConfig struct {
Disabled bool `mapstructure:"disabled"`
Labels LabelConfig `mapstructure:"labels"`
WipPatterns []string `mapstructure:"wipPatterns"`
}
type WebhookConfig ¶
type WebhookConfig struct {
Secret string `mapstructure:"secret"`
}
Click to show internal directories.
Click to hide internal directories.