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

Bikeshed private endpoint UI #2451

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

itowlson
Copy link
Contributor

Per request from @ThorstenHans

I don't have a strong feeling one way or the other.

@lann
Copy link
Collaborator

lann commented Apr 11, 2024

I'd probably vote for private = true over public = false; route = false was a sneaky way to reuse the key but if we're adding an alternative key I'd default to a positive predicate.

/// Indicates that a trigger is a private endpoint (not routable).
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
#[serde(deny_unknown_fields)]
pub struct HttpPriveteEndpoint {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: i think there is a typo here.

@@ -18,7 +18,15 @@ pub struct HttpTriggerConfig {
#[serde(untagged)]
pub enum HttpTriggerRouteConfig {
Route(String),
IsRoutable(bool),
Private(HttpPriveteEndpoint),
Copy link
Member

Choose a reason for hiding this comment

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

Same typo as below.

Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson itowlson merged commit b4e3369 into fermyon:main Apr 16, 2024
17 checks passed
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.

5 participants