github.com/kubevela/workflow@v0.6.0/pkg/tasks/template/static/builtin-apply-component.cue (about)

     1  import (
     2  	"vela/op"
     3  )
     4  
     5  oam: op.oam
     6  // apply component and traits
     7  apply: oam.#ApplyComponent & {
     8  	value: parameter
     9  }
    10  
    11  if apply.output != _|_ {
    12  	output: apply.output
    13  }
    14  
    15  if apply.outputs != _|_ {
    16  	outputs: apply.outputs
    17  }
    18  parameter: {...}