@jkcfg/kubernetes
Version:
jk Kubernetes library
52 lines • 1.75 kB
JSON
{
"description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
"required": [
"groupVersion",
"resources"
],
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
"type": [
"string",
"null"
]
},
"groupVersion": {
"description": "groupVersion is the group and version this APIResourceList is for.",
"type": [
"string",
"null"
]
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"type": [
"string",
"null"
],
"enum": [
"APIResourceList"
]
},
"resources": {
"description": "resources contains the name of the resources and if they are namespaced.",
"type": [
"array",
"null"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResource"
}
}
},
"x-kubernetes-group-version-kind": [
{
"group": "",
"version": "v1",
"kind": "APIResourceList"
}
],
"$schema": "http://json-schema.org/schema#",
"type": "object"
}