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

Pass our configured random reader into nodee functions #4372

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jefferai
Copy link
Member

@jefferai jefferai commented Feb 6, 2024

Note for reviewers: in some places where there are already options I'm using options, and in other places I added something to the signature. If this feels odd I can modify it to be consistent one way or the other, happy to take feedback on that.

@jefferai jefferai added this to the 0.15.x milestone Feb 6, 2024
@jefferai jefferai force-pushed the jefferai-random-reader-through-nodee branch 3 times, most recently from 2876cca to af41f4a Compare February 8, 2024 14:13
@jefferai jefferai modified the milestones: 0.15.x, 0.16.x Feb 15, 2024
@jefferai jefferai force-pushed the jefferai-random-reader-through-nodee branch 2 times, most recently from 4bb50c8 to 0b09505 Compare February 21, 2024 06:16
@jefferai jefferai force-pushed the jefferai-random-reader-through-nodee branch 2 times, most recently from 7c29c95 to 8ab4bc7 Compare March 15, 2024 14:49
@jefferai jefferai force-pushed the jefferai-random-reader-through-nodee branch from 8ab4bc7 to c6490cf Compare March 24, 2024 20:57
@ddebko ddebko modified the milestones: 0.16.x, 0.17.x Apr 19, 2024
@irenarindos irenarindos self-requested a review April 19, 2024 16:48
@@ -49,3 +53,10 @@ func WithCertificateLifetime(with time.Duration) Option {
o.withCertificateLifetime = with
}
}

// WithRandomReader provides a way to specify a random reader
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should a opts test be added for this?

// Supported options:
//
// * WithLimit: default limit on results returned by repo operations
// * RandomReader: Specify a specific random source
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// * RandomReader: Specify a specific random source
// * WithRandomReader: Specify a specific random source

@jefferai jefferai modified the milestones: 0.17.x, 0.18.x Jul 17, 2024
@psekar psekar removed this from the 0.18.x milestone Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants