mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Added generated codes.
This commit is contained in:
parent
c8c4b81963
commit
604957c11c
@ -37534,6 +37534,10 @@
|
|||||||
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy",
|
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"schedulername": {
|
||||||
|
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"securityContext": {
|
"securityContext": {
|
||||||
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
|
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
|
||||||
"$ref": "#/definitions/v1.PodSecurityContext"
|
"$ref": "#/definitions/v1.PodSecurityContext"
|
||||||
|
@ -1353,6 +1353,10 @@
|
|||||||
"affinity": {
|
"affinity": {
|
||||||
"$ref": "v1.Affinity",
|
"$ref": "v1.Affinity",
|
||||||
"description": "If specified, the pod's scheduling constraints"
|
"description": "If specified, the pod's scheduling constraints"
|
||||||
|
},
|
||||||
|
"schedulername": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1358,6 +1358,10 @@
|
|||||||
"affinity": {
|
"affinity": {
|
||||||
"$ref": "v1.Affinity",
|
"$ref": "v1.Affinity",
|
||||||
"description": "If specified, the pod's scheduling constraints"
|
"description": "If specified, the pod's scheduling constraints"
|
||||||
|
},
|
||||||
|
"schedulername": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -7730,6 +7730,10 @@
|
|||||||
"affinity": {
|
"affinity": {
|
||||||
"$ref": "v1.Affinity",
|
"$ref": "v1.Affinity",
|
||||||
"description": "If specified, the pod's scheduling constraints"
|
"description": "If specified, the pod's scheduling constraints"
|
||||||
|
},
|
||||||
|
"schedulername": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -18272,6 +18272,10 @@
|
|||||||
"affinity": {
|
"affinity": {
|
||||||
"$ref": "v1.Affinity",
|
"$ref": "v1.Affinity",
|
||||||
"description": "If specified, the pod's scheduling constraints"
|
"description": "If specified, the pod's scheduling constraints"
|
||||||
|
},
|
||||||
|
"schedulername": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -4511,6 +4511,13 @@ The StatefulSet guarantees that a given network identity will always map to the
|
|||||||
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_affinity">v1.Affinity</a></p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_affinity">v1.Affinity</a></p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">schedulername</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@ -4960,7 +4967,7 @@ Examples:<br>
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2017-01-06 18:13:59 UTC
|
Last updated 2017-01-18 15:32:06 UTC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -4498,6 +4498,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
|
|||||||
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_affinity">v1.Affinity</a></p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_affinity">v1.Affinity</a></p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">schedulername</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@ -4892,7 +4899,7 @@ Examples:<br>
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2017-01-06 18:14:24 UTC
|
Last updated 2017-01-18 15:32:28 UTC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -4124,6 +4124,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
|
|||||||
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_affinity">v1.Affinity</a></p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_affinity">v1.Affinity</a></p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">schedulername</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@ -7509,7 +7516,7 @@ Both these may change in the future. Incoming requests are matched against the h
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2017-01-11 19:09:46 UTC
|
Last updated 2017-01-18 15:32:45 UTC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -4762,6 +4762,13 @@ The resulting set of endpoints can be viewed as:<br>
|
|||||||
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_affinity">v1.Affinity</a></p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_affinity">v1.Affinity</a></p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">schedulername</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@ -9136,7 +9143,7 @@ Examples:<br>
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2017-01-06 18:13:51 UTC
|
Last updated 2017-01-18 15:31:58 UTC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -11313,6 +11313,10 @@
|
|||||||
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy",
|
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"schedulername": {
|
||||||
|
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"securityContext": {
|
"securityContext": {
|
||||||
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
|
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
|
||||||
"$ref": "#/definitions/v1.PodSecurityContext"
|
"$ref": "#/definitions/v1.PodSecurityContext"
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2553,6 +2553,11 @@ message PodSpec {
|
|||||||
// If specified, the pod's scheduling constraints
|
// If specified, the pod's scheduling constraints
|
||||||
// +optional
|
// +optional
|
||||||
optional Affinity affinity = 18;
|
optional Affinity affinity = 18;
|
||||||
|
|
||||||
|
// If specified, the pod will be dispatched by specified scheduler.
|
||||||
|
// If not specified, the pod will be dispatched by default scheduler.
|
||||||
|
// +optional
|
||||||
|
optional string schedulername = 19;
|
||||||
}
|
}
|
||||||
|
|
||||||
// PodStatus represents information about the status of a pod. Status may trail the actual
|
// PodStatus represents information about the status of a pod. Status may trail the actual
|
||||||
|
@ -29772,7 +29772,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
} else {
|
} else {
|
||||||
yysep2 := !z.EncBinary()
|
yysep2 := !z.EncBinary()
|
||||||
yy2arr2 := z.EncBasicHandle().StructToArray
|
yy2arr2 := z.EncBasicHandle().StructToArray
|
||||||
var yyq2 [18]bool
|
var yyq2 [19]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
yyq2[0] = len(x.Volumes) != 0
|
yyq2[0] = len(x.Volumes) != 0
|
||||||
@ -29792,9 +29792,10 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
yyq2[15] = x.Hostname != ""
|
yyq2[15] = x.Hostname != ""
|
||||||
yyq2[16] = x.Subdomain != ""
|
yyq2[16] = x.Subdomain != ""
|
||||||
yyq2[17] = x.Affinity != nil
|
yyq2[17] = x.Affinity != nil
|
||||||
|
yyq2[18] = x.SchedulerName != ""
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(18)
|
r.EncodeArrayStart(19)
|
||||||
} else {
|
} else {
|
||||||
yynn2 = 1
|
yynn2 = 1
|
||||||
for _, b := range yyq2 {
|
for _, b := range yyq2 {
|
||||||
@ -30277,6 +30278,31 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[18] {
|
||||||
|
yym62 := z.EncBinary()
|
||||||
|
_ = yym62
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[18] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("schedulername"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym63 := z.EncBinary()
|
||||||
|
_ = yym63
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
@ -30550,6 +30576,18 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
x.Affinity.CodecDecodeSelf(d)
|
x.Affinity.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
|
case "schedulername":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.SchedulerName = ""
|
||||||
|
} else {
|
||||||
|
yyv36 := &x.SchedulerName
|
||||||
|
yym37 := z.DecBinary()
|
||||||
|
_ = yym37
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv36)) = r.DecodeString()
|
||||||
|
}
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys3)
|
z.DecStructFieldNotFound(-1, yys3)
|
||||||
} // end switch yys3
|
} // end switch yys3
|
||||||
@ -30561,16 +30599,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj36 int
|
var yyj38 int
|
||||||
var yyb36 bool
|
var yyb38 bool
|
||||||
var yyhl36 bool = l >= 0
|
var yyhl38 bool = l >= 0
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30578,21 +30616,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Volumes = nil
|
x.Volumes = nil
|
||||||
} else {
|
} else {
|
||||||
yyv37 := &x.Volumes
|
yyv39 := &x.Volumes
|
||||||
yym38 := z.DecBinary()
|
yym40 := z.DecBinary()
|
||||||
_ = yym38
|
_ = yym40
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.decSliceVolume((*[]Volume)(yyv37), d)
|
h.decSliceVolume((*[]Volume)(yyv39), d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30600,21 +30638,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Containers = nil
|
x.Containers = nil
|
||||||
} else {
|
} else {
|
||||||
yyv39 := &x.Containers
|
yyv41 := &x.Containers
|
||||||
yym40 := z.DecBinary()
|
yym42 := z.DecBinary()
|
||||||
_ = yym40
|
_ = yym42
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.decSliceContainer((*[]Container)(yyv39), d)
|
h.decSliceContainer((*[]Container)(yyv41), d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30622,16 +30660,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.RestartPolicy = ""
|
x.RestartPolicy = ""
|
||||||
} else {
|
} else {
|
||||||
yyv41 := &x.RestartPolicy
|
yyv43 := &x.RestartPolicy
|
||||||
yyv41.CodecDecodeSelf(d)
|
yyv43.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30644,20 +30682,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if x.TerminationGracePeriodSeconds == nil {
|
if x.TerminationGracePeriodSeconds == nil {
|
||||||
x.TerminationGracePeriodSeconds = new(int64)
|
x.TerminationGracePeriodSeconds = new(int64)
|
||||||
}
|
}
|
||||||
yym43 := z.DecBinary()
|
yym45 := z.DecBinary()
|
||||||
_ = yym43
|
_ = yym45
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
*((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64))
|
*((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30670,20 +30708,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if x.ActiveDeadlineSeconds == nil {
|
if x.ActiveDeadlineSeconds == nil {
|
||||||
x.ActiveDeadlineSeconds = new(int64)
|
x.ActiveDeadlineSeconds = new(int64)
|
||||||
}
|
}
|
||||||
yym45 := z.DecBinary()
|
yym47 := z.DecBinary()
|
||||||
_ = yym45
|
_ = yym47
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
*((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64))
|
*((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30691,16 +30729,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.DNSPolicy = ""
|
x.DNSPolicy = ""
|
||||||
} else {
|
} else {
|
||||||
yyv46 := &x.DNSPolicy
|
yyv48 := &x.DNSPolicy
|
||||||
yyv46.CodecDecodeSelf(d)
|
yyv48.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30708,21 +30746,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.NodeSelector = nil
|
x.NodeSelector = nil
|
||||||
} else {
|
} else {
|
||||||
yyv47 := &x.NodeSelector
|
yyv49 := &x.NodeSelector
|
||||||
yym48 := z.DecBinary()
|
yym50 := z.DecBinary()
|
||||||
_ = yym48
|
_ = yym50
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecMapStringStringX(yyv47, false, d)
|
z.F.DecMapStringStringX(yyv49, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30730,29 +30768,7 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ServiceAccountName = ""
|
x.ServiceAccountName = ""
|
||||||
} else {
|
} else {
|
||||||
yyv49 := &x.ServiceAccountName
|
yyv51 := &x.ServiceAccountName
|
||||||
yym50 := z.DecBinary()
|
|
||||||
_ = yym50
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
*((*string)(yyv49)) = r.DecodeString()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
yyj36++
|
|
||||||
if yyhl36 {
|
|
||||||
yyb36 = yyj36 > l
|
|
||||||
} else {
|
|
||||||
yyb36 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb36 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.DeprecatedServiceAccount = ""
|
|
||||||
} else {
|
|
||||||
yyv51 := &x.DeprecatedServiceAccount
|
|
||||||
yym52 := z.DecBinary()
|
yym52 := z.DecBinary()
|
||||||
_ = yym52
|
_ = yym52
|
||||||
if false {
|
if false {
|
||||||
@ -30760,21 +30776,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
*((*string)(yyv51)) = r.DecodeString()
|
*((*string)(yyv51)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.NodeName = ""
|
x.DeprecatedServiceAccount = ""
|
||||||
} else {
|
} else {
|
||||||
yyv53 := &x.NodeName
|
yyv53 := &x.DeprecatedServiceAccount
|
||||||
yym54 := z.DecBinary()
|
yym54 := z.DecBinary()
|
||||||
_ = yym54
|
_ = yym54
|
||||||
if false {
|
if false {
|
||||||
@ -30782,13 +30798,35 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
*((*string)(yyv53)) = r.DecodeString()
|
*((*string)(yyv53)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.NodeName = ""
|
||||||
|
} else {
|
||||||
|
yyv55 := &x.NodeName
|
||||||
|
yym56 := z.DecBinary()
|
||||||
|
_ = yym56
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv55)) = r.DecodeString()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj38++
|
||||||
|
if yyhl38 {
|
||||||
|
yyb38 = yyj38 > l
|
||||||
|
} else {
|
||||||
|
yyb38 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30796,29 +30834,7 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.HostNetwork = false
|
x.HostNetwork = false
|
||||||
} else {
|
} else {
|
||||||
yyv55 := &x.HostNetwork
|
yyv57 := &x.HostNetwork
|
||||||
yym56 := z.DecBinary()
|
|
||||||
_ = yym56
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
*((*bool)(yyv55)) = r.DecodeBool()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
yyj36++
|
|
||||||
if yyhl36 {
|
|
||||||
yyb36 = yyj36 > l
|
|
||||||
} else {
|
|
||||||
yyb36 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb36 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.HostPID = false
|
|
||||||
} else {
|
|
||||||
yyv57 := &x.HostPID
|
|
||||||
yym58 := z.DecBinary()
|
yym58 := z.DecBinary()
|
||||||
_ = yym58
|
_ = yym58
|
||||||
if false {
|
if false {
|
||||||
@ -30826,21 +30842,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
*((*bool)(yyv57)) = r.DecodeBool()
|
*((*bool)(yyv57)) = r.DecodeBool()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.HostIPC = false
|
x.HostPID = false
|
||||||
} else {
|
} else {
|
||||||
yyv59 := &x.HostIPC
|
yyv59 := &x.HostPID
|
||||||
yym60 := z.DecBinary()
|
yym60 := z.DecBinary()
|
||||||
_ = yym60
|
_ = yym60
|
||||||
if false {
|
if false {
|
||||||
@ -30848,13 +30864,35 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
*((*bool)(yyv59)) = r.DecodeBool()
|
*((*bool)(yyv59)) = r.DecodeBool()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.HostIPC = false
|
||||||
|
} else {
|
||||||
|
yyv61 := &x.HostIPC
|
||||||
|
yym62 := z.DecBinary()
|
||||||
|
_ = yym62
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*bool)(yyv61)) = r.DecodeBool()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj38++
|
||||||
|
if yyhl38 {
|
||||||
|
yyb38 = yyj38 > l
|
||||||
|
} else {
|
||||||
|
yyb38 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30869,13 +30907,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
x.SecurityContext.CodecDecodeSelf(d)
|
x.SecurityContext.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30883,21 +30921,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ImagePullSecrets = nil
|
x.ImagePullSecrets = nil
|
||||||
} else {
|
} else {
|
||||||
yyv62 := &x.ImagePullSecrets
|
yyv64 := &x.ImagePullSecrets
|
||||||
yym63 := z.DecBinary()
|
yym65 := z.DecBinary()
|
||||||
_ = yym63
|
_ = yym65
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv62), d)
|
h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv64), d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30905,29 +30943,7 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Hostname = ""
|
x.Hostname = ""
|
||||||
} else {
|
} else {
|
||||||
yyv64 := &x.Hostname
|
yyv66 := &x.Hostname
|
||||||
yym65 := z.DecBinary()
|
|
||||||
_ = yym65
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
*((*string)(yyv64)) = r.DecodeString()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
yyj36++
|
|
||||||
if yyhl36 {
|
|
||||||
yyb36 = yyj36 > l
|
|
||||||
} else {
|
|
||||||
yyb36 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb36 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Subdomain = ""
|
|
||||||
} else {
|
|
||||||
yyv66 := &x.Subdomain
|
|
||||||
yym67 := z.DecBinary()
|
yym67 := z.DecBinary()
|
||||||
_ = yym67
|
_ = yym67
|
||||||
if false {
|
if false {
|
||||||
@ -30935,13 +30951,35 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
*((*string)(yyv66)) = r.DecodeString()
|
*((*string)(yyv66)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj36++
|
yyj38++
|
||||||
if yyhl36 {
|
if yyhl38 {
|
||||||
yyb36 = yyj36 > l
|
yyb38 = yyj38 > l
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Subdomain = ""
|
||||||
|
} else {
|
||||||
|
yyv68 := &x.Subdomain
|
||||||
|
yym69 := z.DecBinary()
|
||||||
|
_ = yym69
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv68)) = r.DecodeString()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj38++
|
||||||
|
if yyhl38 {
|
||||||
|
yyb38 = yyj38 > l
|
||||||
|
} else {
|
||||||
|
yyb38 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb38 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -30956,18 +30994,40 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
x.Affinity.CodecDecodeSelf(d)
|
x.Affinity.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
for {
|
yyj38++
|
||||||
yyj36++
|
if yyhl38 {
|
||||||
if yyhl36 {
|
yyb38 = yyj38 > l
|
||||||
yyb36 = yyj36 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb36 = r.CheckBreak()
|
yyb38 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb36 {
|
if yyb38 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.SchedulerName = ""
|
||||||
|
} else {
|
||||||
|
yyv71 := &x.SchedulerName
|
||||||
|
yym72 := z.DecBinary()
|
||||||
|
_ = yym72
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv71)) = r.DecodeString()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for {
|
||||||
|
yyj38++
|
||||||
|
if yyhl38 {
|
||||||
|
yyb38 = yyj38 > l
|
||||||
|
} else {
|
||||||
|
yyb38 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb38 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj36-1, "")
|
z.DecStructFieldNotFound(yyj38-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
@ -64225,7 +64285,7 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) {
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 688)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 704)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
@ -64344,7 +64404,7 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 736)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 752)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
|
@ -1294,6 +1294,7 @@ var map_PodSpec = map[string]string{
|
|||||||
"hostname": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.",
|
"hostname": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.",
|
||||||
"subdomain": "If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all.",
|
"subdomain": "If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all.",
|
||||||
"affinity": "If specified, the pod's scheduling constraints",
|
"affinity": "If specified, the pod's scheduling constraints",
|
||||||
|
"schedulername": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (PodSpec) SwaggerDoc() map[string]string {
|
func (PodSpec) SwaggerDoc() map[string]string {
|
||||||
|
@ -3069,6 +3069,7 @@ func autoConvert_v1_PodSpec_To_api_PodSpec(in *PodSpec, out *api.PodSpec, s conv
|
|||||||
out.Hostname = in.Hostname
|
out.Hostname = in.Hostname
|
||||||
out.Subdomain = in.Subdomain
|
out.Subdomain = in.Subdomain
|
||||||
out.Affinity = (*api.Affinity)(unsafe.Pointer(in.Affinity))
|
out.Affinity = (*api.Affinity)(unsafe.Pointer(in.Affinity))
|
||||||
|
out.SchedulerName = in.SchedulerName
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3106,6 +3107,7 @@ func autoConvert_api_PodSpec_To_v1_PodSpec(in *api.PodSpec, out *PodSpec, s conv
|
|||||||
out.Hostname = in.Hostname
|
out.Hostname = in.Hostname
|
||||||
out.Subdomain = in.Subdomain
|
out.Subdomain = in.Subdomain
|
||||||
out.Affinity = (*Affinity)(unsafe.Pointer(in.Affinity))
|
out.Affinity = (*Affinity)(unsafe.Pointer(in.Affinity))
|
||||||
|
out.SchedulerName = in.SchedulerName
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1679,7 +1679,7 @@ func (x codecSelfer1234) decSliceStatefulSet(v *[]StatefulSet, d *codec1978.Deco
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 808)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 824)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
|
@ -2481,7 +2481,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) {
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 832)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 848)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
|
@ -4534,7 +4534,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) {
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 832)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 848)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
@ -4772,7 +4772,7 @@ func (x codecSelfer1234) decSliceCronJob(v *[]CronJob, d *codec1978.Decoder) {
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1080)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1096)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
|
@ -21093,7 +21093,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 872)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 888)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
@ -21212,7 +21212,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder)
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 768)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 784)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
@ -21926,7 +21926,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode
|
|||||||
|
|
||||||
yyrg1 := len(yyv1) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv21 := yyv1
|
yyv21 := yyv1
|
||||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 808)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 824)
|
||||||
if yyrt1 {
|
if yyrt1 {
|
||||||
if yyrl1 <= cap(yyv1) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv1 = yyv1[:yyrl1]
|
yyv1 = yyv1[:yyrl1]
|
||||||
|
@ -6131,6 +6131,13 @@ var OpenAPIDefinitions *openapi.OpenAPIDefinitions = &openapi.OpenAPIDefinitions
|
|||||||
Ref: spec.MustCreateRef("#/definitions/v1.Affinity"),
|
Ref: spec.MustCreateRef("#/definitions/v1.Affinity"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"schedulername": {
|
||||||
|
SchemaProps: spec.SchemaProps{
|
||||||
|
Description: "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
|
||||||
|
Type: []string{"string"},
|
||||||
|
Format: "",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"containers"},
|
Required: []string{"containers"},
|
||||||
},
|
},
|
||||||
@ -9659,7 +9666,7 @@ var OpenAPIDefinitions *openapi.OpenAPIDefinitions = &openapi.OpenAPIDefinitions
|
|||||||
},
|
},
|
||||||
"schedulerName": {
|
"schedulerName": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "schedulerName is name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's annotation with key 'scheduler.alpha.kubernetes.io/name'.",
|
Description: "schedulerName is name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's \"spec.SchedulerName\".",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
Format: "",
|
Format: "",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user