aboutsummaryrefslogtreecommitdiff
path: root/vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-03-26 18:26:55 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-27 18:09:12 +0000
commitaf64e10400f8533a0c48ecdf5ab9b7fbf329e14e (patch)
tree59160e3841b440dd35189c724bbb4375a7be173b /vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go
parent26d7e3c7b85e28c4e42998c90fdcc14079f13eef (diff)
downloadpodman-af64e10400f8533a0c48ecdf5ab9b7fbf329e14e.tar.gz
podman-af64e10400f8533a0c48ecdf5ab9b7fbf329e14e.tar.bz2
podman-af64e10400f8533a0c48ecdf5ab9b7fbf329e14e.zip
Vendor in lots of kubernetes stuff to shrink image size
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #554 Approved by: mheon
Diffstat (limited to 'vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go')
-rw-r--r--vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go121
1 files changed, 76 insertions, 45 deletions
diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go b/vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go
index 54ce6ad59..82cf19ce1 100644
--- a/vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go
+++ b/vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go
@@ -1,7 +1,7 @@
// +build !ignore_autogenerated
/*
-Copyright 2017 The Kubernetes Authors.
+Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,64 +20,95 @@ limitations under the License.
package runtime
-import (
- conversion "k8s.io/apimachinery/pkg/conversion"
- reflect "reflect"
-)
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *RawExtension) DeepCopyInto(out *RawExtension) {
+ *out = *in
+ if in.Raw != nil {
+ in, out := &in.Raw, &out.Raw
+ *out = make([]byte, len(*in))
+ copy(*out, *in)
+ }
+ if in.Object == nil {
+ out.Object = nil
+ } else {
+ out.Object = in.Object.DeepCopyObject()
+ }
+ return
+}
-// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
-func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
- return []conversion.GeneratedDeepCopyFunc{
- {Fn: DeepCopy_runtime_RawExtension, InType: reflect.TypeOf(&RawExtension{})},
- {Fn: DeepCopy_runtime_TypeMeta, InType: reflect.TypeOf(&TypeMeta{})},
- {Fn: DeepCopy_runtime_Unknown, InType: reflect.TypeOf(&Unknown{})},
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension.
+func (in *RawExtension) DeepCopy() *RawExtension {
+ if in == nil {
+ return nil
}
+ out := new(RawExtension)
+ in.DeepCopyInto(out)
+ return out
}
-// DeepCopy_runtime_RawExtension is an autogenerated deepcopy function.
-func DeepCopy_runtime_RawExtension(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*RawExtension)
- out := out.(*RawExtension)
- *out = *in
- if in.Raw != nil {
- in, out := &in.Raw, &out.Raw
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- // in.Object is kind 'Interface'
- if in.Object != nil {
- if newVal, err := c.DeepCopy(&in.Object); err != nil {
- return err
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *Unknown) DeepCopyInto(out *Unknown) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ if in.Raw != nil {
+ in, out := &in.Raw, &out.Raw
+ *out = make([]byte, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unknown.
+func (in *Unknown) DeepCopy() *Unknown {
+ if in == nil {
+ return nil
+ }
+ out := new(Unknown)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
+func (in *Unknown) DeepCopyObject() Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ } else {
+ return nil
+ }
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VersionedObjects) DeepCopyInto(out *VersionedObjects) {
+ *out = *in
+ if in.Objects != nil {
+ in, out := &in.Objects, &out.Objects
+ *out = make([]Object, len(*in))
+ for i := range *in {
+ if (*in)[i] == nil {
+ (*out)[i] = nil
} else {
- out.Object = *newVal.(*Object)
+ (*out)[i] = (*in)[i].DeepCopyObject()
}
}
- return nil
}
+ return
}
-// DeepCopy_runtime_TypeMeta is an autogenerated deepcopy function.
-func DeepCopy_runtime_TypeMeta(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*TypeMeta)
- out := out.(*TypeMeta)
- *out = *in
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionedObjects.
+func (in *VersionedObjects) DeepCopy() *VersionedObjects {
+ if in == nil {
return nil
}
+ out := new(VersionedObjects)
+ in.DeepCopyInto(out)
+ return out
}
-// DeepCopy_runtime_Unknown is an autogenerated deepcopy function.
-func DeepCopy_runtime_Unknown(in interface{}, out interface{}, c *conversion.Cloner) error {
- {
- in := in.(*Unknown)
- out := out.(*Unknown)
- *out = *in
- if in.Raw != nil {
- in, out := &in.Raw, &out.Raw
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
+func (in *VersionedObjects) DeepCopyObject() Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ } else {
return nil
}
}