internal/

directory
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0

Directories

Path Synopsis
Package bootstrap prepares an empty customer repo from a kubriX release tag.
Package bootstrap prepares an empty customer repo from a kubriX release tag.
git
Package git is the seam to the service that hosts platform repositories and pull requests.
Package git is the seam to the service that hosts platform repositories and pull requests.
gittest
Package gittest provides an in-memory git.Host for tests.
Package gittest provides an in-memory git.Host for tests.
Package gitops runs the git binary; go-git cannot do the three-way merges upgrades need.
Package gitops runs the git binary; go-git cannot do the three-way merges upgrades need.
Package gitopsdiff renders the charts a change touches on two revisions of a platform repository and reports what changed: the rendered manifests per chart and test case, the subcharts' default values, and the effective values with the file and line that set them.
Package gitopsdiff renders the charts a change touches on two revisions of a platform repository and reports what changed: the rendered manifests per chart and test case, the subcharts' default values, and the effective values with the file and line that set them.
Package install is the Install run: taking a chosen target to a running kubriX platform.
Package install is the Install run: taking a chosen target to a running kubriX platform.
installtest
Package installtest provides fakes for testing Install runs without a cluster, a registry or GitHub.
Package installtest provides fakes for testing Install runs without a cluster, a registry or GitHub.
Package kubeconfig lists kubeconfig contexts and builds REST configs for them.
Package kubeconfig lists kubeconfig contexts and builds REST configs for them.
Package platforminstaller runs the kubriX platform installer, a Kubernetes Job from the kubriX source repository, and reads what it is installed from.
Package platforminstaller runs the kubriX platform installer, a Kubernetes Job from the kubriX source repository, and reads what it is installed from.
Package platformrepo knows the shape of a platform repository, the repository kubriX is installed from: where the customer config lives, which files are templates and what they render to, how the target values file lists the applications, and how apps are left out of it and found again.
Package platformrepo knows the shape of a platform repository, the repository kubriX is installed from: where the customer config lives, which files are templates and what they render to, how the target values file lists the applications, and how apps are left out of it and found again.
Package state keeps the Installations a user has made: the catalog of saved selections, stored in one file.
Package state keeps the Installations a user has made: the catalog of saved selections, stored in one file.
Package testrepo builds a small fake kubriX upstream git repository for tests.
Package testrepo builds a small fake kubriX upstream git repository for tests.
ui
uitest
Package uitest provides a scripted ui.UI for testing flows without a terminal.
Package uitest provides a scripted ui.UI for testing flows without a terminal.
Package upgrade proposes upgrading a platform repository to a newer kubriX release: it merges the release into a branch, re-renders what the release changed and opens a pull request.
Package upgrade proposes upgrading a platform repository to a newer kubriX release: it merges the release into a branch, re-renders what the release changed and opens a pull request.
values
engine
Package engine implements ordered Helm-values-style merging and provenance.
Package engine implements ordered Helm-values-style merging and provenance.
lint
Package lint reports suspicious or redundant values overlays.
Package lint reports suspicious or redundant values overlays.
output
Package output provides deterministic machine-readable and human renderers.
Package output provides deterministic machine-readable and human renderers.
overlay
Package overlay describes which values layers make up each application of a target type, independent of where that list comes from: a kubriX target chart, a .kubrix-values.yaml project config or files given on the command line.
Package overlay describes which values layers make up each application of a target type, independent of where that list comes from: a kubriX target chart, a .kubrix-values.yaml project config or files given on the command line.
projectconfig
Package projectconfig loads .kubrix-values.yaml, a hand-written list of the values files of each application per target type, for repositories that do not follow the kubriX target-chart layout.
Package projectconfig loads .kubrix-values.yaml, a hand-written list of the values files of each application per target type, for repositories that do not follow the kubriX target-chart layout.
targetchart
Package targetchart resolves the applications of a kubriX target type the way Argo CD does: it reads the bootstrap Application of the target type, renders the target chart with the values files it lists, and takes each rendered Application's chart path, value files, inline values and parameters.
Package targetchart resolves the applications of a kubriX target type the way Argo CD does: it reads the bootstrap Application of the target type, renders the target chart with the values files it lists, and takes each rendered Application's chart path, value files, inline values and parameters.
yamlpath
Package yamlpath parses Helm values YAML while retaining source positions, and joins and splits the dotted paths that name a value.
Package yamlpath parses Helm values YAML while retaining source positions, and joins and splits the dotted paths that name a value.
Package version handles kubriX release tags (vX.Y.Z) and CHANGELOG.md sections.
Package version handles kubriX release tags (vX.Y.Z) and CHANGELOG.md sections.

Jump to

Keyboard shortcuts

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