mirror of https://github.com/k3s-io/k3s
generated: api
parent
be3ce22dd3
commit
e6d35b0362
|
@ -35061,7 +35061,11 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"terminationMessagePath": {
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.",
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
|
||||
"type": "string"
|
||||
},
|
||||
"terminationMessagePolicy": {
|
||||
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.",
|
||||
"type": "string"
|
||||
},
|
||||
"tty": {
|
||||
|
|
|
@ -2191,7 +2191,11 @@
|
|||
},
|
||||
"terminationMessagePath": {
|
||||
"type": "string",
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated."
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."
|
||||
},
|
||||
"terminationMessagePolicy": {
|
||||
"type": "string",
|
||||
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."
|
||||
},
|
||||
"imagePullPolicy": {
|
||||
"type": "string",
|
||||
|
|
|
@ -2196,7 +2196,11 @@
|
|||
},
|
||||
"terminationMessagePath": {
|
||||
"type": "string",
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated."
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."
|
||||
},
|
||||
"terminationMessagePolicy": {
|
||||
"type": "string",
|
||||
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."
|
||||
},
|
||||
"imagePullPolicy": {
|
||||
"type": "string",
|
||||
|
|
|
@ -8568,7 +8568,11 @@
|
|||
},
|
||||
"terminationMessagePath": {
|
||||
"type": "string",
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated."
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."
|
||||
},
|
||||
"terminationMessagePolicy": {
|
||||
"type": "string",
|
||||
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."
|
||||
},
|
||||
"imagePullPolicy": {
|
||||
"type": "string",
|
||||
|
|
|
@ -18660,7 +18660,11 @@
|
|||
},
|
||||
"terminationMessagePath": {
|
||||
"type": "string",
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated."
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."
|
||||
},
|
||||
"terminationMessagePolicy": {
|
||||
"type": "string",
|
||||
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."
|
||||
},
|
||||
"imagePullPolicy": {
|
||||
"type": "string",
|
||||
|
|
|
@ -1803,7 +1803,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePath</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.</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>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePolicy</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.</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>
|
||||
|
@ -5011,7 +5018,7 @@ Examples:<br>
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2017-01-19 19:02:01 UTC
|
||||
Last updated 2017-01-20 19:58:01 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -1707,7 +1707,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePath</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.</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>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePolicy</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.</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>
|
||||
|
@ -4943,7 +4950,7 @@ Examples:<br>
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2017-01-19 19:02:17 UTC
|
||||
Last updated 2017-01-20 19:58:30 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -5765,7 +5765,14 @@ Both these may change in the future. Incoming requests are matched against the h
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePath</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.</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>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePolicy</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.</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>
|
||||
|
@ -7560,7 +7567,7 @@ Both these may change in the future. Incoming requests are matched against the h
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2017-01-19 19:02:29 UTC
|
||||
Last updated 2017-01-20 19:59:01 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -6380,7 +6380,14 @@ Examples:<br>
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePath</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.</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>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePolicy</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.</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>
|
||||
|
@ -9187,7 +9194,7 @@ Examples:<br>
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2017-01-19 19:01:55 UTC
|
||||
Last updated 2017-01-20 19:57:54 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -10895,7 +10895,11 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"terminationMessagePath": {
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.",
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
|
||||
"type": "string"
|
||||
},
|
||||
"terminationMessagePolicy": {
|
||||
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.",
|
||||
"type": "string"
|
||||
},
|
||||
"tty": {
|
||||
|
|
|
@ -5474,7 +5474,11 @@
|
|||
},
|
||||
"terminationMessagePath": {
|
||||
"type": "string",
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated."
|
||||
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."
|
||||
},
|
||||
"terminationMessagePolicy": {
|
||||
"type": "string",
|
||||
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."
|
||||
},
|
||||
"imagePullPolicy": {
|
||||
"type": "string",
|
||||
|
|
|
@ -4923,7 +4923,14 @@ Both these may change in the future. Incoming requests are matched against the h
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePath</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Optional: Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.</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>
|
||||
<tr>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">terminationMessagePolicy</p></td>
|
||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.</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>
|
||||
|
@ -6263,7 +6270,7 @@ Both these may change in the future. Incoming requests are matched against the h
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2017-01-06 18:15:24 UTC
|
||||
Last updated 2017-01-17 18:39:44 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -426,11 +426,23 @@ message Container {
|
|||
// Optional: Path at which the file to which the container's termination message
|
||||
// will be written is mounted into the container's filesystem.
|
||||
// Message written is intended to be brief final status, such as an assertion failure message.
|
||||
// Will be truncated by the node if greater than 4096 bytes. The total message length across
|
||||
// all containers will be limited to 12kb.
|
||||
// Defaults to /dev/termination-log.
|
||||
// Cannot be updated.
|
||||
// +optional
|
||||
optional string terminationMessagePath = 13;
|
||||
|
||||
// Indicate how the termination message should be populated. File will use the contents of
|
||||
// terminationMessagePath to populate the container status message on both success and failure.
|
||||
// FallbackToLogsOnError will use the last chunk of container log output if the termination
|
||||
// message file is empty and the container exited with an error.
|
||||
// The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
|
||||
// Defaults to File.
|
||||
// Cannot be updated.
|
||||
// +optional
|
||||
optional string terminationMessagePolicy = 20;
|
||||
|
||||
// Image pull policy.
|
||||
// One of Always, Never, IfNotPresent.
|
||||
// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
||||
|
|
|
@ -22190,6 +22190,32 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||
}
|
||||
}
|
||||
|
||||
func (x TerminationMessagePolicy) CodecEncodeSelf(e *codec1978.Encoder) {
|
||||
var h codecSelfer1234
|
||||
z, r := codec1978.GenHelperEncoder(e)
|
||||
_, _, _ = h, z, r
|
||||
yym1 := z.EncBinary()
|
||||
_ = yym1
|
||||
if false {
|
||||
} else if z.HasExtensions() && z.EncExt(x) {
|
||||
} else {
|
||||
r.EncodeString(codecSelferC_UTF81234, string(x))
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TerminationMessagePolicy) CodecDecodeSelf(d *codec1978.Decoder) {
|
||||
var h codecSelfer1234
|
||||
z, r := codec1978.GenHelperDecoder(d)
|
||||
_, _, _ = h, z, r
|
||||
yym1 := z.DecBinary()
|
||||
_ = yym1
|
||||
if false {
|
||||
} else if z.HasExtensions() && z.DecExt(x) {
|
||||
} else {
|
||||
*((*string)(x)) = r.DecodeString()
|
||||
}
|
||||
}
|
||||
|
||||
func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) {
|
||||
var h codecSelfer1234
|
||||
z, r := codec1978.GenHelperEncoder(e)
|
||||
|
@ -22704,7 +22730,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
} else {
|
||||
yysep2 := !z.EncBinary()
|
||||
yy2arr2 := z.EncBasicHandle().StructToArray
|
||||
var yyq2 [19]bool
|
||||
var yyq2 [20]bool
|
||||
_, _, _ = yysep2, yyq2, yy2arr2
|
||||
const yyr2 bool = false
|
||||
yyq2[1] = x.Image != ""
|
||||
|
@ -22720,14 +22746,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
yyq2[11] = x.ReadinessProbe != nil
|
||||
yyq2[12] = x.Lifecycle != nil
|
||||
yyq2[13] = x.TerminationMessagePath != ""
|
||||
yyq2[14] = x.ImagePullPolicy != ""
|
||||
yyq2[15] = x.SecurityContext != nil
|
||||
yyq2[16] = x.Stdin != false
|
||||
yyq2[17] = x.StdinOnce != false
|
||||
yyq2[18] = x.TTY != false
|
||||
yyq2[14] = x.TerminationMessagePolicy != ""
|
||||
yyq2[15] = x.ImagePullPolicy != ""
|
||||
yyq2[16] = x.SecurityContext != nil
|
||||
yyq2[17] = x.Stdin != false
|
||||
yyq2[18] = x.StdinOnce != false
|
||||
yyq2[19] = x.TTY != false
|
||||
var yynn2 int
|
||||
if yyr2 || yy2arr2 {
|
||||
r.EncodeArrayStart(19)
|
||||
r.EncodeArrayStart(20)
|
||||
} else {
|
||||
yynn2 = 1
|
||||
for _, b := range yyq2 {
|
||||
|
@ -23119,12 +23146,27 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
if yyr2 || yy2arr2 {
|
||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if yyq2[14] {
|
||||
x.ImagePullPolicy.CodecEncodeSelf(e)
|
||||
x.TerminationMessagePolicy.CodecEncodeSelf(e)
|
||||
} else {
|
||||
r.EncodeString(codecSelferC_UTF81234, "")
|
||||
}
|
||||
} else {
|
||||
if yyq2[14] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePolicy"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
x.TerminationMessagePolicy.CodecEncodeSelf(e)
|
||||
}
|
||||
}
|
||||
if yyr2 || yy2arr2 {
|
||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if yyq2[15] {
|
||||
x.ImagePullPolicy.CodecEncodeSelf(e)
|
||||
} else {
|
||||
r.EncodeString(codecSelferC_UTF81234, "")
|
||||
}
|
||||
} else {
|
||||
if yyq2[15] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("imagePullPolicy"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
|
@ -23133,7 +23175,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
}
|
||||
if yyr2 || yy2arr2 {
|
||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if yyq2[15] {
|
||||
if yyq2[16] {
|
||||
if x.SecurityContext == nil {
|
||||
r.EncodeNil()
|
||||
} else {
|
||||
|
@ -23143,7 +23185,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
r.EncodeNil()
|
||||
}
|
||||
} else {
|
||||
if yyq2[15] {
|
||||
if yyq2[16] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("securityContext"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
|
@ -23154,31 +23196,6 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if yyr2 || yy2arr2 {
|
||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if yyq2[16] {
|
||||
yym54 := z.EncBinary()
|
||||
_ = yym54
|
||||
if false {
|
||||
} else {
|
||||
r.EncodeBool(bool(x.Stdin))
|
||||
}
|
||||
} else {
|
||||
r.EncodeBool(false)
|
||||
}
|
||||
} else {
|
||||
if yyq2[16] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("stdin"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
yym55 := z.EncBinary()
|
||||
_ = yym55
|
||||
if false {
|
||||
} else {
|
||||
r.EncodeBool(bool(x.Stdin))
|
||||
}
|
||||
}
|
||||
}
|
||||
if yyr2 || yy2arr2 {
|
||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if yyq2[17] {
|
||||
|
@ -23186,7 +23203,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
_ = yym57
|
||||
if false {
|
||||
} else {
|
||||
r.EncodeBool(bool(x.StdinOnce))
|
||||
r.EncodeBool(bool(x.Stdin))
|
||||
}
|
||||
} else {
|
||||
r.EncodeBool(false)
|
||||
|
@ -23194,13 +23211,13 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
} else {
|
||||
if yyq2[17] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("stdinOnce"))
|
||||
r.EncodeString(codecSelferC_UTF81234, string("stdin"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
yym58 := z.EncBinary()
|
||||
_ = yym58
|
||||
if false {
|
||||
} else {
|
||||
r.EncodeBool(bool(x.StdinOnce))
|
||||
r.EncodeBool(bool(x.Stdin))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23211,7 +23228,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
_ = yym60
|
||||
if false {
|
||||
} else {
|
||||
r.EncodeBool(bool(x.TTY))
|
||||
r.EncodeBool(bool(x.StdinOnce))
|
||||
}
|
||||
} else {
|
||||
r.EncodeBool(false)
|
||||
|
@ -23219,11 +23236,36 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||
} else {
|
||||
if yyq2[18] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("tty"))
|
||||
r.EncodeString(codecSelferC_UTF81234, string("stdinOnce"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
yym61 := z.EncBinary()
|
||||
_ = yym61
|
||||
if false {
|
||||
} else {
|
||||
r.EncodeBool(bool(x.StdinOnce))
|
||||
}
|
||||
}
|
||||
}
|
||||
if yyr2 || yy2arr2 {
|
||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if yyq2[19] {
|
||||
yym63 := z.EncBinary()
|
||||
_ = yym63
|
||||
if false {
|
||||
} else {
|
||||
r.EncodeBool(bool(x.TTY))
|
||||
}
|
||||
} else {
|
||||
r.EncodeBool(false)
|
||||
}
|
||||
} else {
|
||||
if yyq2[19] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("tty"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
yym64 := z.EncBinary()
|
||||
_ = yym64
|
||||
if false {
|
||||
} else {
|
||||
r.EncodeBool(bool(x.TTY))
|
||||
}
|
||||
|
@ -23450,12 +23492,19 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||
*((*string)(yyv26)) = r.DecodeString()
|
||||
}
|
||||
}
|
||||
case "terminationMessagePolicy":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TerminationMessagePolicy = ""
|
||||
} else {
|
||||
yyv28 := &x.TerminationMessagePolicy
|
||||
yyv28.CodecDecodeSelf(d)
|
||||
}
|
||||
case "imagePullPolicy":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.ImagePullPolicy = ""
|
||||
} else {
|
||||
yyv28 := &x.ImagePullPolicy
|
||||
yyv28.CodecDecodeSelf(d)
|
||||
yyv29 := &x.ImagePullPolicy
|
||||
yyv29.CodecDecodeSelf(d)
|
||||
}
|
||||
case "securityContext":
|
||||
if r.TryDecodeAsNil() {
|
||||
|
@ -23472,36 +23521,36 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Stdin = false
|
||||
} else {
|
||||
yyv30 := &x.Stdin
|
||||
yym31 := z.DecBinary()
|
||||
_ = yym31
|
||||
yyv31 := &x.Stdin
|
||||
yym32 := z.DecBinary()
|
||||
_ = yym32
|
||||
if false {
|
||||
} else {
|
||||
*((*bool)(yyv30)) = r.DecodeBool()
|
||||
*((*bool)(yyv31)) = r.DecodeBool()
|
||||
}
|
||||
}
|
||||
case "stdinOnce":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.StdinOnce = false
|
||||
} else {
|
||||
yyv32 := &x.StdinOnce
|
||||
yym33 := z.DecBinary()
|
||||
_ = yym33
|
||||
yyv33 := &x.StdinOnce
|
||||
yym34 := z.DecBinary()
|
||||
_ = yym34
|
||||
if false {
|
||||
} else {
|
||||
*((*bool)(yyv32)) = r.DecodeBool()
|
||||
*((*bool)(yyv33)) = r.DecodeBool()
|
||||
}
|
||||
}
|
||||
case "tty":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TTY = false
|
||||
} else {
|
||||
yyv34 := &x.TTY
|
||||
yym35 := z.DecBinary()
|
||||
_ = yym35
|
||||
yyv35 := &x.TTY
|
||||
yym36 := z.DecBinary()
|
||||
_ = yym36
|
||||
if false {
|
||||
} else {
|
||||
*((*bool)(yyv34)) = r.DecodeBool()
|
||||
*((*bool)(yyv35)) = r.DecodeBool()
|
||||
}
|
||||
}
|
||||
default:
|
||||
|
@ -23515,16 +23564,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
var h codecSelfer1234
|
||||
z, r := codec1978.GenHelperDecoder(d)
|
||||
_, _, _ = h, z, r
|
||||
var yyj36 int
|
||||
var yyb36 bool
|
||||
var yyhl36 bool = l >= 0
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
var yyj37 int
|
||||
var yyb37 bool
|
||||
var yyhl37 bool = l >= 0
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23532,21 +23581,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Name = ""
|
||||
} else {
|
||||
yyv37 := &x.Name
|
||||
yym38 := z.DecBinary()
|
||||
_ = yym38
|
||||
yyv38 := &x.Name
|
||||
yym39 := z.DecBinary()
|
||||
_ = yym39
|
||||
if false {
|
||||
} else {
|
||||
*((*string)(yyv37)) = r.DecodeString()
|
||||
*((*string)(yyv38)) = r.DecodeString()
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23554,21 +23603,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Image = ""
|
||||
} else {
|
||||
yyv39 := &x.Image
|
||||
yym40 := z.DecBinary()
|
||||
_ = yym40
|
||||
yyv40 := &x.Image
|
||||
yym41 := z.DecBinary()
|
||||
_ = yym41
|
||||
if false {
|
||||
} else {
|
||||
*((*string)(yyv39)) = r.DecodeString()
|
||||
*((*string)(yyv40)) = r.DecodeString()
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23576,21 +23625,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Command = nil
|
||||
} else {
|
||||
yyv41 := &x.Command
|
||||
yym42 := z.DecBinary()
|
||||
_ = yym42
|
||||
yyv42 := &x.Command
|
||||
yym43 := z.DecBinary()
|
||||
_ = yym43
|
||||
if false {
|
||||
} else {
|
||||
z.F.DecSliceStringX(yyv41, false, d)
|
||||
z.F.DecSliceStringX(yyv42, false, d)
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23598,21 +23647,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Args = nil
|
||||
} else {
|
||||
yyv43 := &x.Args
|
||||
yym44 := z.DecBinary()
|
||||
_ = yym44
|
||||
yyv44 := &x.Args
|
||||
yym45 := z.DecBinary()
|
||||
_ = yym45
|
||||
if false {
|
||||
} else {
|
||||
z.F.DecSliceStringX(yyv43, false, d)
|
||||
z.F.DecSliceStringX(yyv44, false, d)
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23620,21 +23669,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.WorkingDir = ""
|
||||
} else {
|
||||
yyv45 := &x.WorkingDir
|
||||
yym46 := z.DecBinary()
|
||||
_ = yym46
|
||||
yyv46 := &x.WorkingDir
|
||||
yym47 := z.DecBinary()
|
||||
_ = yym47
|
||||
if false {
|
||||
} else {
|
||||
*((*string)(yyv45)) = r.DecodeString()
|
||||
*((*string)(yyv46)) = r.DecodeString()
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23642,21 +23691,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Ports = nil
|
||||
} else {
|
||||
yyv47 := &x.Ports
|
||||
yym48 := z.DecBinary()
|
||||
_ = yym48
|
||||
yyv48 := &x.Ports
|
||||
yym49 := z.DecBinary()
|
||||
_ = yym49
|
||||
if false {
|
||||
} else {
|
||||
h.decSliceContainerPort((*[]ContainerPort)(yyv47), d)
|
||||
h.decSliceContainerPort((*[]ContainerPort)(yyv48), d)
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23664,21 +23713,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.EnvFrom = nil
|
||||
} else {
|
||||
yyv49 := &x.EnvFrom
|
||||
yym50 := z.DecBinary()
|
||||
_ = yym50
|
||||
yyv50 := &x.EnvFrom
|
||||
yym51 := z.DecBinary()
|
||||
_ = yym51
|
||||
if false {
|
||||
} else {
|
||||
h.decSliceEnvFromSource((*[]EnvFromSource)(yyv49), d)
|
||||
h.decSliceEnvFromSource((*[]EnvFromSource)(yyv50), d)
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23686,21 +23735,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Env = nil
|
||||
} else {
|
||||
yyv51 := &x.Env
|
||||
yym52 := z.DecBinary()
|
||||
_ = yym52
|
||||
yyv52 := &x.Env
|
||||
yym53 := z.DecBinary()
|
||||
_ = yym53
|
||||
if false {
|
||||
} else {
|
||||
h.decSliceEnvVar((*[]EnvVar)(yyv51), d)
|
||||
h.decSliceEnvVar((*[]EnvVar)(yyv52), d)
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23708,16 +23757,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Resources = ResourceRequirements{}
|
||||
} else {
|
||||
yyv53 := &x.Resources
|
||||
yyv53.CodecDecodeSelf(d)
|
||||
yyv54 := &x.Resources
|
||||
yyv54.CodecDecodeSelf(d)
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23725,21 +23774,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.VolumeMounts = nil
|
||||
} else {
|
||||
yyv54 := &x.VolumeMounts
|
||||
yym55 := z.DecBinary()
|
||||
_ = yym55
|
||||
yyv55 := &x.VolumeMounts
|
||||
yym56 := z.DecBinary()
|
||||
_ = yym56
|
||||
if false {
|
||||
} else {
|
||||
h.decSliceVolumeMount((*[]VolumeMount)(yyv54), d)
|
||||
h.decSliceVolumeMount((*[]VolumeMount)(yyv55), d)
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23754,13 +23803,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
}
|
||||
x.LivenessProbe.CodecDecodeSelf(d)
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23775,13 +23824,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
}
|
||||
x.ReadinessProbe.CodecDecodeSelf(d)
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23796,13 +23845,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
}
|
||||
x.Lifecycle.CodecDecodeSelf(d)
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23810,21 +23859,38 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.TerminationMessagePath = ""
|
||||
} else {
|
||||
yyv59 := &x.TerminationMessagePath
|
||||
yym60 := z.DecBinary()
|
||||
_ = yym60
|
||||
yyv60 := &x.TerminationMessagePath
|
||||
yym61 := z.DecBinary()
|
||||
_ = yym61
|
||||
if false {
|
||||
} else {
|
||||
*((*string)(yyv59)) = r.DecodeString()
|
||||
*((*string)(yyv60)) = r.DecodeString()
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TerminationMessagePolicy = ""
|
||||
} else {
|
||||
yyv62 := &x.TerminationMessagePolicy
|
||||
yyv62.CodecDecodeSelf(d)
|
||||
}
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23832,16 +23898,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.ImagePullPolicy = ""
|
||||
} else {
|
||||
yyv61 := &x.ImagePullPolicy
|
||||
yyv61.CodecDecodeSelf(d)
|
||||
yyv63 := &x.ImagePullPolicy
|
||||
yyv63.CodecDecodeSelf(d)
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23856,13 +23922,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
}
|
||||
x.SecurityContext.CodecDecodeSelf(d)
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
|
@ -23870,29 +23936,7 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
if r.TryDecodeAsNil() {
|
||||
x.Stdin = false
|
||||
} else {
|
||||
yyv63 := &x.Stdin
|
||||
yym64 := z.DecBinary()
|
||||
_ = yym64
|
||||
if false {
|
||||
} else {
|
||||
*((*bool)(yyv63)) = 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.StdinOnce = false
|
||||
} else {
|
||||
yyv65 := &x.StdinOnce
|
||||
yyv65 := &x.Stdin
|
||||
yym66 := z.DecBinary()
|
||||
_ = yym66
|
||||
if false {
|
||||
|
@ -23900,21 +23944,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
*((*bool)(yyv65)) = r.DecodeBool()
|
||||
}
|
||||
}
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb36 {
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TTY = false
|
||||
x.StdinOnce = false
|
||||
} else {
|
||||
yyv67 := &x.TTY
|
||||
yyv67 := &x.StdinOnce
|
||||
yym68 := z.DecBinary()
|
||||
_ = yym68
|
||||
if false {
|
||||
|
@ -23922,18 +23966,40 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||
*((*bool)(yyv67)) = r.DecodeBool()
|
||||
}
|
||||
}
|
||||
for {
|
||||
yyj36++
|
||||
if yyhl36 {
|
||||
yyb36 = yyj36 > l
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb37 {
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
return
|
||||
}
|
||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TTY = false
|
||||
} else {
|
||||
yyv69 := &x.TTY
|
||||
yym70 := z.DecBinary()
|
||||
_ = yym70
|
||||
if false {
|
||||
} else {
|
||||
yyb36 = r.CheckBreak()
|
||||
*((*bool)(yyv69)) = r.DecodeBool()
|
||||
}
|
||||
if yyb36 {
|
||||
}
|
||||
for {
|
||||
yyj37++
|
||||
if yyhl37 {
|
||||
yyb37 = yyj37 > l
|
||||
} else {
|
||||
yyb37 = r.CheckBreak()
|
||||
}
|
||||
if yyb37 {
|
||||
break
|
||||
}
|
||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||
z.DecStructFieldNotFound(yyj36-1, "")
|
||||
z.DecStructFieldNotFound(yyj37-1, "")
|
||||
}
|
||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||
}
|
||||
|
@ -64355,7 +64421,7 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder)
|
|||
|
||||
yyrg1 := len(yyv1) > 0
|
||||
yyv21 := yyv1
|
||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280)
|
||||
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 296)
|
||||
if yyrt1 {
|
||||
if yyrl1 <= cap(yyv1) {
|
||||
yyv1 = yyv1[:yyrl1]
|
||||
|
|
|
@ -218,26 +218,27 @@ func (ConfigMapVolumeSource) SwaggerDoc() map[string]string {
|
|||
}
|
||||
|
||||
var map_Container = map[string]string{
|
||||
"": "A single application container that you want to run within a pod.",
|
||||
"name": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.",
|
||||
"image": "Docker image name. More info: http://kubernetes.io/docs/user-guide/images",
|
||||
"command": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands",
|
||||
"args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands",
|
||||
"workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
|
||||
"ports": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
|
||||
"envFrom": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. An invalid key will prevent the container from starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
|
||||
"env": "List of environment variables to set in the container. Cannot be updated.",
|
||||
"resources": "Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources",
|
||||
"volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.",
|
||||
"livenessProbe": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes",
|
||||
"readinessProbe": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes",
|
||||
"lifecycle": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.",
|
||||
"terminationMessagePath": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.",
|
||||
"imagePullPolicy": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images",
|
||||
"securityContext": "Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md",
|
||||
"stdin": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
|
||||
"stdinOnce": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false",
|
||||
"tty": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
|
||||
"": "A single application container that you want to run within a pod.",
|
||||
"name": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.",
|
||||
"image": "Docker image name. More info: http://kubernetes.io/docs/user-guide/images",
|
||||
"command": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands",
|
||||
"args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands",
|
||||
"workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
|
||||
"ports": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
|
||||
"envFrom": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. An invalid key will prevent the container from starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
|
||||
"env": "List of environment variables to set in the container. Cannot be updated.",
|
||||
"resources": "Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources",
|
||||
"volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.",
|
||||
"livenessProbe": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes",
|
||||
"readinessProbe": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes",
|
||||
"lifecycle": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.",
|
||||
"terminationMessagePath": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
|
||||
"terminationMessagePolicy": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.",
|
||||
"imagePullPolicy": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images",
|
||||
"securityContext": "Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md",
|
||||
"stdin": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
|
||||
"stdinOnce": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false",
|
||||
"tty": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
|
||||
}
|
||||
|
||||
func (Container) SwaggerDoc() map[string]string {
|
||||
|
|
|
@ -779,6 +779,7 @@ func autoConvert_v1_Container_To_api_Container(in *Container, out *api.Container
|
|||
out.ReadinessProbe = (*api.Probe)(unsafe.Pointer(in.ReadinessProbe))
|
||||
out.Lifecycle = (*api.Lifecycle)(unsafe.Pointer(in.Lifecycle))
|
||||
out.TerminationMessagePath = in.TerminationMessagePath
|
||||
out.TerminationMessagePolicy = api.TerminationMessagePolicy(in.TerminationMessagePolicy)
|
||||
out.ImagePullPolicy = api.PullPolicy(in.ImagePullPolicy)
|
||||
out.SecurityContext = (*api.SecurityContext)(unsafe.Pointer(in.SecurityContext))
|
||||
out.Stdin = in.Stdin
|
||||
|
@ -808,6 +809,7 @@ func autoConvert_api_Container_To_v1_Container(in *api.Container, out *Container
|
|||
out.ReadinessProbe = (*Probe)(unsafe.Pointer(in.ReadinessProbe))
|
||||
out.Lifecycle = (*Lifecycle)(unsafe.Pointer(in.Lifecycle))
|
||||
out.TerminationMessagePath = in.TerminationMessagePath
|
||||
out.TerminationMessagePolicy = TerminationMessagePolicy(in.TerminationMessagePolicy)
|
||||
out.ImagePullPolicy = PullPolicy(in.ImagePullPolicy)
|
||||
out.SecurityContext = (*SecurityContext)(unsafe.Pointer(in.SecurityContext))
|
||||
out.Stdin = in.Stdin
|
||||
|
|
|
@ -1178,7 +1178,14 @@ var OpenAPIDefinitions *openapi.OpenAPIDefinitions = &openapi.OpenAPIDefinitions
|
|||
},
|
||||
"terminationMessagePath": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated.",
|
||||
Description: "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
"terminationMessagePolicy": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
|
|
|
@ -97,6 +97,7 @@ filegroup(
|
|||
"//pkg/util/strings:all-srcs",
|
||||
"//pkg/util/sysctl:all-srcs",
|
||||
"//pkg/util/system:all-srcs",
|
||||
"//pkg/util/tail:all-srcs",
|
||||
"//pkg/util/taints:all-srcs",
|
||||
"//pkg/util/term:all-srcs",
|
||||
"//pkg/util/threading:all-srcs",
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
load("@io_bazel_rules_go//go:def.bzl")
|
||||
|
||||
filegroup(
|
||||
name = "package-srcs",
|
||||
srcs = glob(["**"]),
|
||||
tags = ["automanaged"],
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "all-srcs",
|
||||
srcs = [":package-srcs"],
|
||||
tags = ["automanaged"],
|
||||
)
|
|
@ -13718,3 +13718,9 @@ go_library(
|
|||
srcs = ["k8s.io/client-go/third_party/forked/golang/netutil/addr.go"],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "github.com/armon/circbuf",
|
||||
srcs = ["github.com/armon/circbuf/circbuf.go"],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue