Merge pull request #47041 from k82cn/k8s_10043

Automatic merge from submit-queue

Deprecated binding for 1.7

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #10043

```release-note
Deprecated Binding objects in 1.7.
```
This commit is contained in:
Kubernetes Submit Queue 2017-06-07 23:10:38 -07:00 committed by GitHub
commit 5404948e7b
11 changed files with 18 additions and 16 deletions

View File

@ -46918,7 +46918,7 @@
} }
}, },
"io.k8s.kubernetes.pkg.api.v1.Binding": { "io.k8s.kubernetes.pkg.api.v1.Binding": {
"description": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.", "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.",
"required": [ "required": [
"target" "target"
], ],

View File

@ -17327,7 +17327,7 @@
"models": { "models": {
"v1.Binding": { "v1.Binding": {
"id": "v1.Binding", "id": "v1.Binding",
"description": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.", "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.",
"required": [ "required": [
"target" "target"
], ],

View File

@ -8071,7 +8071,7 @@ Examples:<br>
<div class="sect2"> <div class="sect2">
<h3 id="_v1_binding">v1.Binding</h3> <h3 id="_v1_binding">v1.Binding</h3>
<div class="paragraph"> <div class="paragraph">
<p>Binding ties one object to another. For example, a pod is bound to a node by a scheduler.</p> <p>Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.</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>
@ -10112,7 +10112,7 @@ Examples:<br>
</div> </div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2017-06-06 04:24:44 UTC Last updated 2017-06-08 02:30:43 UTC
</div> </div>
</div> </div>
</body> </body>

View File

@ -3135,7 +3135,8 @@ type NamespaceList struct {
Items []Namespace Items []Namespace
} }
// Binding ties one object to another - for example, a pod is bound to a node by a scheduler. // Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
// Deprecated in 1.7, please use the bindings subresource of pods instead.
type Binding struct { type Binding struct {
metav1.TypeMeta metav1.TypeMeta
// ObjectMeta describes the object that is being bound. // ObjectMeta describes the object that is being bound.

View File

@ -138,8 +138,8 @@ message AzureFileVolumeSource {
optional bool readOnly = 3; optional bool readOnly = 3;
} }
// Binding ties one object to another. // Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
// For example, a pod is bound to a node by a scheduler. // Deprecated in 1.7, please use the bindings subresource of pods instead.
message Binding { message Binding {
// Standard object's metadata. // Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

View File

@ -3593,8 +3593,8 @@ type NamespaceList struct {
Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"` Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"`
} }
// Binding ties one object to another. // Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
// For example, a pod is bound to a node by a scheduler. // Deprecated in 1.7, please use the bindings subresource of pods instead.
type Binding struct { type Binding struct {
metav1.TypeMeta `json:",inline"` metav1.TypeMeta `json:",inline"`
// Standard object's metadata. // Standard object's metadata.

View File

@ -95,7 +95,7 @@ func (AzureFileVolumeSource) SwaggerDoc() map[string]string {
} }
var map_Binding = map[string]string{ var map_Binding = map[string]string{
"": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.", "": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.",
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
"target": "The target object that you want to bind to the standard object.", "target": "The target object that you want to bind to the standard object.",
} }

View File

@ -3135,7 +3135,8 @@ type NamespaceList struct {
Items []Namespace Items []Namespace
} }
// Binding ties one object to another - for example, a pod is bound to a node by a scheduler. // Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
// Deprecated in 1.7, please use the bindings subresource of pods instead.
type Binding struct { type Binding struct {
metav1.TypeMeta metav1.TypeMeta
// ObjectMeta describes the object that is being bound. // ObjectMeta describes the object that is being bound.

View File

@ -138,8 +138,8 @@ message AzureFileVolumeSource {
optional bool readOnly = 3; optional bool readOnly = 3;
} }
// Binding ties one object to another. // Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
// For example, a pod is bound to a node by a scheduler. // Deprecated in 1.7, please use the bindings subresource of pods instead.
message Binding { message Binding {
// Standard object's metadata. // Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

View File

@ -3593,8 +3593,8 @@ type NamespaceList struct {
Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"` Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"`
} }
// Binding ties one object to another. // Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
// For example, a pod is bound to a node by a scheduler. // Deprecated in 1.7, please use the bindings subresource of pods instead.
type Binding struct { type Binding struct {
metav1.TypeMeta `json:",inline"` metav1.TypeMeta `json:",inline"`
// Standard object's metadata. // Standard object's metadata.

View File

@ -95,7 +95,7 @@ func (AzureFileVolumeSource) SwaggerDoc() map[string]string {
} }
var map_Binding = map[string]string{ var map_Binding = map[string]string{
"": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.", "": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.",
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
"target": "The target object that you want to bind to the standard object.", "target": "The target object that you want to bind to the standard object.",
} }