hasissues

package
v0.1.0-0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) Fix

func (rule *Rule) Fix(ctx context.Context, param *domain.ParamAction)

func (*Rule) Match

func (rule *Rule) Match(ctx context.Context, repo domain.Repository) (bool, error)

func (*Rule) SetGitHubClient

func (rule *Rule) SetGitHubClient(client *github.Client)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL