// +build !ignore_autogenerated /* Copyright 2016 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // This file was autogenerated by deepcopy-gen. Do not edit it manually! package unversioned import ( conversion "k8s.io/kubernetes/pkg/conversion" time "time" ) func DeepCopy_unversioned_Duration(in Duration, out *Duration, c *conversion.Cloner) error { out.Duration = in.Duration return nil } func DeepCopy_unversioned_GroupKind(in GroupKind, out *GroupKind, c *conversion.Cloner) error { out.Group = in.Group out.Kind = in.Kind return nil } func DeepCopy_unversioned_GroupResource(in GroupResource, out *GroupResource, c *conversion.Cloner) error { out.Group = in.Group out.Resource = in.Resource return nil } func DeepCopy_unversioned_GroupVersion(in GroupVersion, out *GroupVersion, c *conversion.Cloner) error { out.Group = in.Group out.Version = in.Version return nil } func DeepCopy_unversioned_GroupVersionKind(in GroupVersionKind, out *GroupVersionKind, c *conversion.Cloner) error { out.Group = in.Group out.Version = in.Version out.Kind = in.Kind return nil } func DeepCopy_unversioned_GroupVersionResource(in GroupVersionResource, out *GroupVersionResource, c *conversion.Cloner) error { out.Group = in.Group out.Version = in.Version out.Resource = in.Resource return nil } func DeepCopy_unversioned_LabelSelector(in LabelSelector, out *LabelSelector, c *conversion.Cloner) error { if in.MatchLabels != nil { in, out := in.MatchLabels, &out.MatchLabels *out = make(map[string]string) for key, val := range in { (*out)[key] = val } } else { out.MatchLabels = nil } if in.MatchExpressions != nil { in, out := in.MatchExpressions, &out.MatchExpressions *out = make([]LabelSelectorRequirement, len(in)) for i := range in { if err := DeepCopy_unversioned_LabelSelectorRequirement(in[i], &(*out)[i], c); err != nil { return err } } } else { out.MatchExpressions = nil } return nil } func DeepCopy_unversioned_LabelSelectorRequirement(in LabelSelectorRequirement, out *LabelSelectorRequirement, c *conversion.Cloner) error { out.Key = in.Key out.Operator = in.Operator if in.Values != nil { in, out := in.Values, &out.Values *out = make([]string, len(in)) copy(*out, in) } else { out.Values = nil } return nil } func DeepCopy_unversioned_ListMeta(in ListMeta, out *ListMeta, c *conversion.Cloner) error { out.SelfLink = in.SelfLink out.ResourceVersion = in.ResourceVersion return nil } func DeepCopy_unversioned_Time(in Time, out *Time, c *conversion.Cloner) error { if newVal, err := c.DeepCopy(in.Time); err != nil { return err } else { out.Time = newVal.(time.Time) } return nil } func DeepCopy_unversioned_Timestamp(in Timestamp, out *Timestamp, c *conversion.Cloner) error { out.Seconds = in.Seconds out.Nanos = in.Nanos return nil } func DeepCopy_unversioned_TypeMeta(in TypeMeta, out *TypeMeta, c *conversion.Cloner) error { out.Kind = in.Kind out.APIVersion = in.APIVersion return nil }