@@ -23,137 +23,10 @@ package v1
23
23
import (
24
24
core_v1 "k8s.io/api/core/v1"
25
25
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26
- conversion "k8s.io/apimachinery/pkg/conversion"
27
26
runtime "k8s.io/apimachinery/pkg/runtime"
28
27
intstr "k8s.io/apimachinery/pkg/util/intstr"
29
- reflect "reflect"
30
28
)
31
29
32
- func init () {
33
- SchemeBuilder .Register (RegisterDeepCopies )
34
- }
35
-
36
- // RegisterDeepCopies adds deep-copy functions to the given scheme. Public
37
- // to allow building arbitrary schemes.
38
- //
39
- // Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
40
- func RegisterDeepCopies (scheme * runtime.Scheme ) error {
41
- return scheme .AddGeneratedDeepCopyFuncs (
42
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
43
- in .(* ControllerRevision ).DeepCopyInto (out .(* ControllerRevision ))
44
- return nil
45
- }, InType : reflect .TypeOf (& ControllerRevision {})},
46
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
47
- in .(* ControllerRevisionList ).DeepCopyInto (out .(* ControllerRevisionList ))
48
- return nil
49
- }, InType : reflect .TypeOf (& ControllerRevisionList {})},
50
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
51
- in .(* DaemonSet ).DeepCopyInto (out .(* DaemonSet ))
52
- return nil
53
- }, InType : reflect .TypeOf (& DaemonSet {})},
54
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
55
- in .(* DaemonSetCondition ).DeepCopyInto (out .(* DaemonSetCondition ))
56
- return nil
57
- }, InType : reflect .TypeOf (& DaemonSetCondition {})},
58
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
59
- in .(* DaemonSetList ).DeepCopyInto (out .(* DaemonSetList ))
60
- return nil
61
- }, InType : reflect .TypeOf (& DaemonSetList {})},
62
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
63
- in .(* DaemonSetSpec ).DeepCopyInto (out .(* DaemonSetSpec ))
64
- return nil
65
- }, InType : reflect .TypeOf (& DaemonSetSpec {})},
66
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
67
- in .(* DaemonSetStatus ).DeepCopyInto (out .(* DaemonSetStatus ))
68
- return nil
69
- }, InType : reflect .TypeOf (& DaemonSetStatus {})},
70
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
71
- in .(* DaemonSetUpdateStrategy ).DeepCopyInto (out .(* DaemonSetUpdateStrategy ))
72
- return nil
73
- }, InType : reflect .TypeOf (& DaemonSetUpdateStrategy {})},
74
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
75
- in .(* Deployment ).DeepCopyInto (out .(* Deployment ))
76
- return nil
77
- }, InType : reflect .TypeOf (& Deployment {})},
78
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
79
- in .(* DeploymentCondition ).DeepCopyInto (out .(* DeploymentCondition ))
80
- return nil
81
- }, InType : reflect .TypeOf (& DeploymentCondition {})},
82
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
83
- in .(* DeploymentList ).DeepCopyInto (out .(* DeploymentList ))
84
- return nil
85
- }, InType : reflect .TypeOf (& DeploymentList {})},
86
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
87
- in .(* DeploymentSpec ).DeepCopyInto (out .(* DeploymentSpec ))
88
- return nil
89
- }, InType : reflect .TypeOf (& DeploymentSpec {})},
90
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
91
- in .(* DeploymentStatus ).DeepCopyInto (out .(* DeploymentStatus ))
92
- return nil
93
- }, InType : reflect .TypeOf (& DeploymentStatus {})},
94
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
95
- in .(* DeploymentStrategy ).DeepCopyInto (out .(* DeploymentStrategy ))
96
- return nil
97
- }, InType : reflect .TypeOf (& DeploymentStrategy {})},
98
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
99
- in .(* ReplicaSet ).DeepCopyInto (out .(* ReplicaSet ))
100
- return nil
101
- }, InType : reflect .TypeOf (& ReplicaSet {})},
102
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
103
- in .(* ReplicaSetCondition ).DeepCopyInto (out .(* ReplicaSetCondition ))
104
- return nil
105
- }, InType : reflect .TypeOf (& ReplicaSetCondition {})},
106
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
107
- in .(* ReplicaSetList ).DeepCopyInto (out .(* ReplicaSetList ))
108
- return nil
109
- }, InType : reflect .TypeOf (& ReplicaSetList {})},
110
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
111
- in .(* ReplicaSetSpec ).DeepCopyInto (out .(* ReplicaSetSpec ))
112
- return nil
113
- }, InType : reflect .TypeOf (& ReplicaSetSpec {})},
114
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
115
- in .(* ReplicaSetStatus ).DeepCopyInto (out .(* ReplicaSetStatus ))
116
- return nil
117
- }, InType : reflect .TypeOf (& ReplicaSetStatus {})},
118
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
119
- in .(* RollingUpdateDaemonSet ).DeepCopyInto (out .(* RollingUpdateDaemonSet ))
120
- return nil
121
- }, InType : reflect .TypeOf (& RollingUpdateDaemonSet {})},
122
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
123
- in .(* RollingUpdateDeployment ).DeepCopyInto (out .(* RollingUpdateDeployment ))
124
- return nil
125
- }, InType : reflect .TypeOf (& RollingUpdateDeployment {})},
126
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
127
- in .(* RollingUpdateStatefulSetStrategy ).DeepCopyInto (out .(* RollingUpdateStatefulSetStrategy ))
128
- return nil
129
- }, InType : reflect .TypeOf (& RollingUpdateStatefulSetStrategy {})},
130
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
131
- in .(* StatefulSet ).DeepCopyInto (out .(* StatefulSet ))
132
- return nil
133
- }, InType : reflect .TypeOf (& StatefulSet {})},
134
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
135
- in .(* StatefulSetCondition ).DeepCopyInto (out .(* StatefulSetCondition ))
136
- return nil
137
- }, InType : reflect .TypeOf (& StatefulSetCondition {})},
138
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
139
- in .(* StatefulSetList ).DeepCopyInto (out .(* StatefulSetList ))
140
- return nil
141
- }, InType : reflect .TypeOf (& StatefulSetList {})},
142
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
143
- in .(* StatefulSetSpec ).DeepCopyInto (out .(* StatefulSetSpec ))
144
- return nil
145
- }, InType : reflect .TypeOf (& StatefulSetSpec {})},
146
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
147
- in .(* StatefulSetStatus ).DeepCopyInto (out .(* StatefulSetStatus ))
148
- return nil
149
- }, InType : reflect .TypeOf (& StatefulSetStatus {})},
150
- conversion.GeneratedDeepCopyFunc {Fn : func (in interface {}, out interface {}, c * conversion.Cloner ) error {
151
- in .(* StatefulSetUpdateStrategy ).DeepCopyInto (out .(* StatefulSetUpdateStrategy ))
152
- return nil
153
- }, InType : reflect .TypeOf (& StatefulSetUpdateStrategy {})},
154
- )
155
- }
156
-
157
30
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
158
31
func (in * ControllerRevision ) DeepCopyInto (out * ControllerRevision ) {
159
32
* out = * in
0 commit comments