mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-21 00:33:29 +00:00
* feat: add new providers and fix definitions Signed-off-by: FogDong <fog@bentoml.com> * fix: fix definitions and tests Signed-off-by: FogDong <fog@bentoml.com> * fix: fix lint and helm Signed-off-by: FogDong <fog@bentoml.com> * fix: fix definitions Signed-off-by: FogDong <fog@bentoml.com> * fix: add multicluster Signed-off-by: FogDong <fog@bentoml.com> * fix: fix e2e Signed-off-by: FogDong <fog@bentoml.com> * fix: fix dynamic client for cli Signed-off-by: FogDong <fog@bentoml.com> * fix: fix api gen Signed-off-by: FogDong <fog@bentoml.com> * fix: fix lint Signed-off-by: FogDong <fog@bentoml.com> --------- Signed-off-by: FogDong <fog@bentoml.com>
23 lines
326 B
CUE
23 lines
326 B
CUE
import (
|
|
"vela/oam"
|
|
)
|
|
|
|
// apply component and traits
|
|
apply: oam.#ApplyComponent & {
|
|
$params: parameter
|
|
}
|
|
|
|
if apply.$returns.output != _|_ {
|
|
output: apply.$returns.output
|
|
}
|
|
|
|
if apply.$returns.outputs != _|_ {
|
|
outputs: apply.$returns.outputs
|
|
}
|
|
|
|
parameter: {
|
|
value: {...}
|
|
cluster: *"" | string
|
|
namespace: *"" | string
|
|
}
|