blob: 4c458111d04005628d5e8cd419de94caf3b0b131 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
raw: true
eval: true
noOpt: true
-- in.cue --
{
job: [Name=_]: {
name: Name
replicas: uint | *1 @protobuf(10)
command: string
}
job: list: command: "ls"
job: nginx: {
command: "nginx"
replicas: 2
}
}
-- out/def --
job: {
{[Name=string]: {
name: Name, replicas: >=0 | *1 @protobuf(10), command: string
}}
list: {
name: "list"
replicas: >=0 | *1 @protobuf(10)
command: "ls"
}
nginx: {
name: "nginx"
replicas: 2 @protobuf(10)
command: "nginx"
}
}
-- out/export --
job: {
list: {
name: "list"
replicas: 1 @protobuf(10)
command: "ls"
}
nginx: {
name: "nginx"
replicas: 2 @protobuf(10)
command: "nginx"
}
}
-- out/yaml --
job:
list:
name: list
replicas: 1
command: ls
nginx:
name: nginx
replicas: 2
command: nginx
-- out/json --
{"job":{"list":{"name":"list","replicas":1,"command":"ls"},"nginx":{"name":"nginx","replicas":2,"command":"nginx"}}}