mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
generated: staging
This commit is contained in:
@@ -21,14 +21,13 @@ limitations under the License.
|
||||
package api
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
labels "k8s.io/apimachinery/pkg/labels"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
types "k8s.io/apimachinery/pkg/types"
|
||||
fields "k8s.io/kubernetes/pkg/fields"
|
||||
reflect "reflect"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -305,8 +304,10 @@ func DeepCopy_api_Binding(in interface{}, out interface{}, c *conversion.Cloner)
|
||||
in := in.(*Binding)
|
||||
out := out.(*Binding)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -377,8 +378,10 @@ func DeepCopy_api_ComponentStatus(in interface{}, out interface{}, c *conversion
|
||||
in := in.(*ComponentStatus)
|
||||
out := out.(*ComponentStatus)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if in.Conditions != nil {
|
||||
in, out := &in.Conditions, &out.Conditions
|
||||
@@ -414,8 +417,10 @@ func DeepCopy_api_ConfigMap(in interface{}, out interface{}, c *conversion.Clone
|
||||
in := in.(*ConfigMap)
|
||||
out := out.(*ConfigMap)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if in.Data != nil {
|
||||
in, out := &in.Data, &out.Data
|
||||
@@ -850,8 +855,10 @@ func DeepCopy_api_Endpoints(in interface{}, out interface{}, c *conversion.Clone
|
||||
in := in.(*Endpoints)
|
||||
out := out.(*Endpoints)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if in.Subsets != nil {
|
||||
in, out := &in.Subsets, &out.Subsets
|
||||
@@ -950,8 +957,10 @@ func DeepCopy_api_Event(in interface{}, out interface{}, c *conversion.Cloner) e
|
||||
in := in.(*Event)
|
||||
out := out.(*Event)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
out.FirstTimestamp = in.FirstTimestamp.DeepCopy()
|
||||
out.LastTimestamp = in.LastTimestamp.DeepCopy()
|
||||
@@ -1189,8 +1198,10 @@ func DeepCopy_api_LimitRange(in interface{}, out interface{}, c *conversion.Clon
|
||||
in := in.(*LimitRange)
|
||||
out := out.(*LimitRange)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_LimitRangeSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -1377,8 +1388,10 @@ func DeepCopy_api_Namespace(in interface{}, out interface{}, c *conversion.Clone
|
||||
in := in.(*Namespace)
|
||||
out := out.(*Namespace)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_NamespaceSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -1435,8 +1448,10 @@ func DeepCopy_api_Node(in interface{}, out interface{}, c *conversion.Cloner) er
|
||||
in := in.(*Node)
|
||||
out := out.(*Node)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_NodeStatus(&in.Status, &out.Status, c); err != nil {
|
||||
return err
|
||||
@@ -1745,8 +1760,10 @@ func DeepCopy_api_PersistentVolume(in interface{}, out interface{}, c *conversio
|
||||
in := in.(*PersistentVolume)
|
||||
out := out.(*PersistentVolume)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_PersistentVolumeSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -1760,8 +1777,10 @@ func DeepCopy_api_PersistentVolumeClaim(in interface{}, out interface{}, c *conv
|
||||
in := in.(*PersistentVolumeClaim)
|
||||
out := out.(*PersistentVolumeClaim)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_PersistentVolumeClaimSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -2026,8 +2045,10 @@ func DeepCopy_api_Pod(in interface{}, out interface{}, c *conversion.Cloner) err
|
||||
in := in.(*Pod)
|
||||
out := out.(*Pod)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_PodSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -2376,8 +2397,10 @@ func DeepCopy_api_PodStatusResult(in interface{}, out interface{}, c *conversion
|
||||
in := in.(*PodStatusResult)
|
||||
out := out.(*PodStatusResult)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_PodStatus(&in.Status, &out.Status, c); err != nil {
|
||||
return err
|
||||
@@ -2391,8 +2414,10 @@ func DeepCopy_api_PodTemplate(in interface{}, out interface{}, c *conversion.Clo
|
||||
in := in.(*PodTemplate)
|
||||
out := out.(*PodTemplate)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil {
|
||||
return err
|
||||
@@ -2424,8 +2449,10 @@ func DeepCopy_api_PodTemplateSpec(in interface{}, out interface{}, c *conversion
|
||||
in := in.(*PodTemplateSpec)
|
||||
out := out.(*PodTemplateSpec)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_PodSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -2518,8 +2545,10 @@ func DeepCopy_api_RangeAllocation(in interface{}, out interface{}, c *conversion
|
||||
in := in.(*RangeAllocation)
|
||||
out := out.(*RangeAllocation)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if in.Data != nil {
|
||||
in, out := &in.Data, &out.Data
|
||||
@@ -2535,8 +2564,10 @@ func DeepCopy_api_ReplicationController(in interface{}, out interface{}, c *conv
|
||||
in := in.(*ReplicationController)
|
||||
out := out.(*ReplicationController)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_ReplicationControllerSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -2632,8 +2663,10 @@ func DeepCopy_api_ResourceQuota(in interface{}, out interface{}, c *conversion.C
|
||||
in := in.(*ResourceQuota)
|
||||
out := out.(*ResourceQuota)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_ResourceQuotaSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -2746,8 +2779,10 @@ func DeepCopy_api_Secret(in interface{}, out interface{}, c *conversion.Cloner)
|
||||
in := in.(*Secret)
|
||||
out := out.(*Secret)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if in.Data != nil {
|
||||
in, out := &in.Data, &out.Data
|
||||
@@ -2869,8 +2904,10 @@ func DeepCopy_api_Service(in interface{}, out interface{}, c *conversion.Cloner)
|
||||
in := in.(*Service)
|
||||
out := out.(*Service)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if err := DeepCopy_api_ServiceSpec(&in.Spec, &out.Spec, c); err != nil {
|
||||
return err
|
||||
@@ -2887,8 +2924,10 @@ func DeepCopy_api_ServiceAccount(in interface{}, out interface{}, c *conversion.
|
||||
in := in.(*ServiceAccount)
|
||||
out := out.(*ServiceAccount)
|
||||
*out = *in
|
||||
if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
||||
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
|
||||
return err
|
||||
} else {
|
||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||
}
|
||||
if in.Secrets != nil {
|
||||
in, out := &in.Secrets, &out.Secrets
|
||||
|
||||
Reference in New Issue
Block a user