Documentation
¶
Index ¶
- func CancelWaitingJob(ctx *context.Context)
- func QueueDepthJSON(ctx *context.Context)
- func RedirectToDefaultSetting(ctx *context.Context)
- func ResetRunnerRegistrationToken(ctx *context.Context)
- func RunnerAddLabel(ctx *context.Context)
- func RunnerDeletePost(ctx *context.Context)
- func RunnerRemoveLabel(ctx *context.Context)
- func RunnerRequestBandwidthTest(ctx *context.Context)
- func RunnerRequestCleanup(ctx *context.Context)
- func RunnerStatusJSON(ctx *context.Context)
- func RunnerUseSuggestedLabels(ctx *context.Context)
- func Runners(ctx *context.Context)
- func RunnersEdit(ctx *context.Context)
- func RunnersEditPost(ctx *context.Context)
- func RunnersStatusJSON(ctx *context.Context)
- func VariableCreate(ctx *context.Context)
- func VariableDelete(ctx *context.Context)
- func VariableUpdate(ctx *context.Context)
- func Variables(ctx *context.Context)
- func WaitingJobs(ctx *context.Context)
- type WaitingJobInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelWaitingJob ¶ added in v3.1.59
CancelWaitingJob cancels a waiting job from the queue
func QueueDepthJSON ¶
QueueDepthJSON returns queue depth for all labels as JSON
func RunnerAddLabel ¶
RunnerAddLabel adds a single label to a runner
func RunnerDeletePost ¶
RunnerDeletePost response for deleting runner
func RunnerRemoveLabel ¶
RunnerRemoveLabel removes a single label from a runner
func RunnerRequestBandwidthTest ¶
RunnerRequestBandwidthTest handles admin request to trigger a bandwidth test
func RunnerRequestCleanup ¶
RunnerRequestCleanup handles admin request to trigger a force cleanup on the runner
func RunnerStatusJSON ¶
RunnerStatusJSON returns runner status as JSON for AJAX polling
func RunnerUseSuggestedLabels ¶
RunnerUseSuggestedLabels adds all suggested labels based on capabilities
func Runners ¶
Runners render settings/actions/runners page for repo level
func RunnersEdit ¶
RunnersEdit renders runner edit page for repository level
func RunnersStatusJSON ¶
RunnersStatusJSON returns status for all runners as JSON for AJAX polling on the list page
Types ¶
type WaitingJobInfo ¶ added in v3.1.59
type WaitingJobInfo struct {
*actions_model.ActionRunJob
WaitingDuration string
WaitingMinutes int64
IsStuck bool
HasMatchingRunner bool
MatchingRunners []string
}
WaitingJobInfo contains job info with orphan detection data
Source Files
¶
- runners.go
- variables.go