mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
generated codes.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
This commit is contained in:
parent
8bfc99475f
commit
b80a01b210
14
api/openapi-spec/swagger.json
generated
14
api/openapi-spec/swagger.json
generated
@ -77345,13 +77345,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"io.k8s.api.core.v1.NodeSelectorTerm": {
|
"io.k8s.api.core.v1.NodeSelectorTerm": {
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed.",
|
"description": "A list of node selector requirements by node's labels.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"description": "A list of node selector requirements by node's fields.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement"
|
"$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement"
|
||||||
|
14
api/swagger-spec/apps_v1.json
generated
14
api/swagger-spec/apps_v1.json
generated
@ -8440,17 +8440,21 @@
|
|||||||
},
|
},
|
||||||
"v1.NodeSelectorTerm": {
|
"v1.NodeSelectorTerm": {
|
||||||
"id": "v1.NodeSelectorTerm",
|
"id": "v1.NodeSelectorTerm",
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "v1.NodeSelectorRequirement"
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
},
|
},
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed."
|
"description": "A list of node selector requirements by node's labels."
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
|
},
|
||||||
|
"description": "A list of node selector requirements by node's fields."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
14
api/swagger-spec/apps_v1beta1.json
generated
14
api/swagger-spec/apps_v1beta1.json
generated
@ -6074,17 +6074,21 @@
|
|||||||
},
|
},
|
||||||
"v1.NodeSelectorTerm": {
|
"v1.NodeSelectorTerm": {
|
||||||
"id": "v1.NodeSelectorTerm",
|
"id": "v1.NodeSelectorTerm",
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "v1.NodeSelectorRequirement"
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
},
|
},
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed."
|
"description": "A list of node selector requirements by node's labels."
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
|
},
|
||||||
|
"description": "A list of node selector requirements by node's fields."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
14
api/swagger-spec/apps_v1beta2.json
generated
14
api/swagger-spec/apps_v1beta2.json
generated
@ -8440,17 +8440,21 @@
|
|||||||
},
|
},
|
||||||
"v1.NodeSelectorTerm": {
|
"v1.NodeSelectorTerm": {
|
||||||
"id": "v1.NodeSelectorTerm",
|
"id": "v1.NodeSelectorTerm",
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "v1.NodeSelectorRequirement"
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
},
|
},
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed."
|
"description": "A list of node selector requirements by node's labels."
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
|
},
|
||||||
|
"description": "A list of node selector requirements by node's fields."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
14
api/swagger-spec/batch_v1.json
generated
14
api/swagger-spec/batch_v1.json
generated
@ -3414,17 +3414,21 @@
|
|||||||
},
|
},
|
||||||
"v1.NodeSelectorTerm": {
|
"v1.NodeSelectorTerm": {
|
||||||
"id": "v1.NodeSelectorTerm",
|
"id": "v1.NodeSelectorTerm",
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "v1.NodeSelectorRequirement"
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
},
|
},
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed."
|
"description": "A list of node selector requirements by node's labels."
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
|
},
|
||||||
|
"description": "A list of node selector requirements by node's fields."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
14
api/swagger-spec/batch_v1beta1.json
generated
14
api/swagger-spec/batch_v1beta1.json
generated
@ -3469,17 +3469,21 @@
|
|||||||
},
|
},
|
||||||
"v1.NodeSelectorTerm": {
|
"v1.NodeSelectorTerm": {
|
||||||
"id": "v1.NodeSelectorTerm",
|
"id": "v1.NodeSelectorTerm",
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "v1.NodeSelectorRequirement"
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
},
|
},
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed."
|
"description": "A list of node selector requirements by node's labels."
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
|
},
|
||||||
|
"description": "A list of node selector requirements by node's fields."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
14
api/swagger-spec/batch_v2alpha1.json
generated
14
api/swagger-spec/batch_v2alpha1.json
generated
@ -3469,17 +3469,21 @@
|
|||||||
},
|
},
|
||||||
"v1.NodeSelectorTerm": {
|
"v1.NodeSelectorTerm": {
|
||||||
"id": "v1.NodeSelectorTerm",
|
"id": "v1.NodeSelectorTerm",
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "v1.NodeSelectorRequirement"
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
},
|
},
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed."
|
"description": "A list of node selector requirements by node's labels."
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
|
},
|
||||||
|
"description": "A list of node selector requirements by node's fields."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
14
api/swagger-spec/extensions_v1beta1.json
generated
14
api/swagger-spec/extensions_v1beta1.json
generated
@ -9082,17 +9082,21 @@
|
|||||||
},
|
},
|
||||||
"v1.NodeSelectorTerm": {
|
"v1.NodeSelectorTerm": {
|
||||||
"id": "v1.NodeSelectorTerm",
|
"id": "v1.NodeSelectorTerm",
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "v1.NodeSelectorRequirement"
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
},
|
},
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed."
|
"description": "A list of node selector requirements by node's labels."
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
|
},
|
||||||
|
"description": "A list of node selector requirements by node's fields."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
14
api/swagger-spec/v1.json
generated
14
api/swagger-spec/v1.json
generated
@ -20056,17 +20056,21 @@
|
|||||||
},
|
},
|
||||||
"v1.NodeSelectorTerm": {
|
"v1.NodeSelectorTerm": {
|
||||||
"id": "v1.NodeSelectorTerm",
|
"id": "v1.NodeSelectorTerm",
|
||||||
"description": "A null or empty node selector term matches no objects.",
|
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"required": [
|
|
||||||
"matchExpressions"
|
|
||||||
],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"matchExpressions": {
|
"matchExpressions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "v1.NodeSelectorRequirement"
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
},
|
},
|
||||||
"description": "Required. A list of node selector requirements. The requirements are ANDed."
|
"description": "A list of node selector requirements by node's labels."
|
||||||
|
},
|
||||||
|
"matchFields": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "v1.NodeSelectorRequirement"
|
||||||
|
},
|
||||||
|
"description": "A list of node selector requirements by node's fields."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
13
docs/api-reference/apps/v1/definitions.html
generated
13
docs/api-reference/apps/v1/definitions.html
generated
@ -512,7 +512,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>A null or empty node selector term matches no objects.</p>
|
<p>A null or empty node selector term matches no objects. The requirements of them are ANDed.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -534,8 +534,15 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Required. A list of node selector requirements. The requirements are ANDed.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s labels.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchFields</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s fields.</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
13
docs/api-reference/apps/v1beta1/definitions.html
generated
13
docs/api-reference/apps/v1beta1/definitions.html
generated
@ -623,7 +623,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>A null or empty node selector term matches no objects.</p>
|
<p>A null or empty node selector term matches no objects. The requirements of them are ANDed.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -645,8 +645,15 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Required. A list of node selector requirements. The requirements are ANDed.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s labels.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchFields</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s fields.</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
13
docs/api-reference/apps/v1beta2/definitions.html
generated
13
docs/api-reference/apps/v1beta2/definitions.html
generated
@ -515,7 +515,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>A null or empty node selector term matches no objects.</p>
|
<p>A null or empty node selector term matches no objects. The requirements of them are ANDed.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -537,8 +537,15 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Required. A list of node selector requirements. The requirements are ANDed.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s labels.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchFields</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s fields.</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
13
docs/api-reference/batch/v1/definitions.html
generated
13
docs/api-reference/batch/v1/definitions.html
generated
@ -488,7 +488,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>A null or empty node selector term matches no objects.</p>
|
<p>A null or empty node selector term matches no objects. The requirements of them are ANDed.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -510,8 +510,15 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Required. A list of node selector requirements. The requirements are ANDed.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s labels.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchFields</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s fields.</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
13
docs/api-reference/batch/v1beta1/definitions.html
generated
13
docs/api-reference/batch/v1beta1/definitions.html
generated
@ -488,7 +488,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>A null or empty node selector term matches no objects.</p>
|
<p>A null or empty node selector term matches no objects. The requirements of them are ANDed.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -510,8 +510,15 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Required. A list of node selector requirements. The requirements are ANDed.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s labels.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchFields</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s fields.</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
13
docs/api-reference/batch/v2alpha1/definitions.html
generated
13
docs/api-reference/batch/v2alpha1/definitions.html
generated
@ -488,7 +488,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>A null or empty node selector term matches no objects.</p>
|
<p>A null or empty node selector term matches no objects. The requirements of them are ANDed.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -510,8 +510,15 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Required. A list of node selector requirements. The requirements are ANDed.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s labels.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchFields</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s fields.</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -740,7 +740,7 @@ Examples: <code>/foo</code> would allow <code>/foo</code>, <code>/foo/</code> an
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>A null or empty node selector term matches no objects.</p>
|
<p>A null or empty node selector term matches no objects. The requirements of them are ANDed.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -762,8 +762,15 @@ Examples: <code>/foo</code> would allow <code>/foo</code>, <code>/foo/</code> an
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Required. A list of node selector requirements. The requirements are ANDed.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s labels.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchFields</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s fields.</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
13
docs/api-reference/v1/definitions.html
generated
13
docs/api-reference/v1/definitions.html
generated
@ -6457,7 +6457,7 @@ Examples:<br>
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
<h3 id="_v1_nodeselectorterm">v1.NodeSelectorTerm</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>A null or empty node selector term matches no objects.</p>
|
<p>A null or empty node selector term matches no objects. The requirements of them are ANDed.</p>
|
||||||
</div>
|
</div>
|
||||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
@ -6479,8 +6479,15 @@ Examples:<br>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchExpressions</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">Required. A list of node selector requirements. The requirements are ANDed.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s labels.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">matchFields</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">A list of node selector requirements by node’s fields.</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"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_nodeselectorrequirement">v1.NodeSelectorRequirement</a> array</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -15,6 +15,7 @@ go_test(
|
|||||||
"//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
||||||
|
"//vendor/k8s.io/apimachinery/pkg/fields:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/labels:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/labels:go_default_library",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -27,6 +28,7 @@ go_library(
|
|||||||
"//pkg/apis/core/helper:go_default_library",
|
"//pkg/apis/core/helper:go_default_library",
|
||||||
"//vendor/k8s.io/api/core/v1:go_default_library",
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
||||||
|
"//vendor/k8s.io/apimachinery/pkg/fields:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/labels:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/labels:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/selection:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/selection:go_default_library",
|
||||||
"//vendor/k8s.io/apimachinery/pkg/util/validation:go_default_library",
|
"//vendor/k8s.io/apimachinery/pkg/util/validation:go_default_library",
|
||||||
|
2
pkg/apis/core/v1/zz_generated.conversion.go
generated
2
pkg/apis/core/v1/zz_generated.conversion.go
generated
@ -2737,6 +2737,7 @@ func Convert_core_NodeSelectorRequirement_To_v1_NodeSelectorRequirement(in *core
|
|||||||
|
|
||||||
func autoConvert_v1_NodeSelectorTerm_To_core_NodeSelectorTerm(in *v1.NodeSelectorTerm, out *core.NodeSelectorTerm, s conversion.Scope) error {
|
func autoConvert_v1_NodeSelectorTerm_To_core_NodeSelectorTerm(in *v1.NodeSelectorTerm, out *core.NodeSelectorTerm, s conversion.Scope) error {
|
||||||
out.MatchExpressions = *(*[]core.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchExpressions))
|
out.MatchExpressions = *(*[]core.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchExpressions))
|
||||||
|
out.MatchFields = *(*[]core.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchFields))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2747,6 +2748,7 @@ func Convert_v1_NodeSelectorTerm_To_core_NodeSelectorTerm(in *v1.NodeSelectorTer
|
|||||||
|
|
||||||
func autoConvert_core_NodeSelectorTerm_To_v1_NodeSelectorTerm(in *core.NodeSelectorTerm, out *v1.NodeSelectorTerm, s conversion.Scope) error {
|
func autoConvert_core_NodeSelectorTerm_To_v1_NodeSelectorTerm(in *core.NodeSelectorTerm, out *v1.NodeSelectorTerm, s conversion.Scope) error {
|
||||||
out.MatchExpressions = *(*[]v1.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchExpressions))
|
out.MatchExpressions = *(*[]v1.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchExpressions))
|
||||||
|
out.MatchFields = *(*[]v1.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchFields))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
7
pkg/apis/core/zz_generated.deepcopy.go
generated
7
pkg/apis/core/zz_generated.deepcopy.go
generated
@ -2547,6 +2547,13 @@ func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) {
|
|||||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if in.MatchFields != nil {
|
||||||
|
in, out := &in.MatchFields, &out.MatchFields
|
||||||
|
*out = make([]NodeSelectorRequirement, len(*in))
|
||||||
|
for i := range *in {
|
||||||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||||
|
}
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1578
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
1578
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
File diff suppressed because it is too large
Load Diff
@ -1875,10 +1875,16 @@ message NodeSelectorRequirement {
|
|||||||
repeated string values = 3;
|
repeated string values = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// A null or empty node selector term matches no objects.
|
// A null or empty node selector term matches no objects. The requirements of
|
||||||
|
// them are ANDed.
|
||||||
message NodeSelectorTerm {
|
message NodeSelectorTerm {
|
||||||
// Required. A list of node selector requirements. The requirements are ANDed.
|
// A list of node selector requirements by node's labels.
|
||||||
|
// +optional
|
||||||
repeated NodeSelectorRequirement matchExpressions = 1;
|
repeated NodeSelectorRequirement matchExpressions = 1;
|
||||||
|
|
||||||
|
// A list of node selector requirements by node's fields.
|
||||||
|
// +optional
|
||||||
|
repeated NodeSelectorRequirement matchFields = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// NodeSpec describes the attributes that a node is created with.
|
// NodeSpec describes the attributes that a node is created with.
|
||||||
|
@ -1034,8 +1034,9 @@ func (NodeSelectorRequirement) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_NodeSelectorTerm = map[string]string{
|
var map_NodeSelectorTerm = map[string]string{
|
||||||
"": "A null or empty node selector term matches no objects.",
|
"": "A null or empty node selector term matches no objects. The requirements of them are ANDed.",
|
||||||
"matchExpressions": "Required. A list of node selector requirements. The requirements are ANDed.",
|
"matchExpressions": "A list of node selector requirements by node's labels.",
|
||||||
|
"matchFields": "A list of node selector requirements by node's fields.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (NodeSelectorTerm) SwaggerDoc() map[string]string {
|
func (NodeSelectorTerm) SwaggerDoc() map[string]string {
|
||||||
|
@ -2543,6 +2543,13 @@ func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) {
|
|||||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if in.MatchFields != nil {
|
||||||
|
in, out := &in.MatchFields, &out.MatchFields
|
||||||
|
*out = make([]NodeSelectorRequirement, len(*in))
|
||||||
|
for i := range *in {
|
||||||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||||
|
}
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user