translate_lock.md
May 6, 2026 ยท View on GitHub
Repository rules for translating apko.lock.json
translate_apko_lock
load("@rules_apko//apko:translate_lock.bzl", "translate_apko_lock")
translate_apko_lock(name, lock, target_name)
Repository rule to generate starlark code from an apko.lock.json file.
See apko-cache.md documentation.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this repository. | Name | required | |
| lock | label to the apko.lock.json file. | Label | required | |
| target_name | internal. do not use! | String | optional | "" |