Auto generated stuff.

This commit is contained in:
Avesh Agarwal
2017-02-21 11:23:50 -05:00
parent b4d3d24eaf
commit b679e13c91
22 changed files with 2120 additions and 953 deletions

View File

@@ -1516,6 +1516,9 @@ func DeepCopy_api_Node(in interface{}, out interface{}, c *conversion.Cloner) er
} else {
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
}
if err := DeepCopy_api_NodeSpec(&in.Spec, &out.Spec, c); err != nil {
return err
}
if err := DeepCopy_api_NodeStatus(&in.Status, &out.Status, c); err != nil {
return err
}
@@ -1675,6 +1678,15 @@ func DeepCopy_api_NodeSpec(in interface{}, out interface{}, c *conversion.Cloner
in := in.(*NodeSpec)
out := out.(*NodeSpec)
*out = *in
if in.Taints != nil {
in, out := &in.Taints, &out.Taints
*out = make([]Taint, len(*in))
for i := range *in {
if err := DeepCopy_api_Taint(&(*in)[i], &(*out)[i], c); err != nil {
return err
}
}
}
return nil
}
}
@@ -2417,6 +2429,15 @@ func DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner)
return err
}
}
if in.Tolerations != nil {
in, out := &in.Tolerations, &out.Tolerations
*out = make([]Toleration, len(*in))
for i := range *in {
if err := DeepCopy_api_Toleration(&(*in)[i], &(*out)[i], c); err != nil {
return err
}
}
}
return nil
}
}