@jkcfg/kubernetes
Version:
jk Kubernetes library
57 lines • 1.32 kB
JSON
{
"$schema": "http://json-schema.org/schema#",
"required": [
"name",
"namespaced",
"kind",
"verbs"
],
"type": "object",
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
"properties": {
"shortNames": {
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"description": "shortNames is a list of suggested short names of the resource."
},
"namespaced": {
"type": "boolean",
"description": "namespaced indicates if a resource is namespaced or not."
},
"kind": {
"type": [
"string",
"null"
],
"description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')"
},
"verbs": {
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)"
},
"name": {
"type": [
"string",
"null"
],
"description": "name is the name of the resource."
}
}
}