forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zz_generated.deepcopy.go
105 lines (95 loc) · 2.9 KB
/
zz_generated.deepcopy.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
// +build !ignore_autogenerated_openshift
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
package api
import (
pkg_api "k8s.io/kubernetes/pkg/api"
conversion "k8s.io/kubernetes/pkg/conversion"
runtime "k8s.io/kubernetes/pkg/runtime"
reflect "reflect"
)
func init() {
SchemeBuilder.Register(RegisterDeepCopies)
}
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes.
func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Project, InType: reflect.TypeOf(&Project{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ProjectList, InType: reflect.TypeOf(&ProjectList{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ProjectRequest, InType: reflect.TypeOf(&ProjectRequest{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ProjectSpec, InType: reflect.TypeOf(&ProjectSpec{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ProjectStatus, InType: reflect.TypeOf(&ProjectStatus{})},
)
}
func DeepCopy_api_Project(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*Project)
out := out.(*Project)
out.TypeMeta = in.TypeMeta
if err := pkg_api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
return err
}
if err := DeepCopy_api_ProjectSpec(&in.Spec, &out.Spec, c); err != nil {
return err
}
out.Status = in.Status
return nil
}
}
func DeepCopy_api_ProjectList(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*ProjectList)
out := out.(*ProjectList)
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]Project, len(*in))
for i := range *in {
if err := DeepCopy_api_Project(&(*in)[i], &(*out)[i], c); err != nil {
return err
}
}
} else {
out.Items = nil
}
return nil
}
}
func DeepCopy_api_ProjectRequest(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*ProjectRequest)
out := out.(*ProjectRequest)
out.TypeMeta = in.TypeMeta
if err := pkg_api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
return err
}
out.DisplayName = in.DisplayName
out.Description = in.Description
return nil
}
}
func DeepCopy_api_ProjectSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*ProjectSpec)
out := out.(*ProjectSpec)
if in.Finalizers != nil {
in, out := &in.Finalizers, &out.Finalizers
*out = make([]pkg_api.FinalizerName, len(*in))
for i := range *in {
(*out)[i] = (*in)[i]
}
} else {
out.Finalizers = nil
}
return nil
}
}
func DeepCopy_api_ProjectStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*ProjectStatus)
out := out.(*ProjectStatus)
out.Phase = in.Phase
return nil
}
}