github.com/oam-dev/kubevela@v1.9.11/vela-templates/definitions/internal/workflowstep/list-config.cue (about) 1 import ( 2 "vela/op" 3 ) 4 5 "list-config": { 6 type: "workflow-step" 7 annotations: { 8 "category": "Config Management" 9 } 10 labels: {} 11 description: "List the configs" 12 } 13 template: { 14 output: op.#ListConfig & { 15 if parameter.namespace != _|_ { 16 namespace: parameter.namespace 17 } 18 if parameter.namespace == _|_ { 19 namespace: context.namespace 20 } 21 template: parameter.template 22 } 23 parameter: { 24 //+usage=Specify the template of the config. 25 template: string 26 //+usage=Specify the namespace of the config. 27 namespace?: string 28 } 29 }