From 3eaa6ca4a67070eb675e8de65bee1da0cba8a450 Mon Sep 17 00:00:00 2001 From: Michail Kargakis Date: Sun, 23 Oct 2016 15:02:42 +0200 Subject: [PATCH] apis: update comment for Eviction resource --- api/openapi-spec/swagger.json | 2 +- api/openapi-spec/v1.json | 2 +- api/swagger-spec/v1.json | 2 +- docs/api-reference/v1/definitions.html | 4 ++-- pkg/apis/policy/types.go | 2 +- pkg/apis/policy/v1alpha1/generated.proto | 2 +- pkg/apis/policy/v1alpha1/types.go | 2 +- pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go | 2 +- pkg/generated/openapi/zz_generated.openapi.go | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index bfe4305d2fe..35450cfac2e 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -32197,7 +32197,7 @@ } }, "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": { "deleteOptions": { "description": "DeleteOptions may be provided", diff --git a/api/openapi-spec/v1.json b/api/openapi-spec/v1.json index 95f3ce33833..535bab7e18a 100644 --- a/api/openapi-spec/v1.json +++ b/api/openapi-spec/v1.json @@ -16106,7 +16106,7 @@ } }, "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": { "deleteOptions": { "description": "DeleteOptions may be provided", diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index efb1cd9ddc6..b786e83f6df 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -18942,7 +18942,7 @@ }, "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": { "kind": { "type": "string", diff --git a/docs/api-reference/v1/definitions.html b/docs/api-reference/v1/definitions.html index c640085a19a..0a5597c877d 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -6869,7 +6869,7 @@ The resulting set of endpoints can be viewed as:

v1alpha1.Eviction

-

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.

@@ -8558,7 +8558,7 @@ The resulting set of endpoints can be viewed as:
diff --git a/pkg/apis/policy/types.go b/pkg/apis/policy/types.go index 78372436995..508688977a0 100644 --- a/pkg/apis/policy/types.go +++ b/pkg/apis/policy/types.go @@ -79,7 +79,7 @@ type PodDisruptionBudgetList struct { // 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//evictions. +// created by POSTing to .../pods//eviction. type Eviction struct { unversioned.TypeMeta `json:",inline"` diff --git a/pkg/apis/policy/v1alpha1/generated.proto b/pkg/apis/policy/v1alpha1/generated.proto index 25a499322f0..7722c1868df 100644 --- a/pkg/apis/policy/v1alpha1/generated.proto +++ b/pkg/apis/policy/v1alpha1/generated.proto @@ -32,7 +32,7 @@ option go_package = "v1alpha1"; // 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//evictions. +// created by POSTing to .../pods//eviction. message Eviction { // ObjectMeta describes the pod that is being evicted. // +optional diff --git a/pkg/apis/policy/v1alpha1/types.go b/pkg/apis/policy/v1alpha1/types.go index 0076f1feedc..e2dfc733155 100644 --- a/pkg/apis/policy/v1alpha1/types.go +++ b/pkg/apis/policy/v1alpha1/types.go @@ -79,7 +79,7 @@ type PodDisruptionBudgetList struct { // 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//evictions. +// created by POSTing to .../pods//eviction. type Eviction struct { unversioned.TypeMeta `json:",inline"` diff --git a/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go b/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go index f11858ff242..82054d2ef27 100644 --- a/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go +++ b/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go @@ -28,7 +28,7 @@ package v1alpha1 // AUTO-GENERATED FUNCTIONS START HERE 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//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//eviction.", "metadata": "ObjectMeta describes the pod that is being evicted.", "deleteOptions": "DeleteOptions may be provided", } diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 3d1fce991cb..b64e9303a15 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -5000,7 +5000,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "intstr.IntOrString": intstr.IntOrString{}.OpenAPIDefinition(), "policy.Eviction": { Schema: spec.Schema{ 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//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//eviction.", Properties: map[string]spec.Schema{ "metadata": { SchemaProps: spec.SchemaProps{ @@ -13381,7 +13381,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ "v1alpha1.Eviction": { Schema: spec.Schema{ 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//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//eviction.", Properties: map[string]spec.Schema{ "metadata": { SchemaProps: spec.SchemaProps{