-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chore(storage): internal client interface design #5426
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.
Generally looks good with a few comments. I assume we'll have to make further revisions once we try implementing some methods, but since this is unexported I guess we're not married to this surface.
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.
One suggestion on HMAC, otherwise LGTM
Introduces an internal interface for the Storage client implementation. This is a transport-agnostic client surface. Additionally, internal, supporting types like
settings
andstorageOption
are added to help the client layer convey API call-related configuration (e.g. retry config).