pkg/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MIT

Directories

Path Synopsis
api
function
Package function defines the public contracts kas injects into the CD Functions library: the seams through which a built-in Function reaches a resource it cannot construct for itself.
Package function defines the public contracts kas injects into the CD Functions library: the seams through which a built-in Function reaches a resource it cannot construct for itself.
Package gitlabfunctions implements the gitlab-function AutoFlow module: the bridge that lets a Starlark workflow call this repo's built-in CD Functions with load("module:gitlab-function", "run") then run(function="builtin://gitlab_project.read_files", inputs={...}).
Package gitlabfunctions implements the gitlab-function AutoFlow module: the bridge that lets a Starlark workflow call this repo's built-in CD Functions with load("module:gitlab-function", "run") then run(function="builtin://gitlab_project.read_files", inputs={...}).
internal
function
Package function holds helpers shared across the builtin function implementations: GitLab client construction and the ErrNotFound sentinel (for gitlab_project.* Functions), the VersionedFile/CommitAction commit-IO types and files-input reader (for the manifest.* Functions), and JSONL output writing (for all).
Package function holds helpers shared across the builtin function implementations: GitLab client construction and the ErrNotFound sentinel (for gitlab_project.* Functions), the VersionedFile/CommitAction commit-IO types and files-input reader (for the manifest.* Functions), and JSONL output writing (for all).
function/argopromote
Package argopromote implements the argo.promote builtin function: advance an Argo Rollout past one canary pause point, idempotently.
Package argopromote implements the argo.promote builtin function: advance an Argo Rollout past one canary pause point, idempotently.
function/argosync
Package argosync implements the argo.sync builtin function: set an Argo CD Application's spec.source.targetRevision and trigger a sync.
Package argosync implements the argo.sync builtin function: set an Argo CD Application's spec.source.targetRevision and trigger a sync.
function/commit
Package commit implements the gitlab_project.commit builtin function: create a commit with one or more file changes on a branch in a GitLab project.
Package commit implements the gitlab_project.commit builtin function: create a commit with one or more file changes on a branch in a GitLab project.
function/functiontest
Package functiontest holds test helpers shared by the builtin gitlab_project.* function tests: an httptest-backed GitLab client and a JSONL output-file parser.
Package functiontest holds test helpers shared by the builtin gitlab_project.* function tests: an httptest-backed GitLab client and a JSONL output-file parser.
function/k8sget
Package k8sget implements the k8s.get builtin function: a generic, idempotent read of a single Kubernetes object, identified by api_version, kind, (optional) namespace, and name.
Package k8sget implements the k8s.get builtin function: a generic, idempotent read of a single Kubernetes object, identified by api_version, kind, (optional) namespace, and name.
function/manifest
Package manifest is the shared machinery the manifest.* CD Functions use to mutate Kubernetes GitOps manifests by editing a structured YAML document model, never by splicing strings into manifest text.
Package manifest is the shared machinery the manifest.* CD Functions use to mutate Kubernetes GitOps manifests by editing a structured YAML document model, never by splicing strings into manifest text.
function/pinimages
Package pinimages implements the manifest.pin_images builtin function: pin service artifact images into their Kubernetes workload manifests by editing a structured document model, never by splicing strings into manifest text.
Package pinimages implements the manifest.pin_images builtin function: pin service artifact images into their Kubernetes workload manifests by editing a structured document model, never by splicing strings into manifest text.
function/readfile
Package readfile implements the gitlab_project.read_files builtin function: read one or more files from a GitLab project at a Git ref.
Package readfile implements the gitlab_project.read_files builtin function: read one or more files from a GitLab project at a Git ref.
function/setrollingstrategy
Package setrollingstrategy implements the manifest.set_rolling_strategy builtin function: set a service's Argo Rollout to a rolling update strategy by editing a structured document model, never by splicing strings into manifest text.
Package setrollingstrategy implements the manifest.set_rolling_strategy builtin function: set a service's Argo Rollout to a rolling update strategy by editing a structured document model, never by splicing strings into manifest text.

Jump to

Keyboard shortcuts

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