mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
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:
@@ -51,7 +51,8 @@ type ScaleStatus struct {
|
||||
Selector *unversioned.LabelSelector `json:"selector,omitempty"`
|
||||
}
|
||||
|
||||
// +genclient=true,noMethods=true
|
||||
// +genclient=true
|
||||
// +noMethods=true
|
||||
|
||||
// represents a scaling request for a resource.
|
||||
type Scale struct {
|
||||
@@ -94,7 +95,8 @@ type CustomMetricCurrentStatusList struct {
|
||||
Items []CustomMetricCurrentStatus `json:"items"`
|
||||
}
|
||||
|
||||
// +genclient=true,nonNamespaced=true
|
||||
// +genclient=true
|
||||
// +nonNamespaced=true
|
||||
|
||||
// A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource
|
||||
// types to the API. It consists of one or more Versions of the api.
|
||||
@@ -624,7 +626,8 @@ type ReplicaSetStatus struct {
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
||||
}
|
||||
|
||||
// +genclient=true,nonNamespaced=true
|
||||
// +genclient=true
|
||||
// +nonNamespaced=true
|
||||
|
||||
// PodSecurityPolicy governs the ability to make requests that affect the SecurityContext
|
||||
// that will be applied to a pod and container.
|
||||
|
||||
@@ -46,7 +46,8 @@ type ScaleStatus struct {
|
||||
TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
|
||||
}
|
||||
|
||||
// +genclient=true,noMethods=true
|
||||
// +genclient=true
|
||||
// +noMethods=true
|
||||
|
||||
// represents a scaling request for a resource.
|
||||
type Scale struct {
|
||||
@@ -166,7 +167,8 @@ type HorizontalPodAutoscalerList struct {
|
||||
Items []HorizontalPodAutoscaler `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||
}
|
||||
|
||||
// +genclient=true,nonNamespaced=true
|
||||
// +genclient=true
|
||||
// +nonNamespaced=true
|
||||
|
||||
// A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource
|
||||
// types to the API. It consists of one or more Versions of the api.
|
||||
@@ -912,7 +914,8 @@ type ReplicaSetStatus struct {
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
|
||||
}
|
||||
|
||||
// +genclient=true,nonNamespaced=true
|
||||
// +genclient=true
|
||||
// +nonNamespaced=true
|
||||
|
||||
// Pod Security Policy governs the ability to make requests that affect the Security Context
|
||||
// that will be applied to a pod and container.
|
||||
|
||||
Reference in New Issue
Block a user