Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.