Skip to content

Commit

Permalink
Regenerate autogenerate files
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-t committed Mar 17, 2016
1 parent 04eb0d4 commit 7e2fdea
Show file tree
Hide file tree
Showing 18 changed files with 3,407 additions and 3,577 deletions.
16 changes: 12 additions & 4 deletions pkg/api/deep_copy_generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,16 @@ func DeepCopy_api_ContainerStatus(in ContainerStatus, out *ContainerStatus, c *c
}

func DeepCopy_api_ConversionError(in ConversionError, out *ConversionError, c *conversion.Cloner) error {
if newVal, err := c.DeepCopy(in.In); err != nil {
if in.In == nil {
out.In = nil
} else if newVal, err := c.DeepCopy(in.In); err != nil {
return err
} else {
out.In = newVal.(interface{})
}
if newVal, err := c.DeepCopy(in.Out); err != nil {
if in.Out == nil {
out.Out = nil
} else if newVal, err := c.DeepCopy(in.Out); err != nil {
return err
} else {
out.Out = newVal.(interface{})
Expand Down Expand Up @@ -1182,12 +1186,16 @@ func DeepCopy_api_ListOptions(in ListOptions, out *ListOptions, c *conversion.Cl
if err := unversioned.DeepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
return err
}
if newVal, err := c.DeepCopy(in.LabelSelector); err != nil {
if in.LabelSelector == nil {
out.LabelSelector = nil
} else if newVal, err := c.DeepCopy(in.LabelSelector); err != nil {
return err
} else {
out.LabelSelector = newVal.(labels.Selector)
}
if newVal, err := c.DeepCopy(in.FieldSelector); err != nil {
if in.FieldSelector == nil {
out.FieldSelector = nil
} else if newVal, err := c.DeepCopy(in.FieldSelector); err != nil {
return err
} else {
out.FieldSelector = newVal.(fields.Selector)
Expand Down
24 changes: 18 additions & 6 deletions pkg/api/meta/deep_copy_generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ func DeepCopy_meta_DefaultRESTMapper(in DefaultRESTMapper, out *DefaultRESTMappe
} else {
out.pluralToSingular = nil
}
if newVal, err := c.DeepCopy(in.interfacesFunc); err != nil {
if in.interfacesFunc == nil {
out.interfacesFunc = nil
} else if newVal, err := c.DeepCopy(in.interfacesFunc); err != nil {
return err
} else {
out.interfacesFunc = newVal.(VersionInterfacesFunc)
Expand All @@ -109,17 +111,23 @@ func DeepCopy_meta_RESTMapping(in RESTMapping, out *RESTMapping, c *conversion.C
if err := unversioned.DeepCopy_unversioned_GroupVersionKind(in.GroupVersionKind, &out.GroupVersionKind, c); err != nil {
return err
}
if newVal, err := c.DeepCopy(in.Scope); err != nil {
if in.Scope == nil {
out.Scope = nil
} else if newVal, err := c.DeepCopy(in.Scope); err != nil {
return err
} else {
out.Scope = newVal.(RESTScope)
}
if newVal, err := c.DeepCopy(in.ObjectConvertor); err != nil {
if in.ObjectConvertor == nil {
out.ObjectConvertor = nil
} else if newVal, err := c.DeepCopy(in.ObjectConvertor); err != nil {
return err
} else {
out.ObjectConvertor = newVal.(runtime.ObjectConvertor)
}
if newVal, err := c.DeepCopy(in.MetadataAccessor); err != nil {
if in.MetadataAccessor == nil {
out.MetadataAccessor = nil
} else if newVal, err := c.DeepCopy(in.MetadataAccessor); err != nil {
return err
} else {
out.MetadataAccessor = newVal.(MetadataAccessor)
Expand All @@ -128,12 +136,16 @@ func DeepCopy_meta_RESTMapping(in RESTMapping, out *RESTMapping, c *conversion.C
}

func DeepCopy_meta_VersionInterfaces(in VersionInterfaces, out *VersionInterfaces, c *conversion.Cloner) error {
if newVal, err := c.DeepCopy(in.ObjectConvertor); err != nil {
if in.ObjectConvertor == nil {
out.ObjectConvertor = nil
} else if newVal, err := c.DeepCopy(in.ObjectConvertor); err != nil {
return err
} else {
out.ObjectConvertor = newVal.(runtime.ObjectConvertor)
}
if newVal, err := c.DeepCopy(in.MetadataAccessor); err != nil {
if in.MetadataAccessor == nil {
out.MetadataAccessor = nil
} else if newVal, err := c.DeepCopy(in.MetadataAccessor); err != nil {
return err
} else {
out.MetadataAccessor = newVal.(MetadataAccessor)
Expand Down
51 changes: 51 additions & 0 deletions pkg/api/unversioned/deep_copy_generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ import (
time "time"
)

func DeepCopy_unversioned_Duration(in Duration, out *Duration, c *conversion.Cloner) error {
out.Duration = in.Duration
return nil
}

func DeepCopy_unversioned_ExportOptions(in ExportOptions, out *ExportOptions, c *conversion.Cloner) error {
if err := DeepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
return err
}
out.Export = in.Export
out.Exact = in.Exact
return nil
}

func DeepCopy_unversioned_GroupKind(in GroupKind, out *GroupKind, c *conversion.Cloner) error {
out.Group = in.Group
out.Kind = in.Kind
Expand Down Expand Up @@ -57,6 +71,43 @@ func DeepCopy_unversioned_GroupVersionResource(in GroupVersionResource, out *Gro
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
Expand Down
Loading

0 comments on commit 7e2fdea

Please sign in to comment.