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

chore: conversion from HostCloud for HostEndpoints #59

Merged
merged 4 commits into from
Nov 15, 2024

Conversation

shikhar
Copy link
Member

@shikhar shikhar commented Nov 15, 2024

This allows for

  with_host_endpoints(HostCloud::Aws)

I think we had this before?

@shikhar shikhar requested a review from vrongmeal November 15, 2024 12:39
@shikhar shikhar requested a review from a team as a code owner November 15, 2024 12:39
src/client.rs Outdated
@@ -198,6 +204,10 @@ impl HostEndpoints {
Ok(Self::from_parts(cloud, env, basin_zone, cell_id.as_deref()))
}

pub fn for_cloud(cloud: HostCloud) -> Self {
Copy link
Member

Choose a reason for hiding this comment

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

for or from?

Copy link
Member Author

Choose a reason for hiding this comment

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

It reads more naturally... "host endpoints for cloud" :)

src/client.rs Outdated Show resolved Hide resolved
@shikhar shikhar merged commit b9637ac into main Nov 15, 2024
2 checks passed
@shikhar shikhar deleted the host-endpoints-from-cloud branch November 15, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants