Make multi-key tags more explicit

This is in prep to simplify tag logic.  Don't rely on processing commas as new
tag delimiters.  Put new tags on new lines.  This had zero effect on generated
code (as intended).
This commit is contained in:
Tim Hockin
2016-06-19 05:38:27 -07:00
parent 052847f4ed
commit d88fc84bae
12 changed files with 48 additions and 24 deletions

View File

@@ -126,7 +126,8 @@ type RoleList struct {
Items []Role
}
// +genclient=true,nonNamespaced=true
// +genclient=true
// +nonNamespaced=true
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
type ClusterRole struct {
@@ -138,7 +139,8 @@ type ClusterRole struct {
Rules []PolicyRule
}
// +genclient=true,nonNamespaced=true
// +genclient=true
// +nonNamespaced=true
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
// and adds who information via Subject.

View File

@@ -113,7 +113,8 @@ type RoleList struct {
Items []Role `json:"items" protobuf:"bytes,2,rep,name=items"`
}
// +genclient=true,nonNamespaced=true
// +genclient=true
// +nonNamespaced=true
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
type ClusterRole struct {
@@ -125,7 +126,8 @@ type ClusterRole struct {
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
}
// +genclient=true,nonNamespaced=true
// +genclient=true
// +nonNamespaced=true
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
// and adds who information via Subject.