Files
kubevela/pkg/stdlib/pkgs/config.cue
barnettZQG 9e00d48206 Fix: upgrade the workflow to support the provider about the config (#4878)
* Fix: upgrade the workflow to support the provider about the config

Signed-off-by: barnettZQG <barnett.zqg@gmail.com>

* Fix: change the yaml

Signed-off-by: barnettZQG <barnett.zqg@gmail.com>

* Fix: retry CI

Signed-off-by: barnettZQG <barnett.zqg@gmail.com>

* Fix: change the definitions

Signed-off-by: barnettZQG <barnett.zqg@gmail.com>

Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
2022-10-18 17:15:14 +08:00

41 lines
481 B
CUE

#Create: {
#do: "create"
#provider: "config"
name: string
namespace: string
template?: string
config: {
...
}
}
#Delete: {
#do: "delete"
#provider: "config"
name: string
namespace: string
}
#Read: {
#do: "read"
#provider: "config"
name: string
namespace: string
config: {...}
}
#List: {
#do: "list"
#provider: "config"
// Must query with the template
template: string
namespace: string
configs: [...{...}]
}