...
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 package v1beta1
26
27 import (
28 v1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
29 runtime "k8s.io/apimachinery/pkg/runtime"
30 )
31
32
33 func (in *PubSubLiteReservation) DeepCopyInto(out *PubSubLiteReservation) {
34 *out = *in
35 out.TypeMeta = in.TypeMeta
36 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
37 in.Spec.DeepCopyInto(&out.Spec)
38 in.Status.DeepCopyInto(&out.Status)
39 return
40 }
41
42
43 func (in *PubSubLiteReservation) DeepCopy() *PubSubLiteReservation {
44 if in == nil {
45 return nil
46 }
47 out := new(PubSubLiteReservation)
48 in.DeepCopyInto(out)
49 return out
50 }
51
52
53 func (in *PubSubLiteReservation) DeepCopyObject() runtime.Object {
54 if c := in.DeepCopy(); c != nil {
55 return c
56 }
57 return nil
58 }
59
60
61 func (in *PubSubLiteReservationList) DeepCopyInto(out *PubSubLiteReservationList) {
62 *out = *in
63 out.TypeMeta = in.TypeMeta
64 in.ListMeta.DeepCopyInto(&out.ListMeta)
65 if in.Items != nil {
66 in, out := &in.Items, &out.Items
67 *out = make([]PubSubLiteReservation, len(*in))
68 for i := range *in {
69 (*in)[i].DeepCopyInto(&(*out)[i])
70 }
71 }
72 return
73 }
74
75
76 func (in *PubSubLiteReservationList) DeepCopy() *PubSubLiteReservationList {
77 if in == nil {
78 return nil
79 }
80 out := new(PubSubLiteReservationList)
81 in.DeepCopyInto(out)
82 return out
83 }
84
85
86 func (in *PubSubLiteReservationList) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91 }
92
93
94 func (in *PubSubLiteReservationSpec) DeepCopyInto(out *PubSubLiteReservationSpec) {
95 *out = *in
96 out.ProjectRef = in.ProjectRef
97 if in.ResourceID != nil {
98 in, out := &in.ResourceID, &out.ResourceID
99 *out = new(string)
100 **out = **in
101 }
102 return
103 }
104
105
106 func (in *PubSubLiteReservationSpec) DeepCopy() *PubSubLiteReservationSpec {
107 if in == nil {
108 return nil
109 }
110 out := new(PubSubLiteReservationSpec)
111 in.DeepCopyInto(out)
112 return out
113 }
114
115
116 func (in *PubSubLiteReservationStatus) DeepCopyInto(out *PubSubLiteReservationStatus) {
117 *out = *in
118 if in.Conditions != nil {
119 in, out := &in.Conditions, &out.Conditions
120 *out = make([]v1alpha1.Condition, len(*in))
121 copy(*out, *in)
122 }
123 if in.ObservedGeneration != nil {
124 in, out := &in.ObservedGeneration, &out.ObservedGeneration
125 *out = new(int)
126 **out = **in
127 }
128 return
129 }
130
131
132 func (in *PubSubLiteReservationStatus) DeepCopy() *PubSubLiteReservationStatus {
133 if in == nil {
134 return nil
135 }
136 out := new(PubSubLiteReservationStatus)
137 in.DeepCopyInto(out)
138 return out
139 }
140
View as plain text