origin

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 2 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseImageRefs

func BaseImageRefs(phpShort, hash string) []string

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 ChangelogURLs

func ChangelogURLs() []string

ChangelogURLs lists raw changelog URLs.

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 ReleaseBaseURLs

func ReleaseBaseURLs() []string

ReleaseBaseURLs lists GitHub releases 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.

Jump to

Keyboard shortcuts

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