Skip to content

Commit 5404948

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request kubernetes#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 kubernetes#10043 ```release-note Deprecated Binding objects in 1.7. ```
2 parents 574a6ca + 6ad529b commit 5404948

File tree

11 files changed

+18
-16
lines changed

11 files changed

+18
-16
lines changed

api/openapi-spec/swagger.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46918,7 +46918,7 @@
4691846918
}
4691946919
},
4692046920
"io.k8s.kubernetes.pkg.api.v1.Binding": {
46921-
"description": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.",
46921+
"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.",
4692246922
"required": [
4692346923
"target"
4692446924
],

api/swagger-spec/v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17327,7 +17327,7 @@
1732717327
"models": {
1732817328
"v1.Binding": {
1732917329
"id": "v1.Binding",
17330-
"description": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.",
17330+
"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.",
1733117331
"required": [
1733217332
"target"
1733317333
],

docs/api-reference/v1/definitions.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8071,7 +8071,7 @@ <h3 id="_v1_containerstateterminated">v1.ContainerStateTerminated</h3>
80718071
<div class="sect2">
80728072
<h3 id="_v1_binding">v1.Binding</h3>
80738073
<div class="paragraph">
8074-
<p>Binding ties one object to another. For example, a pod is bound to a node by a scheduler.</p>
8074+
<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>
80758075
</div>
80768076
<table class="tableblock frame-all grid-all" style="width:100%; ">
80778077
<colgroup>
@@ -10112,7 +10112,7 @@ <h3 id="_any">any</h3>
1011210112
</div>
1011310113
<div id="footer">
1011410114
<div id="footer-text">
10115-
Last updated 2017-06-06 04:24:44 UTC
10115+
Last updated 2017-06-08 02:30:43 UTC
1011610116
</div>
1011710117
</div>
1011810118
</body>

pkg/api/types.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -3135,7 +3135,8 @@ type NamespaceList struct {
31353135
Items []Namespace
31363136
}
31373137

3138-
// Binding ties one object to another - for example, a pod is bound to a node by a scheduler.
3138+
// Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
3139+
// Deprecated in 1.7, please use the bindings subresource of pods instead.
31393140
type Binding struct {
31403141
metav1.TypeMeta
31413142
// ObjectMeta describes the object that is being bound.

pkg/api/v1/generated.proto

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/api/v1/types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3593,8 +3593,8 @@ type NamespaceList struct {
35933593
Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"`
35943594
}
35953595

3596-
// Binding ties one object to another.
3597-
// For example, a pod is bound to a node by a scheduler.
3596+
// Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
3597+
// Deprecated in 1.7, please use the bindings subresource of pods instead.
35983598
type Binding struct {
35993599
metav1.TypeMeta `json:",inline"`
36003600
// Standard object's metadata.

pkg/api/v1/types_swagger_doc_generated.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (AzureFileVolumeSource) SwaggerDoc() map[string]string {
9595
}
9696

9797
var map_Binding = map[string]string{
98-
"": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.",
98+
"": "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.",
9999
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
100100
"target": "The target object that you want to bind to the standard object.",
101101
}

staging/src/k8s.io/client-go/pkg/api/types.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -3135,7 +3135,8 @@ type NamespaceList struct {
31353135
Items []Namespace
31363136
}
31373137

3138-
// Binding ties one object to another - for example, a pod is bound to a node by a scheduler.
3138+
// Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
3139+
// Deprecated in 1.7, please use the bindings subresource of pods instead.
31393140
type Binding struct {
31403141
metav1.TypeMeta
31413142
// ObjectMeta describes the object that is being bound.

staging/src/k8s.io/client-go/pkg/api/v1/generated.proto

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/client-go/pkg/api/v1/types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3593,8 +3593,8 @@ type NamespaceList struct {
35933593
Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"`
35943594
}
35953595

3596-
// Binding ties one object to another.
3597-
// For example, a pod is bound to a node by a scheduler.
3596+
// Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
3597+
// Deprecated in 1.7, please use the bindings subresource of pods instead.
35983598
type Binding struct {
35993599
metav1.TypeMeta `json:",inline"`
36003600
// Standard object's metadata.

staging/src/k8s.io/client-go/pkg/api/v1/types_swagger_doc_generated.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (AzureFileVolumeSource) SwaggerDoc() map[string]string {
9595
}
9696

9797
var map_Binding = map[string]string{
98-
"": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.",
98+
"": "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.",
9999
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
100100
"target": "The target object that you want to bind to the standard object.",
101101
}

0 commit comments

Comments
 (0)