domain

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobKey

type JobKey string

func (JobKey) IsZero

func (key JobKey) IsZero() bool

func (JobKey) String

func (key JobKey) String() string

type ScaleSetJobIdentity

type ScaleSetJobIdentity struct {
	ScaleSetID int64  `json:"scale_set_id"`
	JobID      string `json:"job_id"`
}

ScaleSetJobIdentity is the identity exposed by the GitHub runner scale-set message queue. JobID is the opaque identity present from JobAssigned through JobCompleted; runnerRequestId appears only later on JobAvailable.

func (ScaleSetJobIdentity) Key

func (identity ScaleSetJobIdentity) Key() (JobKey, error)

func (ScaleSetJobIdentity) Validate

func (identity ScaleSetJobIdentity) Validate() error

type WebhookJobIdentity

type WebhookJobIdentity struct {
	RepositoryID  int64 `json:"repository_id"`
	WorkflowJobID int64 `json:"workflow_job_id"`
	RunAttempt    int64 `json:"run_attempt"`
}

WebhookJobIdentity is the stable identity available from workflow_job webhooks. RunAttempt is explicit because reruns need a fresh disposable VM.

func (WebhookJobIdentity) Key

func (identity WebhookJobIdentity) Key() (JobKey, error)

func (WebhookJobIdentity) Validate

func (identity WebhookJobIdentity) Validate() error

Jump to

Keyboard shortcuts

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