Documentation
¶
Overview ¶
Package origin centralises every URL lerd fetches its own assets from: release binaries, the framework and service stores, the changelog, and the GHCR base images. Everything is served from the lerd-env org (the geodro->lerd-env move is complete), and each endpoint is overridable via its environment variable for tests and mirrors.
Index ¶
- func BaseImageRefs(phpShort, hash string) []string
- func ChangelogURLs() []string
- func ExtraToolHosts() []string
- func ReleaseAPIBaseURLs() []string
- func ReleaseBaseURLs() []string
- func ReleaseDownloadBases() []string
- func ServiceStoreBaseURLs() []string
- func StoreBaseURLs() []string
- func ToolsManifestURLs() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseImageRefs ¶
BaseImageRefs lists GHCR refs for a prebuilt PHP-FPM base image, where phpShort is the dotless version (e.g. "85") and hash pins the image to the embedded Containerfile template.
func ExtraToolHosts ¶ added in v1.31.0
func ExtraToolHosts() []string
ExtraToolHosts lists additional hosts a published tool manifest may point at, for a test rig or a mirror. Empty by default: the built-in allowlist is what a normal install trusts.
func ReleaseAPIBaseURLs ¶
func ReleaseAPIBaseURLs() []string
ReleaseAPIBaseURLs lists GitHub API bases.
func ReleaseDownloadBases ¶
func ReleaseDownloadBases() []string
ReleaseDownloadBases lists release-asset download bases.
func ServiceStoreBaseURLs ¶ added in v1.28.0
func ServiceStoreBaseURLs() []string
ServiceStoreBaseURLs returns the service-preset-store base, nested under a services/ subdir.
func StoreBaseURLs ¶
func StoreBaseURLs() []string
StoreBaseURLs returns the framework-store base. The definitions live under a frameworks/ subdir (index.json + <name>.yaml), not at the repo root.
func ToolsManifestURLs ¶ added in v1.31.0
func ToolsManifestURLs() []string
ToolsManifestURLs lists raw URLs of the pinned host-tool manifest (internal/tools/tools.yaml); the embedded copy is the fallback when none answer.
Types ¶
This section is empty.