Documentation
¶
Index ¶
- func RunOnEveryItem(c *configuration.Config, op operations.Operation, runner Runner, ...) error
- func RunSingle(c *configuration.Config, op operations.Operation, item gh.Item, ...) error
- func RunSingleFromConfiguration(c *configuration.Config, operationConfig configuration.OperationConfiguration, ...) error
- type IssueRunner
- type PullRequestRunner
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunOnEveryItem ¶
func RunOnEveryItem(c *configuration.Config, op operations.Operation, runner Runner, filters settings.Filters) error
RunOnEveryItem runs the specified operation on all known items as provided by the specified runner.
func RunSingle ¶
func RunSingle(c *configuration.Config, op operations.Operation, item gh.Item, filters settings.Filters) error
RunSingle runs the specified operations on a single GitHub item.
func RunSingleFromConfiguration ¶
func RunSingleFromConfiguration(c *configuration.Config, operationConfig configuration.OperationConfiguration, item gh.Item) error
RunSingleFromConfiguration runs the operations as described by its configuration on a single GitHub item.
Types ¶
type IssueRunner ¶
type IssueRunner struct{}
IssueRunner provides issue items for operations to run on.
func (*IssueRunner) ListItems ¶
func (r *IssueRunner) ListItems(context *operations.Context, op operations.Operation, page int) ([]gh.Item, *github.Response, error)
ListItems returns a list of GitHub items for the specified operation to run on.
type PullRequestRunner ¶
type PullRequestRunner struct{}
PullRequestRunner provides pull request items for operations to run on.
func (*PullRequestRunner) ListItems ¶
func (r *PullRequestRunner) ListItems(context *operations.Context, op operations.Operation, page int) ([]gh.Item, *github.Response, error)
ListItems returns a list of GitHub items for the specified operation to run on.
Click to show internal directories.
Click to hide internal directories.