provisioning/schemas/lib/contracts.ncl
Jesús Pérez 44648e3206
chore: complete nickel migration and consolidate legacy configs
- Remove KCL ecosystem (~220 files deleted)
- Migrate all infrastructure to Nickel schema system
- Consolidate documentation: legacy docs → provisioning/docs/src/
- Add CI/CD workflows (.github/) and Rust build config (.cargo/)
- Update core system for Nickel schema parsing
- Update README.md and CHANGES.md for v5.0.0 release
- Fix pre-commit hooks: end-of-file, trailing-whitespace
- Breaking changes: KCL workspaces require migration
- Migration bridge available in docs/src/development/
2026-01-08 09:55:37 +00:00

59 lines
1.1 KiB
Plaintext

# | KCL core lib schema contracts
# | Migrated from: provisioning/kcl/lib.k
# | Pattern: Schema definitions only
{
StorageVol = {
name | String,
size | Number,
total | Number,
type | String,
mount | Bool,
mount_path | String | optional,
fstab | Bool,
},
Storage = {
name | String,
size | Number,
total | Number,
type | String,
mount | Bool,
mount_path | String | optional,
fstab | Bool,
parts,
},
TaskServDef = {
name | String,
install_mode | String | default = "library",
profile | String | default = "default",
target_save_path | String | default = "",
},
ClusterDef = {
name | String,
profile | String | default = "default",
target_save_path | String | default = "",
},
ScaleData = {
def | String,
disabled | Bool,
mode | String,
expire | Dyn | optional,
from | Dyn | optional,
to | Dyn | optional,
},
ScaleResource = {
default,
fallback | Dyn | optional,
up | Dyn | optional,
down | Dyn | optional,
min | Dyn | optional,
max | Dyn | optional,
path | String,
},
}