@@ -20,8 +20,6 @@ import (
2020 corev1 "k8s.io/api/core/v1"
2121 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222 "k8s.io/apimachinery/pkg/runtime"
23- "k8s.io/apimachinery/pkg/runtime/schema"
24- "k8s.io/apimachinery/pkg/types"
2523)
2624
2725// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
@@ -47,6 +45,9 @@ type IngestorClusterSpec struct {
4745 // Push Bus spec
4846 PushBus PushBusSpec `json:"pushBus"`
4947
48+ // Pipeline configuration
49+ PipelineConfig PipelineConfigSpec `json:"pipelineConfig"`
50+
5051 // Service account name
5152 ServiceAccountName string `json:"serviceAccountName"`
5253}
@@ -57,8 +58,6 @@ type PushBusSpec struct {
5758 Type string `json:"type"`
5859
5960 SQS SQSSpec `json:"sqs"`
60-
61- PipelineConfig PipelineConfigSpec `json:"pipelineConfig"`
6261}
6362
6463type SQSSpec struct {
@@ -67,6 +66,18 @@ type SQSSpec struct {
6766 AuthRegion string `json:"authRegion"`
6867
6968 Endpoint string `json:"endpoint"`
69+
70+ LargeMessageStoreEndpoint string `json:"largeMessageStoreEndpoint"`
71+
72+ LargeMessageStorePath string `json:"largeMessageStorePath"`
73+
74+ DeadLetterQueueName string `json:"deadLetterQueueName"`
75+
76+ MaxRetriesPerPart int `json:"maxRetriesPerPart"`
77+
78+ RetryPolicy string `json:"retryPolicy"`
79+
80+ SendInterval string `json:"sendInterval"`
7081}
7182
7283type PipelineConfigSpec struct {
@@ -134,195 +145,12 @@ type IngestorCluster struct {
134145 Status IngestorClusterStatus `json:"status,omitempty,omitzero"`
135146}
136147
137- // DeepCopyObject implements client.Object.
138- func (ic * IngestorCluster ) DeepCopyObject () runtime.Object {
139- panic ("unimplemented" )
140- }
141-
142- // GetAnnotations implements client.Object.
143- // Subtle: this method shadows the method (ObjectMeta).GetAnnotations of IngestorCluster.ObjectMeta.
144- func (ic * IngestorCluster ) GetAnnotations () map [string ]string {
145- panic ("unimplemented" )
146- }
147-
148- // GetCreationTimestamp implements client.Object.
149- // Subtle: this method shadows the method (ObjectMeta).GetCreationTimestamp of IngestorCluster.ObjectMeta.
150- func (ic * IngestorCluster ) GetCreationTimestamp () metav1.Time {
151- panic ("unimplemented" )
152- }
153-
154- // GetDeletionGracePeriodSeconds implements client.Object.
155- // Subtle: this method shadows the method (ObjectMeta).GetDeletionGracePeriodSeconds of IngestorCluster.ObjectMeta.
156- func (ic * IngestorCluster ) GetDeletionGracePeriodSeconds () * int64 {
157- panic ("unimplemented" )
158- }
159-
160- // GetDeletionTimestamp implements client.Object.
161- // Subtle: this method shadows the method (ObjectMeta).GetDeletionTimestamp of IngestorCluster.ObjectMeta.
162- func (ic * IngestorCluster ) GetDeletionTimestamp () * metav1.Time {
163- panic ("unimplemented" )
164- }
165-
166- // GetFinalizers implements client.Object.
167- // Subtle: this method shadows the method (ObjectMeta).GetFinalizers of IngestorCluster.ObjectMeta.
168- func (ic * IngestorCluster ) GetFinalizers () []string {
169- panic ("unimplemented" )
170- }
171-
172- // GetGenerateName implements client.Object.
173- // Subtle: this method shadows the method (ObjectMeta).GetGenerateName of IngestorCluster.ObjectMeta.
174- func (ic * IngestorCluster ) GetGenerateName () string {
175- panic ("unimplemented" )
176- }
177-
178- // GetGeneration implements client.Object.
179- // Subtle: this method shadows the method (ObjectMeta).GetGeneration of IngestorCluster.ObjectMeta.
180- func (ic * IngestorCluster ) GetGeneration () int64 {
181- panic ("unimplemented" )
182- }
183-
184- // GetLabels implements client.Object.
185- // Subtle: this method shadows the method (ObjectMeta).GetLabels of IngestorCluster.ObjectMeta.
186- func (ic * IngestorCluster ) GetLabels () map [string ]string {
187- panic ("unimplemented" )
188- }
189-
190- // GetManagedFields implements client.Object.
191- // Subtle: this method shadows the method (ObjectMeta).GetManagedFields of IngestorCluster.ObjectMeta.
192- func (ic * IngestorCluster ) GetManagedFields () []metav1.ManagedFieldsEntry {
193- panic ("unimplemented" )
194- }
195-
196- // GetName implements client.Object.
197- // Subtle: this method shadows the method (ObjectMeta).GetName of IngestorCluster.ObjectMeta.
198- func (ic * IngestorCluster ) GetName () string {
199- panic ("unimplemented" )
200- }
201-
202- // GetNamespace implements client.Object.
203- // Subtle: this method shadows the method (ObjectMeta).GetNamespace of IngestorCluster.ObjectMeta.
204- func (ic * IngestorCluster ) GetNamespace () string {
205- panic ("unimplemented" )
206- }
207-
208- // GetObjectKind implements client.Object.
209- // Subtle: this method shadows the method (TypeMeta).GetObjectKind of IngestorCluster.TypeMeta.
210- func (ic * IngestorCluster ) GetObjectKind () schema.ObjectKind {
211- panic ("unimplemented" )
212- }
213-
214- // GetOwnerReferences implements client.Object.
215- // Subtle: this method shadows the method (ObjectMeta).GetOwnerReferences of IngestorCluster.ObjectMeta.
216- func (ic * IngestorCluster ) GetOwnerReferences () []metav1.OwnerReference {
217- panic ("unimplemented" )
218- }
219-
220- // GetResourceVersion implements client.Object.
221- // Subtle: this method shadows the method (ObjectMeta).GetResourceVersion of IngestorCluster.ObjectMeta.
222- func (ic * IngestorCluster ) GetResourceVersion () string {
223- panic ("unimplemented" )
224- }
225-
226- // GetSelfLink implements client.Object.
227- // Subtle: this method shadows the method (ObjectMeta).GetSelfLink of IngestorCluster.ObjectMeta.
228- func (ic * IngestorCluster ) GetSelfLink () string {
229- panic ("unimplemented" )
230- }
231-
232- // GetUID implements client.Object.
233- // Subtle: this method shadows the method (ObjectMeta).GetUID of IngestorCluster.ObjectMeta.
234- func (ic * IngestorCluster ) GetUID () types.UID {
235- panic ("unimplemented" )
236- }
237-
238- // SetAnnotations implements client.Object.
239- // Subtle: this method shadows the method (ObjectMeta).SetAnnotations of IngestorCluster.ObjectMeta.
240- func (ic * IngestorCluster ) SetAnnotations (annotations map [string ]string ) {
241- panic ("unimplemented" )
242- }
243-
244- // SetCreationTimestamp implements client.Object.
245- // Subtle: this method shadows the method (ObjectMeta).SetCreationTimestamp of IngestorCluster.ObjectMeta.
246- func (ic * IngestorCluster ) SetCreationTimestamp (timestamp metav1.Time ) {
247- panic ("unimplemented" )
248- }
249-
250- // SetDeletionGracePeriodSeconds implements client.Object.
251- // Subtle: this method shadows the method (ObjectMeta).SetDeletionGracePeriodSeconds of IngestorCluster.ObjectMeta.
252- func (ic * IngestorCluster ) SetDeletionGracePeriodSeconds (* int64 ) {
253- panic ("unimplemented" )
254- }
255-
256- // SetDeletionTimestamp implements client.Object.
257- // Subtle: this method shadows the method (ObjectMeta).SetDeletionTimestamp of IngestorCluster.ObjectMeta.
258- func (ic * IngestorCluster ) SetDeletionTimestamp (timestamp * metav1.Time ) {
259- panic ("unimplemented" )
260- }
261-
262- // SetFinalizers implements client.Object.
263- // Subtle: this method shadows the method (ObjectMeta).SetFinalizers of IngestorCluster.ObjectMeta.
264- func (ic * IngestorCluster ) SetFinalizers (finalizers []string ) {
265- panic ("unimplemented" )
266- }
267-
268- // SetGenerateName implements client.Object.
269- // Subtle: this method shadows the method (ObjectMeta).SetGenerateName of IngestorCluster.ObjectMeta.
270- func (ic * IngestorCluster ) SetGenerateName (name string ) {
271- panic ("unimplemented" )
272- }
273-
274- // SetGeneration implements client.Object.
275- // Subtle: this method shadows the method (ObjectMeta).SetGeneration of IngestorCluster.ObjectMeta.
276- func (ic * IngestorCluster ) SetGeneration (generation int64 ) {
277- panic ("unimplemented" )
278- }
279-
280- // SetLabels implements client.Object.
281- // Subtle: this method shadows the method (ObjectMeta).SetLabels of IngestorCluster.ObjectMeta.
282- func (ic * IngestorCluster ) SetLabels (labels map [string ]string ) {
283- panic ("unimplemented" )
284- }
285-
286- // SetManagedFields implements client.Object.
287- // Subtle: this method shadows the method (ObjectMeta).SetManagedFields of IngestorCluster.ObjectMeta.
288- func (ic * IngestorCluster ) SetManagedFields (managedFields []metav1.ManagedFieldsEntry ) {
289- panic ("unimplemented" )
290- }
291-
292- // SetName implements client.Object.
293- // Subtle: this method shadows the method (ObjectMeta).SetName of IngestorCluster.ObjectMeta.
294- func (ic * IngestorCluster ) SetName (name string ) {
295- panic ("unimplemented" )
296- }
297-
298- // SetNamespace implements client.Object.
299- // Subtle: this method shadows the method (ObjectMeta).SetNamespace of IngestorCluster.ObjectMeta.
300- func (ic * IngestorCluster ) SetNamespace (namespace string ) {
301- panic ("unimplemented" )
302- }
303-
304- // SetOwnerReferences implements client.Object.
305- // Subtle: this method shadows the method (ObjectMeta).SetOwnerReferences of IngestorCluster.ObjectMeta.
306- func (ic * IngestorCluster ) SetOwnerReferences ([]metav1.OwnerReference ) {
307- panic ("unimplemented" )
308- }
309-
310- // SetResourceVersion implements client.Object.
311- // Subtle: this method shadows the method (ObjectMeta).SetResourceVersion of IngestorCluster.ObjectMeta.
312- func (ic * IngestorCluster ) SetResourceVersion (version string ) {
313- panic ("unimplemented" )
314- }
315-
316- // SetSelfLink implements client.Object.
317- // Subtle: this method shadows the method (ObjectMeta).SetSelfLink of IngestorCluster.ObjectMeta.
318- func (ic * IngestorCluster ) SetSelfLink (selfLink string ) {
319- panic ("unimplemented" )
320- }
321-
322- // SetUID implements client.Object.
323- // Subtle: this method shadows the method (ObjectMeta).SetUID of IngestorCluster.ObjectMeta.
324- func (ic * IngestorCluster ) SetUID (uid types.UID ) {
325- panic ("unimplemented" )
148+ // DeepCopyObject implements runtime.Object
149+ func (in * IngestorCluster ) DeepCopyObject () runtime.Object {
150+ if c := in .DeepCopy (); c != nil {
151+ return c
152+ }
153+ return nil
326154}
327155
328156// +kubebuilder:object:root=true
0 commit comments