-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dumper] Rework of the object ingestion #174
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming the pkg/dump/ingestor has commented out part because it's for the next PR, LGTM! (will need to fix the linter for those commented out part)
// err = pipeline.Run(ctx) | ||
// if err != nil { | ||
// return fmt.Errorf("run pipeline ingestor: %w", err) | ||
// } | ||
|
||
return nil | ||
// return pipeline.Wait(ctx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is commented for the next PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it is. to have a "pain less" split.
Create an interface for each object type to add the ability to create an objectList for each k8s type. For instance all endpoint stack them into a discoveryv1.EndpointSliceList. This is needed by the collector.
Effort were already made to be fully supported by the writers (tar and file one).