Skip to content

Commit

Permalink
Merge pull request kubernetes#5067 from lavalamp/fix4
Browse files Browse the repository at this point in the history
add section on constants being camel case
  • Loading branch information
erictune committed Mar 5, 2015
2 parents dff0bd1 + e3544ed commit 4f12f4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/api-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f12f4f

Please sign in to comment.