Directories
¶
| Path | Synopsis |
|---|---|
|
flows
|
|
|
cmd/bundle
command
Command bundle inlines the load("./<path>.star") graph rooted at flows/entrypoint.star into the single self-contained deploy.star the driver gem ships.
|
Command bundle inlines the load("./<path>.star") graph rooted at flows/entrypoint.star into the single self-contained deploy.star the driver gem ships. |
|
integration_test
|
|
|
cmd/autoflow-driver
command
autoflow-driver kicks off one AutoFlow workflow run via the AutoFlow.StartWorkflow gRPC on kas's API server, optionally passing the workflow's named kwargs (--kwargs-file).
|
autoflow-driver kicks off one AutoFlow workflow run via the AutoFlow.StartWorkflow gRPC on kas's API server, optionally passing the workflow's named kwargs (--kwargs-file). |
|
cmd/extractcrd
command
Command extractcrd lifts one CustomResourceDefinition out of the pinned argo-rollouts install.yaml and writes it verbatim to a file, so a Go test can install the same CRD the harness applies to its cluster.
|
Command extractcrd lifts one CustomResourceDefinition out of the pinned argo-rollouts install.yaml and writes it verbatim to a file, so a Go test can install the same CRD the harness applies to its cluster. |
|
pkg
|
|
|
api/function
Package function defines the seams kas injects into the CD Functions library.
|
Package function defines the seams kas injects into the CD Functions library. |
|
gitlabfunctions
Package gitlabfunctions implements the gitlab-function AutoFlow module, which speaks AutoFlow proto Values on its boundary and structpb within.
|
Package gitlabfunctions implements the gitlab-function AutoFlow module, which speaks AutoFlow proto Values on its boundary and structpb within. |
|
internal/function
Package function holds the helpers shared across the builtin Function implementations.
|
Package function holds the helpers shared across the builtin Function implementations. |
|
internal/function/argopromote
Package argopromote implements the argo.promote builtin function: clear one canary pause gate on an Argo Rollout, idempotently.
|
Package argopromote implements the argo.promote builtin function: clear one canary pause gate on an Argo Rollout, idempotently. |
|
internal/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. |
|
internal/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. |
|
internal/function/functiontest
Package functiontest holds an httptest-backed GitLab client for the builtin Function tests.
|
Package functiontest holds an httptest-backed GitLab client for the builtin Function tests. |
|
internal/function/k8sget
Package k8sget implements the k8s.get builtin function: a generic, idempotent read of a single Kubernetes object by api_version, kind, namespace, and name.
|
Package k8sget implements the k8s.get builtin function: a generic, idempotent read of a single Kubernetes object by api_version, kind, namespace, and name. |
|
internal/function/manifest
Package manifest mutates Kubernetes GitOps manifests by editing a structured YAML document model, never by splicing strings into manifest text: only the matched document is re-encoded, so its siblings survive byte-for-byte.
|
Package manifest mutates Kubernetes GitOps manifests by editing a structured YAML document model, never by splicing strings into manifest text: only the matched document is re-encoded, so its siblings survive byte-for-byte. |
|
internal/function/pinimages
Package pinimages implements manifest.pin_images: for each service, it finds the workload document matching the service name and sets each artifact's "source image:version" reference on the container already running that artifact's image repository.
|
Package pinimages implements manifest.pin_images: for each service, it finds the workload document matching the service name and sets each artifact's "source image:version" reference on the container already running that artifact's image repository. |
|
internal/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. |
|
internal/function/setrollingstrategy
Package setrollingstrategy implements manifest.set_rolling_strategy: it finds the Rollout document matching the target service and replaces its spec.strategy with a canary carrying the given surge bounds and no steps, which Argo runs as a rolling update.
|
Package setrollingstrategy implements manifest.set_rolling_strategy: it finds the Rollout document matching the target service and replaces its spec.strategy with a canary carrying the given surge bounds and no steps, which Argo runs as a rolling update. |
Click to show internal directories.
Click to hide internal directories.