Skip to content

Commit

Permalink
adding extended schemas for the rest of 1.7 series
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Apr 6, 2019
1 parent d4b4938 commit 5604fca
Show file tree
Hide file tree
Showing 2,904 changed files with 588,232 additions and 479,853 deletions.
17,493 changes: 8,908 additions & 8,585 deletions v1.7.0-local/_definitions.json

Large diffs are not rendered by default.

1,442 changes: 721 additions & 721 deletions v1.7.0-local/all.json

Large diffs are not rendered by default.

57 changes: 57 additions & 0 deletions v1.7.0-local/apigroup-meta-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
"required": [
"name",
"versions",
"serverAddressByClientCIDRs"
],
"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"
]
},
"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"
]
},
"name": {
"description": "name is the name of the group.",
"type": [
"string",
"null"
]
},
"preferredVersion": {
"description": "preferredVersion is the version preferred by the API server, which probably is the storage version.",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"
},
"serverAddressByClientCIDRs": {
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
"type": [
"array",
"null"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"
}
},
"versions": {
"description": "versions are the versions supported in this group.",
"type": [
"array",
"null"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"
}
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}
78 changes: 39 additions & 39 deletions v1.7.0-local/apigroup.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
{
"$schema": "http://json-schema.org/schema#",
"description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
"required": [
"name",
"versions",
"name",
"versions",
"serverAddressByClientCIDRs"
],
"type": "object",
"description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
],
"properties": {
"kind": {
"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",
"string",
"null"
],
"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"
},
"name": {
]
},
"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",
"string",
"null"
],
"description": "name is the name of the group."
},
"versions": {
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"
},
]
},
"name": {
"description": "name is the name of the group.",
"type": [
"array",
"string",
"null"
],
"description": "versions are the versions supported in this group."
},
"apiVersion": {
]
},
"preferredVersion": {
"description": "preferredVersion is the version preferred by the API server, which probably is the storage version.",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"
},
"serverAddressByClientCIDRs": {
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
"type": [
"string",
"array",
"null"
],
"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"
},
"serverAddressByClientCIDRs": {
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR"
},
}
},
"versions": {
"description": "versions are the versions supported in this group.",
"type": [
"array",
"array",
"null"
],
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP."
},
"preferredVersion": {
"description": "preferredVersion is the version preferred by the API server, which probably is the storage version.",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery"
}
}
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}
34 changes: 34 additions & 0 deletions v1.7.0-local/apigrouplist-meta-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
"required": [
"groups"
],
"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"
]
},
"groups": {
"description": "groups is a list of APIGroup.",
"type": [
"array",
"null"
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"
}
},
"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"
]
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}
42 changes: 21 additions & 21 deletions v1.7.0-local/apigrouplist.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"$schema": "http://json-schema.org/schema#",
"description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
"required": [
"groups"
],
"type": "object",
"description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
],
"properties": {
"kind": {
"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",
"string",
"null"
],
"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"
},
]
},
"groups": {
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"
},
"description": "groups is a list of APIGroup.",
"type": [
"array",
"array",
"null"
],
"description": "groups is a list of APIGroup."
},
"apiVersion": {
],
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup"
}
},
"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",
"string",
"null"
],
"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"
]
}
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}
78 changes: 78 additions & 0 deletions v1.7.0-local/apiresource-meta-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
"required": [
"name",
"singularName",
"namespaced",
"kind",
"verbs"
],
"properties": {
"categories": {
"description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
},
"kind": {
"description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
"type": [
"string",
"null"
]
},
"name": {
"description": "name is the plural name of the resource.",
"type": [
"string",
"null"
]
},
"namespaced": {
"description": "namespaced indicates if a resource is namespaced or not.",
"type": "boolean"
},
"shortNames": {
"description": "shortNames is a list of suggested short names of the resource.",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
},
"singularName": {
"description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.",
"type": [
"string",
"null"
]
},
"verbs": {
"description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}
Loading

0 comments on commit 5604fca

Please sign in to comment.