22 lines
580 B
Plaintext
22 lines
580 B
Plaintext
|
|
# | Cluster configuration contracts (schema definitions)
|
||
|
|
# | Migrated from: provisioning/kcl/cluster.k
|
||
|
|
# | Pattern: Pure schema definitions using Nickel contracts
|
||
|
|
|
||
|
|
{
|
||
|
|
Cluster = {
|
||
|
|
not_use | Bool,
|
||
|
|
name | String,
|
||
|
|
version | String,
|
||
|
|
def | String,
|
||
|
|
local_def_path | String,
|
||
|
|
template | String | optional,
|
||
|
|
clusters_save_path | String | optional,
|
||
|
|
profile | String | optional,
|
||
|
|
admin_host | String | optional,
|
||
|
|
admin_port | String | optional,
|
||
|
|
admin_user | String | optional,
|
||
|
|
ssh_key_path | String | optional,
|
||
|
|
scale | Dyn | optional,
|
||
|
|
},
|
||
|
|
}
|