mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +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>
55 lines
627 B
CUE
55 lines
627 B
CUE
// config.cue
|
|
|
|
#CreateConfig: {
|
|
#do: "create"
|
|
#provider: "config"
|
|
|
|
$params: {
|
|
name: string
|
|
namespace: string
|
|
template?: string
|
|
config: {
|
|
...
|
|
}
|
|
}
|
|
}
|
|
|
|
#DeleteConfig: {
|
|
#do: "delete"
|
|
#provider: "config"
|
|
|
|
$params: {
|
|
name: string
|
|
namespace: string
|
|
}
|
|
}
|
|
|
|
#ReadConfig: {
|
|
#do: "read"
|
|
#provider: "config"
|
|
|
|
$params: {
|
|
name: string
|
|
namespace: string
|
|
}
|
|
|
|
$returns: {
|
|
config: {...}
|
|
}
|
|
}
|
|
|
|
#ListConfig: {
|
|
#do: "list"
|
|
#provider: "config"
|
|
|
|
$params: {
|
|
// Must query with the template
|
|
template: string
|
|
namespace: string
|
|
}
|
|
|
|
$returns: {
|
|
configs: [...{...}]
|
|
}
|
|
}
|