add section on constants being camel case

This commit is contained in:
Daniel Smith 2015-03-04 15:12:37 -08:00
parent 4cd59e629a
commit e3544edeea

View File

@ -111,6 +111,9 @@ ports:
This rule maintains the invariant that all JSON/YAML keys are fields in API objects. The only exceptions are pure maps in the API (currently, labels, selectors, and annotations), as opposed to sets of subobjects.
#### Constants
Some fields will have a list of allowed values (enumerations). These values will be strings, and they will be in CamelCase, with an initial uppercase letter. Examples: "ClusterFirst", "Pending", "ClientIP".
### Lists and Simple kinds