Documentation
¶
Overview ¶
Package source loads manifest YAML from a local path or URL. GitHub and GitHub Enterprise URLs are authenticated via the gh CLI credential store (respects GH_TOKEN, GITHUB_TOKEN, and ~/.config/gh/hosts.yml).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fetch ¶
Fetch retrieves YAML manifest content from location, which may be:
- A local file path (no scheme, or file://)
- A generic HTTPS URL
- A GitHub blob URL: https://github.com/user/repo/blob/branch/path
- A GitHub raw URL: https://raw.githubusercontent.com/user/repo/branch/path
- A GitHub Gist URL: https://gist.github.com/user/<id> (picks first YAML file)
- A GitHub Gist raw: https://gist.github.com/user/<id>/raw/<rev>/<file>
- A GHE blob URL: https://<host>/user/repo/blob/branch/path
- Any HTTPS URL where the gh CLI has stored credentials for that host
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.