Documentation ¶
Index ¶
- func New(param map[string]interface{}, action domain.ActionConfig) (domain.RepoPolicy, error)
- type Rule
- func (rule *Rule) Action() domain.ActionConfig
- func (rule *Rule) DataDogMetric(repo domain.Repository, now *float64) datadog.Metric
- func (rule *Rule) Fix(ctx context.Context, param *domain.ParamAction)
- func (rule *Rule) Match(ctx context.Context, repo domain.Repository) (bool, error)
- func (rule *Rule) SetGitHubClient(client *github.Client)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(param map[string]interface{}, action domain.ActionConfig) (domain.RepoPolicy, error)
Types ¶
type Rule ¶
type Rule struct { CheckListIssues bool // contains filtered or unexported fields }
func (*Rule) Action ¶
func (rule *Rule) Action() domain.ActionConfig
func (*Rule) DataDogMetric ¶
func (rule *Rule) DataDogMetric(repo domain.Repository, now *float64) datadog.Metric
func (*Rule) SetGitHubClient ¶
Click to show internal directories.
Click to hide internal directories.