Documentation ¶
Index ¶
- Variables
- func New(ctx context.Context, params Params) (Controller, Params, error)
- type Controller
- func (ctrl Controller) CheckRepo(ctx context.Context, repo Repo) (bool, error)
- func (ctrl Controller) CheckRun(ctx context.Context, repo Repo) (bool, error)
- func (ctrl Controller) CheckStatus(ctx context.Context, repo Repo) (bool, error)
- func (ctrl Controller) CheckSuite(ctx context.Context, repo Repo) (bool, error)
- func (ctrl Controller) Run(ctx context.Context, params Params) error
- type DataDog
- type ExistFile
- type GitHub
- type Params
- type Reader
- type Repo
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound error = errors.New("configuration file isn't found")
Functions ¶
Types ¶
type Controller ¶
func (Controller) CheckStatus ¶
func (Controller) CheckSuite ¶
type GitHub ¶
type GitHub interface { GetCombinedStatus(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) (*github.CombinedStatus, *github.Response, error) ListCheckRunsForRef(ctx context.Context, owner, repo, ref string, opts *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error) ListCheckSuitesForRef(ctx context.Context, owner, repo, ref string, opts *github.ListCheckSuiteOptions) (*github.ListCheckSuiteResults, *github.Response, error) }
Click to show internal directories.
Click to hide internal directories.