Documentation ¶
Index ¶
Constants ¶
View Source
const ( ERR_DEFAULT_BRANCH = "The repository %s has an incorrect default branch." ERR_LICENSE = "The repository %s has an incorrect license." ERR_LABEL_MISSING = "The repository %s is missing the label %s." ERR_LABEL_EXTRA = "The repository %s has an extra label." ERR_ACCESS_MISSING = "The repository %s doesn't have the user." ERR_ACCESS_WRONG = "The repository %s's user's permission is incorrect." )
Variables ¶
This section is empty.
Functions ¶
func AddWardenFileFlag ¶ added in v0.3.0
Types ¶
type LicenseRule ¶ added in v0.2.0
type Rule ¶
type Rule struct { Repos []string `yaml:"repositories"` DefaultBranch string `yaml:"defaultBranch"` Archived bool `yaml:"archived"` // include archived repos in lookup? License *LicenseRule `yaml:"license"` Labels []string `yaml:"labels"` LabelStrategy string `yaml:"labelStrategy"` Access []UserPermission `yaml:"access"` AccessStrategy string `yaml:"accessStrategy"` }
type UserPermission ¶
Click to show internal directories.
Click to hide internal directories.