source

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source interface {
	Subscribe(ctx context.Context) (<-chan domain.Job, error)
}

Source streams queued jobs from an external system (e.g. GitHub Actions).

Subscribe returns a channel that closes when ctx is cancelled. Implementations may emit duplicate Jobs; consumers should dedupe by Job identity.

Directories

Path Synopsis
Package github implements a polling Source backed by the GitHub Actions API.
Package github implements a polling Source backed by the GitHub Actions API.
Package scaleset implements a Source backed by GitHub's Runner Scale Set API (the mechanism behind actions-runner-controller, via the standalone actions/scaleset client).
Package scaleset implements a Source backed by GitHub's Runner Scale Set API (the mechanism behind actions-runner-controller, via the standalone actions/scaleset client).

Jump to

Keyboard shortcuts

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