kubernetes/docs
Kubernetes Submit Queue d3f36756d5 Merge pull request #29601 from caesarxuchao/check-list
Automatic merge from submit-queue

Validate list objects when building scheme

The first commit is #29468. This PR is a followup.

Modified the description of **List** in api-convention.md to:
`The name of a list kind must end with "List". Lists have a limited set of common metadata. All lists use the required "items" field to contain the array of objects they return. Any kind that has the "items" field must be a list kind.`

Also added code to enforce the above rules during scheme registration.

@kubernetes/sig-api-machinery @bgrant0607 @erictune @lavalamp @smarterclayton
2016-08-02 22:53:40 -07:00
..
admin Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
api-reference change the relative links to definition in operations.html to satisfy the new path set in the kubernetes.io 2016-07-29 13:29:34 -07:00
design Give the complete and correct path to client/apiserver related 2016-07-22 15:12:06 +08:00
devel add validateListType to pkg/api/meta/schema_test.go 2016-08-02 15:47:24 -07:00
getting-started-guides coreos/azure: Move into a separate repo 2016-07-30 12:56:46 +01:00
images Updated for v1.2.0. 2016-03-18 14:20:56 -07:00
man/man1 Add --scopes to kubectl-create-quota and add tests 2016-07-26 14:12:35 +02:00
proposals Merge pull request #28902 from ibm-contribs/fix_allow_all 2016-08-02 16:24:12 -07:00
user-guide Merge pull request #27417 from Pensu/master 2016-07-31 17:34:18 +02:00
yaml/kubectl Run new update-generated-docs.sh script 2016-06-08 17:25:21 -07:00
api.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
README.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
reporting-security-issues.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
roadmap.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
troubleshooting.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
warning.png Add an image to unversioned warnings 2015-07-14 15:28:59 -07:00
whatisk8s.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest release of this document can be found [here](http://releases.k8s.io/release-1.3/docs/README.md).

Documentation for other releases can be found at releases.k8s.io.

Kubernetes Documentation: releases.k8s.io/HEAD

Analytics