Help us shape the future of Go! Take the 2026 Go Developer Survey

actions

package
v3.1.61 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT, MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelAllWaitingJobs added in v3.1.61

func CancelAllWaitingJobs(ctx *context.Context)

CancelAllWaitingJobs cancels all waiting jobs, optionally filtered by label

func CancelWaitingJob added in v3.1.59

func CancelWaitingJob(ctx *context.Context)

CancelWaitingJob cancels a waiting job from the queue

func QueueDepthJSON

func QueueDepthJSON(ctx *context.Context)

QueueDepthJSON returns queue depth for all labels as JSON

func RedirectToDefaultSetting

func RedirectToDefaultSetting(ctx *context.Context)

func ResetRunnerRegistrationToken

func ResetRunnerRegistrationToken(ctx *context.Context)

func RunnerAddLabel

func RunnerAddLabel(ctx *context.Context)

RunnerAddLabel adds a single label to a runner

func RunnerDeletePost

func RunnerDeletePost(ctx *context.Context)

RunnerDeletePost response for deleting runner

func RunnerRemoveLabel

func RunnerRemoveLabel(ctx *context.Context)

RunnerRemoveLabel removes a single label from a runner

func RunnerRequestBandwidthTest

func RunnerRequestBandwidthTest(ctx *context.Context)

RunnerRequestBandwidthTest handles admin request to trigger a bandwidth test

func RunnerRequestCleanup

func RunnerRequestCleanup(ctx *context.Context)

RunnerRequestCleanup handles admin request to trigger a force cleanup on the runner

func RunnerStatusJSON

func RunnerStatusJSON(ctx *context.Context)

RunnerStatusJSON returns runner status as JSON for AJAX polling

func RunnerUseSuggestedLabels

func RunnerUseSuggestedLabels(ctx *context.Context)

RunnerUseSuggestedLabels adds all suggested labels based on capabilities

func Runners

func Runners(ctx *context.Context)

Runners render settings/actions/runners page for repo level

func RunnersEdit

func RunnersEdit(ctx *context.Context)

RunnersEdit renders runner edit page for repository level

func RunnersEditPost

func RunnersEditPost(ctx *context.Context)

func RunnersStatusJSON

func RunnersStatusJSON(ctx *context.Context)

RunnersStatusJSON returns status for all runners as JSON for AJAX polling on the list page

func VariableCreate

func VariableCreate(ctx *context.Context)

func VariableDelete

func VariableDelete(ctx *context.Context)

func VariableUpdate

func VariableUpdate(ctx *context.Context)

func Variables

func Variables(ctx *context.Context)

func WaitingJobs added in v3.1.57

func WaitingJobs(ctx *context.Context)

WaitingJobs shows waiting jobs filtered by label

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

Jump to

Keyboard shortcuts

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