mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-16 14:27:00 +00:00
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
19 lines
236 B
CUE
19 lines
236 B
CUE
import (
|
|
"vela/op"
|
|
)
|
|
|
|
oam: op.oam
|
|
// apply component and traits
|
|
apply: oam.#ApplyComponent & {
|
|
value: parameter
|
|
}
|
|
|
|
if apply.output != _|_ {
|
|
output: apply.output
|
|
}
|
|
|
|
if apply.outputs != _|_ {
|
|
outputs: apply.outputs
|
|
}
|
|
parameter: {...}
|