github.com/oam-dev/kubevela@v1.9.11/pkg/cue/testdata/workloads/test-param.cue (about) 1 Template: { 2 } 3 4 parameter: { 5 name: string 6 // +usage=Which image would you like to use for your service 7 // +short=i 8 image: string 9 // +usage=Which port do you want customer traffic sent to 10 // +short=p 11 port: *8080 | int 12 env: [...{ 13 name: string 14 value: string 15 }] 16 enable: *false | bool 17 fval: *64.3 | number 18 nval: number 19 }