Deprecated binding object in 1.7.

This commit is contained in:
Klaus Ma 2017-06-06 07:49:00 -04:00
parent 1dc2056599
commit c9a46a0806
2 changed files with 4 additions and 3 deletions

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

@ -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.