Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct { Repository repository.Actions Ctx context.Context // contains filtered or unexported fields }
Runner for executing a task.
func (*Runner) ActiveWorkers ¶
ActiveWorkers returns a count of currently active worker jobs.
func (*Runner) Execute ¶
func (r *Runner) Execute(ctx context.Context, l logr.Logger, description, taskID string, action func(chan string) (string, error))
Execute a task, update repository with status.
func (*Runner) TotalWorkers ¶
TotalWorkers returns a count total workers executed.
Click to show internal directories.
Click to hide internal directories.