...
1
2
3
4
5
6 package v1
7
8 import (
9 runtime "k8s.io/apimachinery/pkg/runtime"
10 )
11
12
13 func (in *DNSRecord) DeepCopyInto(out *DNSRecord) {
14 *out = *in
15 out.TypeMeta = in.TypeMeta
16 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
17 in.Spec.DeepCopyInto(&out.Spec)
18 in.Status.DeepCopyInto(&out.Status)
19 return
20 }
21
22
23 func (in *DNSRecord) DeepCopy() *DNSRecord {
24 if in == nil {
25 return nil
26 }
27 out := new(DNSRecord)
28 in.DeepCopyInto(out)
29 return out
30 }
31
32
33 func (in *DNSRecord) DeepCopyObject() runtime.Object {
34 if c := in.DeepCopy(); c != nil {
35 return c
36 }
37 return nil
38 }
39
40
41 func (in *DNSRecordList) DeepCopyInto(out *DNSRecordList) {
42 *out = *in
43 out.TypeMeta = in.TypeMeta
44 in.ListMeta.DeepCopyInto(&out.ListMeta)
45 if in.Items != nil {
46 in, out := &in.Items, &out.Items
47 *out = make([]DNSRecord, len(*in))
48 for i := range *in {
49 (*in)[i].DeepCopyInto(&(*out)[i])
50 }
51 }
52 return
53 }
54
55
56 func (in *DNSRecordList) DeepCopy() *DNSRecordList {
57 if in == nil {
58 return nil
59 }
60 out := new(DNSRecordList)
61 in.DeepCopyInto(out)
62 return out
63 }
64
65
66 func (in *DNSRecordList) DeepCopyObject() runtime.Object {
67 if c := in.DeepCopy(); c != nil {
68 return c
69 }
70 return nil
71 }
72
73
74 func (in *DNSRecordSpec) DeepCopyInto(out *DNSRecordSpec) {
75 *out = *in
76 if in.Targets != nil {
77 in, out := &in.Targets, &out.Targets
78 *out = make([]string, len(*in))
79 copy(*out, *in)
80 }
81 return
82 }
83
84
85 func (in *DNSRecordSpec) DeepCopy() *DNSRecordSpec {
86 if in == nil {
87 return nil
88 }
89 out := new(DNSRecordSpec)
90 in.DeepCopyInto(out)
91 return out
92 }
93
94
95 func (in *DNSRecordStatus) DeepCopyInto(out *DNSRecordStatus) {
96 *out = *in
97 if in.Zones != nil {
98 in, out := &in.Zones, &out.Zones
99 *out = make([]DNSZoneStatus, len(*in))
100 for i := range *in {
101 (*in)[i].DeepCopyInto(&(*out)[i])
102 }
103 }
104 return
105 }
106
107
108 func (in *DNSRecordStatus) DeepCopy() *DNSRecordStatus {
109 if in == nil {
110 return nil
111 }
112 out := new(DNSRecordStatus)
113 in.DeepCopyInto(out)
114 return out
115 }
116
117
118 func (in *DNSZoneCondition) DeepCopyInto(out *DNSZoneCondition) {
119 *out = *in
120 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
121 return
122 }
123
124
125 func (in *DNSZoneCondition) DeepCopy() *DNSZoneCondition {
126 if in == nil {
127 return nil
128 }
129 out := new(DNSZoneCondition)
130 in.DeepCopyInto(out)
131 return out
132 }
133
134
135 func (in *DNSZoneStatus) DeepCopyInto(out *DNSZoneStatus) {
136 *out = *in
137 in.DNSZone.DeepCopyInto(&out.DNSZone)
138 if in.Conditions != nil {
139 in, out := &in.Conditions, &out.Conditions
140 *out = make([]DNSZoneCondition, len(*in))
141 for i := range *in {
142 (*in)[i].DeepCopyInto(&(*out)[i])
143 }
144 }
145 return
146 }
147
148
149 func (in *DNSZoneStatus) DeepCopy() *DNSZoneStatus {
150 if in == nil {
151 return nil
152 }
153 out := new(DNSZoneStatus)
154 in.DeepCopyInto(out)
155 return out
156 }
157
View as plain text