ceph-csi/vendor/k8s.io/apimachinery/pkg/test/zz_generated.deepcopy.go

96 lines
2.4 KiB
Go
Raw Normal View History

2018-01-09 18:57:14 +00:00
// +build !ignore_autogenerated
/*
2018-02-15 13:50:31 +00:00
Copyright 2018 The Kubernetes Authors.
2018-01-09 18:57:14 +00:00
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.
*/
2018-03-06 22:33:18 +00:00
// Code generated by deepcopy-gen. DO NOT EDIT.
2018-01-09 18:57:14 +00:00
package test
import (
runtime "k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *List) DeepCopyInto(out *List) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]runtime.Object, len(*in))
for i := range *in {
if (*in)[i] == nil {
(*out)[i] = nil
} else {
(*out)[i] = (*in)[i].DeepCopyObject()
}
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
func (in *List) DeepCopy() *List {
if in == nil {
return nil
}
out := new(List)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *List) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
2018-03-06 22:33:18 +00:00
return nil
2018-01-09 18:57:14 +00:00
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ListV1) DeepCopyInto(out *ListV1) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]runtime.RawExtension, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListV1.
func (in *ListV1) DeepCopy() *ListV1 {
if in == nil {
return nil
}
out := new(ListV1)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ListV1) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
2018-03-06 22:33:18 +00:00
return nil
2018-01-09 18:57:14 +00:00
}