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

Implement admin client. #17

Merged
merged 8 commits into from Sep 15, 2020
Merged

Implement admin client. #17

merged 8 commits into from Sep 15, 2020

Conversation

dpcollins-google
Copy link
Collaborator

No description provided.

Also small fix to retrying connection so it doesn't leak reads/writes from previous connections.
…nments.

Also slightly change the semantics of PermanentFailable to not fail a RetryingConnection on retryable errors from a watched awaitable.
This handles aggregating flow control requests without allowing them to get above the max int64 value.
…age processing.

Also ensure all asynchronous loopers are torn down when their underlying objects are.
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 14, 2020
if len(splits) != 3 or len(splits[2]) != 1:
raise InvalidArgument("Invalid zone name: " + to_parse)
region = CloudRegion(name=splits[0] + '-' + splits[1])
return CloudZone(region, zone_id=splits[2])
Copy link

Choose a reason for hiding this comment

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

nit: consider checking splits[2] is a number

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nack. splits[2] is not a number, it is a single lowercase character. 'us-central1-a' for example.

@dpcollins-google dpcollins-google requested a review from a team as a code owner September 15, 2020 20:38
@dpcollins-google dpcollins-google merged commit 3068da5 into master Sep 15, 2020
@anguillanneuf anguillanneuf deleted the admin_client_impl branch March 25, 2022 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants