mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-28 21:13:35 +00:00
apis: update comment for Eviction resource
This commit is contained in:
parent
f046acdf78
commit
3eaa6ca4a6
@ -32197,7 +32197,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"v1alpha1.Eviction": {
|
"v1alpha1.Eviction": {
|
||||||
"description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/evictions.",
|
"description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/eviction.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"deleteOptions": {
|
"deleteOptions": {
|
||||||
"description": "DeleteOptions may be provided",
|
"description": "DeleteOptions may be provided",
|
||||||
|
@ -16106,7 +16106,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"v1alpha1.Eviction": {
|
"v1alpha1.Eviction": {
|
||||||
"description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/evictions.",
|
"description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/eviction.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"deleteOptions": {
|
"deleteOptions": {
|
||||||
"description": "DeleteOptions may be provided",
|
"description": "DeleteOptions may be provided",
|
||||||
|
@ -18942,7 +18942,7 @@
|
|||||||
},
|
},
|
||||||
"v1alpha1.Eviction": {
|
"v1alpha1.Eviction": {
|
||||||
"id": "v1alpha1.Eviction",
|
"id": "v1alpha1.Eviction",
|
||||||
"description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/evictions.",
|
"description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/eviction.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"kind": {
|
"kind": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -6869,7 +6869,7 @@ The resulting set of endpoints can be viewed as:<br>
|
|||||||
<div class="sect2">
|
<div class="sect2">
|
||||||
<h3 id="_v1alpha1_eviction">v1alpha1.Eviction</h3>
|
<h3 id="_v1alpha1_eviction">v1alpha1.Eviction</h3>
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<p>Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to …/pods/<pod name>/evictions.</p>
|
<p>Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to …/pods/<pod name>/eviction.</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>
|
||||||
@ -8558,7 +8558,7 @@ The resulting set of endpoints can be viewed as:<br>
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2016-10-20 13:15:21 UTC
|
Last updated 2016-10-23 13:17:29 UTC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -79,7 +79,7 @@ type PodDisruptionBudgetList struct {
|
|||||||
|
|
||||||
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
||||||
// This is a subresource of Pod. A request to cause such an eviction is
|
// This is a subresource of Pod. A request to cause such an eviction is
|
||||||
// created by POSTing to .../pods/<pod name>/evictions.
|
// created by POSTing to .../pods/<pod name>/eviction.
|
||||||
type Eviction struct {
|
type Eviction struct {
|
||||||
unversioned.TypeMeta `json:",inline"`
|
unversioned.TypeMeta `json:",inline"`
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ option go_package = "v1alpha1";
|
|||||||
|
|
||||||
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
||||||
// This is a subresource of Pod. A request to cause such an eviction is
|
// This is a subresource of Pod. A request to cause such an eviction is
|
||||||
// created by POSTing to .../pods/<pod name>/evictions.
|
// created by POSTing to .../pods/<pod name>/eviction.
|
||||||
message Eviction {
|
message Eviction {
|
||||||
// ObjectMeta describes the pod that is being evicted.
|
// ObjectMeta describes the pod that is being evicted.
|
||||||
// +optional
|
// +optional
|
||||||
|
@ -79,7 +79,7 @@ type PodDisruptionBudgetList struct {
|
|||||||
|
|
||||||
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
||||||
// This is a subresource of Pod. A request to cause such an eviction is
|
// This is a subresource of Pod. A request to cause such an eviction is
|
||||||
// created by POSTing to .../pods/<pod name>/evictions.
|
// created by POSTing to .../pods/<pod name>/eviction.
|
||||||
type Eviction struct {
|
type Eviction struct {
|
||||||
unversioned.TypeMeta `json:",inline"`
|
unversioned.TypeMeta `json:",inline"`
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ package v1alpha1
|
|||||||
|
|
||||||
// AUTO-GENERATED FUNCTIONS START HERE
|
// AUTO-GENERATED FUNCTIONS START HERE
|
||||||
var map_Eviction = map[string]string{
|
var map_Eviction = map[string]string{
|
||||||
"": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.",
|
"": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/eviction.",
|
||||||
"metadata": "ObjectMeta describes the pod that is being evicted.",
|
"metadata": "ObjectMeta describes the pod that is being evicted.",
|
||||||
"deleteOptions": "DeleteOptions may be provided",
|
"deleteOptions": "DeleteOptions may be provided",
|
||||||
}
|
}
|
||||||
|
@ -5000,7 +5000,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
|
|||||||
"intstr.IntOrString": intstr.IntOrString{}.OpenAPIDefinition(), "policy.Eviction": {
|
"intstr.IntOrString": intstr.IntOrString{}.OpenAPIDefinition(), "policy.Eviction": {
|
||||||
Schema: spec.Schema{
|
Schema: spec.Schema{
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.",
|
Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/eviction.",
|
||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"metadata": {
|
"metadata": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
@ -13381,7 +13381,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
|
|||||||
"v1alpha1.Eviction": {
|
"v1alpha1.Eviction": {
|
||||||
Schema: spec.Schema{
|
Schema: spec.Schema{
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.",
|
Description: "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/eviction.",
|
||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"metadata": {
|
"metadata": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
|
Loading…
Reference in New Issue
Block a user