File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ naming convention:
23
23
are recommended to avoid mixture of plural and singular words in
24
24
a package name. For example, ` istio.network.config.v1 ` .
25
25
26
- * Message/enum/method names must use ` CamelCase ` with embedded
27
- acronyms. For example, ` HTTPRequest ` .
26
+ * Message/enum/method names must use ` CamelCase ` without any embedded
27
+ acronyms, see [ #364 ] ( https://github.com/istio/api/issues/364 ) for
28
+ reasons. For example, ` HttpRequest ` .
28
29
29
30
* Enum values must use ` UPPERCASE_WITH_UNDERSCORE ` . For example,
30
31
` INT_TYPE ` .
@@ -38,11 +39,13 @@ naming convention:
38
39
## Versioning
39
40
40
41
When defining Kubernetes Custom Resource Definition (CRD) using
41
- ` proto3 ` , follow the following guidelines:
42
+ ` proto3 ` , follow these guidelines:
43
+
42
44
* The proto ` package ` name must match the Kubernetes ` apiVersion ` ,
43
45
excluding the ` .io ` DNS suffix and reversing the DNS segment
44
46
ordering. The Kubernetes ` apiVersion ` has the format of
45
47
` group/version ` .
48
+
46
49
* The proto message type must match the CRD ` kind ` name.
47
50
48
51
#### Example
You can’t perform that action at this time.
0 commit comments