runner

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func New

func New(c *config.Config) (*Runner, error)

func (*Runner) CheckIf added in v0.10.0

func (r *Runner) CheckIf(cond string, i *target.Target) bool

func (*Runner) FetchTarget added in v0.8.0

func (r *Runner) FetchTarget(ctx context.Context, n int) (*target.Target, error)

func (*Runner) InitClients added in v0.8.0

func (r *Runner) InitClients() error

func (*Runner) PerformAssigneesAction added in v0.5.0

func (r *Runner) PerformAssigneesAction(ctx context.Context, i *target.Target, assignees []string) error

func (*Runner) PerformCommentAction added in v0.5.0

func (r *Runner) PerformCommentAction(ctx context.Context, i *target.Target, comment string) error

func (*Runner) PerformLabelsAction added in v0.5.0

func (r *Runner) PerformLabelsAction(ctx context.Context, i *target.Target, labels []string) error

func (*Runner) PerformNotifyAction added in v0.5.0

func (r *Runner) PerformNotifyAction(ctx context.Context, _ *target.Target, notify string) error

func (*Runner) PerformReviewersAction added in v0.5.0

func (r *Runner) PerformReviewersAction(ctx context.Context, i *target.Target, reviewers []string) error

func (*Runner) PerformRunAction added in v0.5.0

func (r *Runner) PerformRunAction(ctx context.Context, _ *target.Target, command string) error

func (*Runner) PerformStateAction added in v0.5.0

func (r *Runner) PerformStateAction(ctx context.Context, i *target.Target, state string) error

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

type TaskQueue

type TaskQueue struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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