"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/foo/evictions.",
"properties":{
"kind":{
"type":"string",
"description":"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds"
},
"apiVersion":{
"type":"string",
"description":"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources"
},
"metadata":{
"$ref":"v1.ObjectMeta",
"description":"ObjectMeta describes the pod that is being evicted."
},
"deleteOptions":{
"$ref":"v1.DeleteOptions",
"description":"DeleteOptions may be provided"
}
}
},
"v1.PodTemplateList":{
"id":"v1.PodTemplateList",
"description":"PodTemplateList is a list of PodTemplates.",
@@ -6660,6 +6660,61 @@ The resulting set of endpoints can be viewed as:<br>
</div>
<divclass="sect2">
<h3id="_v1alpha1_eviction">v1alpha1.Eviction</h3>
<divclass="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/foo/evictions.</p>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: <ahref="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: <ahref="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources</a></p></td>
// Those methods can be generated by using hack/update-generated-swagger-docs.sh
// AUTO-GENERATED FUNCTIONS START HERE
varmap_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/foo/evictions.",
"metadata":"ObjectMeta describes the pod that is being evicted.",
"deleteOptions":"DeleteOptions may be provided",
}
func(Eviction)SwaggerDoc()map[string]string{
returnmap_Eviction
}
varmap_PodDisruptionBudget=map[string]string{
"":"PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods",
"spec":"Specification of the desired behavior of the PodDisruptionBudget.",