Skip to content
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

feat: Add opts.SchedulerOpts() helper to convert plugin.SyncOptions for scheduler #1900

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

disq
Copy link
Member

@disq disq commented Sep 19, 2024

No description provided.

@disq disq requested a review from a team as a code owner September 19, 2024 09:27
@disq disq requested a review from erezrokah September 19, 2024 09:27
@github-actions github-actions bot added the feat label Sep 19, 2024
@@ -6,6 +6,7 @@ import (

"github.com/cloudquery/plugin-sdk/v4/glob"
"github.com/cloudquery/plugin-sdk/v4/message"
"github.com/cloudquery/plugin-sdk/v4/scheduler"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure if it's worth the extra import. This is the only line in the plugin package to refer to scheduler.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

@disq disq Sep 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scheduler already imports helpers (DFS uses helpers.InterfaceSlice() so it has to be a separate package. opts package, func SchedulerOpts()? (done in 77daaf3)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I see
image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to git add, sorry fixed in 4d699f5

@disq disq changed the title feat: Add SchedulerOptions() helper method to plugin.SyncOptions feat: Add opts.SchedulerOpts() helper method to convert plugin.SyncOptions for scheduler Sep 19, 2024
@disq disq changed the title feat: Add opts.SchedulerOpts() helper method to convert plugin.SyncOptions for scheduler feat: Add opts.SchedulerOpts() helper to convert plugin.SyncOptions for scheduler Sep 19, 2024
@github-actions github-actions bot added feat and removed feat labels Sep 19, 2024
@disq disq merged commit 242fb55 into main Sep 19, 2024
8 checks passed
@disq disq deleted the feat/add-scheduleroptions-helper branch September 19, 2024 12:00
kodiakhq bot pushed a commit that referenced this pull request Oct 2, 2024
🤖 I have created a release *beep* *boop*
---


## [4.64.0](v4.63.0...v4.64.0) (2024-10-01)


### Features

* Add `opts.SchedulerOpts()` helper to convert `plugin.SyncOptions` for scheduler ([#1900](#1900)) ([242fb55](242fb55))
* **remoteoauth:** Add `WithToken` option ([#1898](#1898)) ([ff7a485](ff7a485))
* Update concurrency formula. ([#1907](#1907)) ([adce99c](adce99c))


### Bug Fixes

* **deps:** Update aws-sdk-go-v2 monorepo ([#1903](#1903)) ([ce2a0ef](ce2a0ef))
* **deps:** Update aws-sdk-go-v2 monorepo ([#1908](#1908)) ([bea3b00](bea3b00))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.22.4 ([#1912](#1912)) ([c28aabe](c28aabe))
* **deps:** Update module golang.org/x/oauth2 to v0.23.0 ([#1910](#1910)) ([6fe6414](6fe6414))
* **deps:** Update module google.golang.org/grpc to v1.67.0 ([#1904](#1904)) ([a349812](a349812))
* **deps:** Update opentelemetry-go monorepo ([#1911](#1911)) ([78e05e1](78e05e1))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants