Files
kubevela/pkg/schema/testdata/webservice.json
Tianxin Dong 4f8bf44684 Refactor: use cuex engine (#6575)
* refactor: use cuex engine

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix lint

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix unit test

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix static check and sdk tests

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix testdata

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix velaql unit test

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix docgen parser

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix cuegen

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix velaql

Signed-off-by: FogDong <fog@bentoml.com>

* fix: delete useless print

Signed-off-by: FogDong <fog@bentoml.com>

* fix: set client for ql

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix mt tests

Signed-off-by: FogDong <fog@bentoml.com>

* fix: set kubeclient in generator

Signed-off-by: FogDong <fog@bentoml.com>

* fix: use pass kube client

Signed-off-by: FogDong <fog@bentoml.com>

* fix: simplify ql

Signed-off-by: FogDong <fog@bentoml.com>

* fix: fix lint

Signed-off-by: FogDong <fog@bentoml.com>

* fix: add wf debug back

Signed-off-by: FogDong <fog@bentoml.com>

* fix: add loader

Signed-off-by: FogDong <fog@bentoml.com>

---------

Signed-off-by: FogDong <fog@bentoml.com>
2024-07-27 17:44:20 +08:00

88 lines
3.3 KiB
JSON

{
"openapi": "3.0.0",
"info": {
"title": "Generated by cue.",
"version": "no version"
},
"paths": {},
"components": {
"schemas": {
"parameter": {
"type": "object",
"required": [
"image",
"port"
],
"properties": {
"cmd": {
"description": "+usage=Commands to run in the container",
"type": "array",
"items": {
"type": "string"
}
},
"env": {
"description": "+usage=Define arguments by using environment variables",
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "+usage=Environment variable name",
"type": "string"
},
"value": {
"description": "+usage=The value of the environment variable",
"type": "string"
},
"valueFrom": {
"description": "+usage=Specifies a source the value of this var should come from",
"type": "object",
"required": [
"secretKeyRef"
],
"properties": {
"secretKeyRef": {
"description": "+usage=Selects a key of a secret in the pod's namespace",
"type": "object",
"required": [
"name",
"key"
],
"properties": {
"name": {
"description": "+usage=The name of the secret in the pod's namespace to select from",
"type": "string"
},
"key": {
"description": "+usage=The key of the secret to select from. Must be a valid secret key",
"type": "string"
}
}
}
}
}
}
}
},
"image": {
"description": "+usage=Which image would you like to use for your service\n+short=i",
"type": "string"
},
"port": {
"description": "+usage=Which port do you want customer traffic sent to\n+short=p",
"type": "integer",
"default": 80
},
"cpu": {
"description": "+usage=Number of CPU units for the service, like `0.5` (0.5 CPU core), `1` (1 CPU core)",
"type": "string"
}
}
}
}
}
}