mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +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>
41 lines
649 B
CUE
41 lines
649 B
CUE
// multicluster.cue
|
|
|
|
#ListClusters: {
|
|
#provider: "multicluster"
|
|
#do: "list-clusters"
|
|
|
|
$returns?: {
|
|
outputs: {
|
|
clusters: [...string]
|
|
}
|
|
}
|
|
}
|
|
|
|
#GetPlacementsFromTmulticlusterologyPolicies: {
|
|
#provider: "multicluster"
|
|
#do: "get-placements-from-tmulticlusterology-policies"
|
|
|
|
$params: {
|
|
policies: [...string]
|
|
}
|
|
$returns?: {
|
|
placements: [...{
|
|
cluster: string
|
|
namespace: string
|
|
}]
|
|
}
|
|
}
|
|
|
|
#Deploy: {
|
|
#provider: "multicluster"
|
|
#do: "deploy"
|
|
|
|
$params: {
|
|
policies: [...string]
|
|
parallelism: int
|
|
ignoreTerraformComponent: bool
|
|
inlinePolicies: *[] | [...{...}]
|
|
}
|
|
$returns?: {...}
|
|
}
|