...
1
2
3
4
19
20
21
22 package v1beta2
23
24 import (
25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 )
28
29
30 func (in *Server) DeepCopyInto(out *Server) {
31 *out = *in
32 out.TypeMeta = in.TypeMeta
33 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
34 in.Spec.DeepCopyInto(&out.Spec)
35 return
36 }
37
38
39 func (in *Server) DeepCopy() *Server {
40 if in == nil {
41 return nil
42 }
43 out := new(Server)
44 in.DeepCopyInto(out)
45 return out
46 }
47
48
49 func (in *Server) DeepCopyObject() runtime.Object {
50 if c := in.DeepCopy(); c != nil {
51 return c
52 }
53 return nil
54 }
55
56
57 func (in *ServerList) DeepCopyInto(out *ServerList) {
58 *out = *in
59 out.TypeMeta = in.TypeMeta
60 in.ListMeta.DeepCopyInto(&out.ListMeta)
61 if in.Items != nil {
62 in, out := &in.Items, &out.Items
63 *out = make([]Server, len(*in))
64 for i := range *in {
65 (*in)[i].DeepCopyInto(&(*out)[i])
66 }
67 }
68 return
69 }
70
71
72 func (in *ServerList) DeepCopy() *ServerList {
73 if in == nil {
74 return nil
75 }
76 out := new(ServerList)
77 in.DeepCopyInto(out)
78 return out
79 }
80
81
82 func (in *ServerList) DeepCopyObject() runtime.Object {
83 if c := in.DeepCopy(); c != nil {
84 return c
85 }
86 return nil
87 }
88
89
90 func (in *ServerSpec) DeepCopyInto(out *ServerSpec) {
91 *out = *in
92 if in.PodSelector != nil {
93 in, out := &in.PodSelector, &out.PodSelector
94 *out = new(v1.LabelSelector)
95 (*in).DeepCopyInto(*out)
96 }
97 if in.ExternalWorkloadSelector != nil {
98 in, out := &in.ExternalWorkloadSelector, &out.ExternalWorkloadSelector
99 *out = new(v1.LabelSelector)
100 (*in).DeepCopyInto(*out)
101 }
102 out.Port = in.Port
103 return
104 }
105
106
107 func (in *ServerSpec) DeepCopy() *ServerSpec {
108 if in == nil {
109 return nil
110 }
111 out := new(ServerSpec)
112 in.DeepCopyInto(out)
113 return out
114 }
115
View as plain text