浏览文件
assets.go
27 行 · 763 B历史下载| 1 | // Package agentvm holds the files of this repository the binary embeds. |
| 2 | package agentvm |
| 3 | |
| 4 | import _ "embed" |
| 5 | |
| 6 | // CageVersion is the default version for source builds without linker flags. |
| 7 | // Release builds may override internal/version.Version explicitly. |
| 8 | // |
| 9 | //go:embed VERSION |
| 10 | var CageVersion string |
| 11 | |
| 12 | // SetupScript provisions the base VM: `agent-vm setup` runs it in the guest, |
| 13 | // after the choices as export lines. |
| 14 | // |
| 15 | //go:embed agent-vm.setup.sh |
| 16 | var SetupScript string |
| 17 | |
| 18 | // The license of agent-vm, the notice about third_party/, and the licenses of |
| 19 | // what the binary is built from (scripts/licenses): `agent-vm licenses`. |
| 20 | var ( |
| 21 | //go:embed LICENSE |
| 22 | License string |
| 23 | //go:embed NOTICE |
| 24 | Notice string |
| 25 | //go:embed THIRD_PARTY_LICENSES |
| 26 | ThirdPartyLicenses string |
| 27 | ) |

