Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Owner string `yaml:"org_name"` Repo RepoConfig Org OrgConfig }
type Controller ¶
type NewOrgPolicy ¶
type NewRepoPolicy ¶
type NewRepoPolicy func(param map[string]interface{}, action domain.ActionConfig) (domain.RepoPolicy, error)
type OrgRule ¶
func (*OrgRule) UnmarshalYAML ¶
type PolicyConfig ¶
type RepoConfig ¶
type RepoConfig struct {
Rules []Rule
}
type Rule ¶
type Rule struct { Policy domain.RepoPolicy Target Target }
func (*Rule) UnmarshalYAML ¶
type RuleConfig ¶
type RuleConfig struct { Policy PolicyConfig Target Target Action domain.ActionConfig }
type TargetPattern ¶
func (*TargetPattern) Match ¶
func (target *TargetPattern) Match(repo domain.Repository) (bool, error)
Click to show internal directories.
Click to hide internal directories.