Skip to content

Commit 57c34c5

Browse files
authored
feat(lb): enable devtools generation for path_begin new route feature (#2113)
1 parent fdccb8b commit 57c34c5

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

packages_generated/autoscaling/src/index.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* PLEASE DO NOT EDIT HERE
44
*/
55

6-
export * as Autoscalingv1alpha1 from './v1alpha1/index.gen'
6+
export * as Autoscalingv1alpha1 from './v1alpha1/index.gen'

packages_generated/lb/src/v1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ const unmarshalRouteMatch = (data: unknown): RouteMatch => {
586586
return {
587587
hostHeader: data.host_header,
588588
matchSubdomains: data.match_subdomains,
589+
pathBegin: data.path_begin,
589590
sni: data.sni,
590591
} as RouteMatch
591592
}
@@ -1194,6 +1195,7 @@ const marshalRouteMatch = (
11941195
...resolveOneOf([
11951196
{ param: 'sni', value: request.sni },
11961197
{ param: 'host_header', value: request.hostHeader },
1198+
{ param: 'path_begin', value: request.pathBegin },
11971199
]),
11981200
})
11991201

packages_generated/lb/src/v1/types.gen.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,19 +733,25 @@ export interface RouteMatch {
733733
/**
734734
* Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. This field should be set for routes on TCP Load Balancers.
735735
*
736-
* One-of ('matchType'): at most one of 'sni', 'hostHeader' could be set.
736+
* One-of ('matchType'): at most one of 'sni', 'hostHeader', 'pathBegin' could be set.
737737
*/
738738
sni?: string
739739
/**
740740
* Value to match in the HTTP Host request header from an incoming request. This field should be set for routes on HTTP Load Balancers.
741741
*
742-
* One-of ('matchType'): at most one of 'sni', 'hostHeader' could be set.
742+
* One-of ('matchType'): at most one of 'sni', 'hostHeader', 'pathBegin' could be set.
743743
*/
744744
hostHeader?: string
745745
/**
746746
* If true, all subdomains will match.
747747
*/
748748
matchSubdomains: boolean
749+
/**
750+
* Value to match in the URL beginning path from an incoming request.
751+
*
752+
* One-of ('matchType'): at most one of 'sni', 'hostHeader', 'pathBegin' could be set.
753+
*/
754+
pathBegin?: string
749755
}
750756

751757
export interface CreateCertificateRequestCustomCertificate {

0 commit comments

Comments
 (0)