Skip to content

Commit 0b329b5

Browse files
authored
update to v0.25.0 core/console (#45)
1 parent 9251106 commit 0b329b5

24 files changed

+2374
-1470
lines changed

API.md

+127-10
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353

5454
- [DeleteRoute](#deleteroute)
5555

56+
- [DeleteRoutes](#deleteroutes)
57+
5658
- [GetRoute](#getroute)
5759

5860
- [ListRoutes](#listroutes)
@@ -61,6 +63,8 @@
6163

6264
- [SetRoute](#setroute)
6365

66+
- [SetRoutes](#setroutes)
67+
6468
- [MoveRoutes](#moveroutes)
6569

6670

@@ -104,6 +108,8 @@
104108

105109
- [ListNamespaces](#listnamespaces)
106110

111+
- [ListNamespaceResources](#listnamespaceresources)
112+
107113
- [SetNamespace](#setnamespace)
108114

109115

@@ -280,6 +286,7 @@ history
280286
| Field | Type | Description |
281287
| ----- | ---- | ----------- |
282288
| id | [ string](#string) | none |
289+
| name | [ string](#string) | none |
283290
| activity_type | [ string](#string) | `DELETE` or `SET` |
284291
| created_at | [ google.protobuf.Timestamp](#googleprotobuftimestamp) | none |
285292
| namespace_id | [ string](#string) | none |
@@ -723,6 +730,12 @@ RouteService manages proxy route definitions
723730
[DeleteRouteResponse](#deleterouteresponse)
724731

725732
DeleteRoute removes an existing route
733+
### DeleteRoutes
734+
735+
> **rpc** DeleteRoutes([DeleteRoutesRequest](#deleteroutesrequest))
736+
[DeleteRoutesResponse](#deleteroutesresponse)
737+
738+
DeleteRoutes removes existing routes.
726739
### GetRoute
727740

728741
> **rpc** GetRoute([GetRouteRequest](#getrouterequest))
@@ -747,6 +760,12 @@ LoadRoutes imports routes from an existing OSS configuration
747760
[SetRouteResponse](#setrouteresponse)
748761

749762
SetRoute creates or, if id is defined, updates an existing route
763+
### SetRoutes
764+
765+
> **rpc** SetRoutes([SetRoutesRequest](#setroutesrequest))
766+
[SetRoutesResponse](#setroutesresponse)
767+
768+
SetRoutes creates or, if id is defined, updates existing routes
750769
### MoveRoutes
751770

752771
> **rpc** MoveRoutes([MoveRoutesRequest](#moveroutesrequest))
@@ -776,6 +795,23 @@ MoveRoutes takes an array of routeIds and moves them to a new namespace
776795
<!-- end HasFields -->
777796

778797

798+
### DeleteRoutesRequest
799+
800+
801+
802+
| Field | Type | Description |
803+
| ----- | ---- | ----------- |
804+
| ids | [repeated string](#string) | none |
805+
<!-- end Fields -->
806+
<!-- end HasFields -->
807+
808+
809+
### DeleteRoutesResponse
810+
811+
812+
<!-- end HasFields -->
813+
814+
779815
### GetRouteRequest
780816

781817

@@ -906,14 +942,16 @@ Route defines a proxy route's settings and policy associations
906942
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _tls_upstream_allow_renegotiation.tls_upstream_allow_renegotiation | [optional bool](#bool) | none |
907943
| set_request_headers | [map Route.SetRequestHeadersEntry](#routesetrequestheadersentry) | none |
908944
| remove_request_headers | [repeated string](#string) | none |
945+
| set_response_headers | [map Route.SetResponseHeadersEntry](#routesetresponseheadersentry) | none |
909946
| rewrite_response_headers | [repeated RouteRewriteHeader](#routerewriteheader) | none |
910-
| set_authorization_header | [ Route.AuthorizationHeaderMode](#routeauthorizationheadermode) | none |
911947
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _preserve_host_header.preserve_host_header | [optional bool](#bool) | none |
912948
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _pass_identity_headers.pass_identity_headers | [optional bool](#bool) | none |
913949
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _kubernetes_service_account_token.kubernetes_service_account_token | [optional string](#string) | none |
914950
| envoy_opts | [ envoy.config.cluster.v3.Cluster](#envoyconfigclusterv3cluster) | none |
915951
| redirect | [ envoy.config.route.v3.RedirectAction](#envoyconfigroutev3redirectaction) | none |
916952
| enable_google_cloud_serverless_authentication | [ bool](#bool) | none |
953+
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _idp_client_id.idp_client_id | [optional string](#string) | none |
954+
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _idp_client_secret.idp_client_secret | [optional string](#string) | none |
917955
| show_error_details | [ bool](#bool) | none |
918956
| originator_id | [ string](#string) | none |
919957
| policy_ids | [repeated string](#string) | policies applied to this route |
@@ -927,6 +965,18 @@ Route defines a proxy route's settings and policy associations
927965

928966

929967

968+
| Field | Type | Description |
969+
| ----- | ---- | ----------- |
970+
| key | [ string](#string) | none |
971+
| value | [ string](#string) | none |
972+
<!-- end Fields -->
973+
<!-- end HasFields -->
974+
975+
976+
### Route.SetResponseHeadersEntry
977+
978+
979+
930980
| Field | Type | Description |
931981
| ----- | ---- | ----------- |
932982
| key | [ string](#string) | none |
@@ -981,21 +1031,31 @@ LoadRoutesRequest
9811031
| route | [ Route](#route) | none |
9821032
<!-- end Fields -->
9831033
<!-- end HasFields -->
984-
<!-- end messages -->
9851034

986-
## Enums
9871035

1036+
### SetRoutesRequest
9881037

989-
### Route.AuthorizationHeaderMode {#routeauthorizationheadermode}
9901038

9911039

992-
| Name | Number | Description |
993-
| ---- | ------ | ----------- |
994-
| PASS_THROUGH | 0 | none |
995-
| ACCESS_TOKEN | 1 | none |
996-
| ID_TOKEN | 2 | none |
1040+
| Field | Type | Description |
1041+
| ----- | ---- | ----------- |
1042+
| routes | [repeated Route](#route) | none |
1043+
<!-- end Fields -->
1044+
<!-- end HasFields -->
1045+
1046+
1047+
### SetRoutesResponse
9971048

9981049

1050+
1051+
| Field | Type | Description |
1052+
| ----- | ---- | ----------- |
1053+
| routes | [repeated Route](#route) | none |
1054+
<!-- end Fields -->
1055+
<!-- end HasFields -->
1056+
<!-- end messages -->
1057+
1058+
## Enums
9991059
<!-- end Enums -->
10001060

10011061

@@ -1068,13 +1128,13 @@ GetBrandingSettings retrieves just the branding part of the settings
10681128

10691129
### Settings
10701130
Settings defines the global pomerium settings
1131+
Next id: 85.
10711132

10721133

10731134
| Field | Type | Description |
10741135
| ----- | ---- | ----------- |
10751136
| modified_at | [ google.protobuf.Timestamp](#googleprotobuftimestamp) | none |
10761137
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _installation_id.installation_id | [optional string](#string) | none |
1077-
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _debug.debug | [optional bool](#bool) | none |
10781138
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _log_level.log_level | [optional string](#string) | none |
10791139
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _proxy_log_level.proxy_log_level | [optional string](#string) | none |
10801140
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _shared_secret.shared_secret | [optional string](#string) | none |
@@ -1094,6 +1154,7 @@ Settings defines the global pomerium settings
10941154
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _cookie_domain.cookie_domain | [optional string](#string) | none |
10951155
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _cookie_secure.cookie_secure | [optional bool](#bool) | none |
10961156
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _cookie_http_only.cookie_http_only | [optional bool](#bool) | none |
1157+
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _cookie_same_site.cookie_same_site | [optional string](#string) | none |
10971158
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _cookie_expire.cookie_expire | [optional google.protobuf.Duration](#googleprotobufduration) | none |
10981159
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _idp_client_id.idp_client_id | [optional string](#string) | none |
10991160
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _idp_client_secret.idp_client_secret | [optional string](#string) | none |
@@ -1114,6 +1175,7 @@ Settings defines the global pomerium settings
11141175
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _metrics_address.metrics_address | [optional string](#string) | none |
11151176
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _tracing_provider.tracing_provider | [optional string](#string) | none |
11161177
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _tracing_sample_rate.tracing_sample_rate | [optional double](#double) | none |
1178+
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _tracing_datadog_address.tracing_datadog_address | [optional string](#string) | none |
11171179
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _tracing_jaeger_collector_endpoint.tracing_jaeger_collector_endpoint | [optional string](#string) | none |
11181180
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _tracing_jaeger_agent_endpoint.tracing_jaeger_agent_endpoint | [optional string](#string) | none |
11191181
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _tracing_zipkin_endpoint.tracing_zipkin_endpoint | [optional string](#string) | none |
@@ -1141,6 +1203,9 @@ Settings defines the global pomerium settings
11411203
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _identity_provider_options.identity_provider_options | [optional google.protobuf.Struct](#googleprotobufstruct) | none |
11421204
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _identity_provider_refresh_interval.identity_provider_refresh_interval | [optional google.protobuf.Duration](#googleprotobufduration) | none |
11431205
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _identity_provider_refresh_timeout.identity_provider_refresh_timeout | [optional google.protobuf.Duration](#googleprotobufduration) | none |
1206+
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _access_log_fields.access_log_fields | [optional Settings.StringList](#settingsstringlist) | none |
1207+
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _authorize_log_fields.authorize_log_fields | [optional Settings.StringList](#settingsstringlist) | none |
1208+
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) _pass_identity_headers.pass_identity_headers | [optional bool](#bool) | none |
11441209
<!-- end Fields -->
11451210
<!-- end HasFields -->
11461211

@@ -1192,6 +1257,17 @@ Settings defines the global pomerium settings
11921257
| value | [ string](#string) | none |
11931258
<!-- end Fields -->
11941259
<!-- end HasFields -->
1260+
1261+
1262+
### Settings.StringList
1263+
1264+
1265+
1266+
| Field | Type | Description |
1267+
| ----- | ---- | ----------- |
1268+
| values | [repeated string](#string) | none |
1269+
<!-- end Fields -->
1270+
<!-- end HasFields -->
11951271
<!-- end messages -->
11961272

11971273
## Enums
@@ -1263,6 +1339,12 @@ GetNamespace retrieves a namespace
12631339
[ListNamespacesResponse](#listnamespacesresponse)
12641340

12651341
ListNamespaces lists all namespaces
1342+
### ListNamespaceResources
1343+
1344+
> **rpc** ListNamespaceResources([ListNamespaceResourcesRequest](#listnamespaceresourcesrequest))
1345+
[ListNamespaceResourcesResponse](#listnamespaceresourcesresponse)
1346+
1347+
ListNamespaceResources lists all the resources for a namespace.
12661348
### SetNamespace
12671349

12681350
> **rpc** SetNamespace([SetNamespaceRequest](#setnamespacerequest))
@@ -1415,6 +1497,41 @@ existing namespace
14151497
<!-- end HasFields -->
14161498

14171499

1500+
### ListNamespaceResourcesRequest
1501+
1502+
1503+
1504+
| Field | Type | Description |
1505+
| ----- | ---- | ----------- |
1506+
| ids | [repeated string](#string) | none |
1507+
<!-- end Fields -->
1508+
<!-- end HasFields -->
1509+
1510+
1511+
### ListNamespaceResourcesResponse
1512+
1513+
1514+
1515+
| Field | Type | Description |
1516+
| ----- | ---- | ----------- |
1517+
| resources | [repeated ListNamespaceResourcesResponse.Resource](#listnamespaceresourcesresponseresource) | none |
1518+
<!-- end Fields -->
1519+
<!-- end HasFields -->
1520+
1521+
1522+
### ListNamespaceResourcesResponse.Resource
1523+
1524+
1525+
1526+
| Field | Type | Description |
1527+
| ----- | ---- | ----------- |
1528+
| type | [ string](#string) | none |
1529+
| id | [ string](#string) | none |
1530+
| name | [ string](#string) | none |
1531+
<!-- end Fields -->
1532+
<!-- end HasFields -->
1533+
1534+
14181535
### ListNamespacesRequest
14191536

14201537

go.mod

+17-17
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/envoyproxy/go-control-plane v0.11.1
77
github.com/envoyproxy/protoc-gen-validate v1.0.2
88
github.com/golang/protobuf v1.5.3
9-
github.com/pomerium/pomerium v0.24.0
9+
github.com/pomerium/pomerium v0.25.0
1010
github.com/pseudomuto/protoc-gen-doc v1.5.1
1111
google.golang.org/grpc v1.60.1
1212
google.golang.org/protobuf v1.32.0
@@ -16,22 +16,22 @@ require (
1616
github.com/Masterminds/semver v1.5.0 // indirect
1717
github.com/Masterminds/sprig v2.15.0+incompatible // indirect
1818
github.com/aokoli/goutils v1.0.1 // indirect
19-
github.com/caddyserver/certmagic v0.19.2 // indirect
19+
github.com/caddyserver/certmagic v0.20.0 // indirect
2020
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
2121
github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 // indirect
22-
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
22+
github.com/go-jose/go-jose/v3 v3.0.1 // indirect
2323
github.com/gogo/protobuf v1.3.2 // indirect
2424
github.com/google/btree v1.1.2 // indirect
25-
github.com/google/uuid v1.3.1 // indirect
25+
github.com/google/uuid v1.5.0 // indirect
2626
github.com/hashicorp/errwrap v1.1.0 // indirect
2727
github.com/hashicorp/go-multierror v1.1.1 // indirect
2828
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
2929
github.com/huandu/xstrings v1.0.0 // indirect
3030
github.com/imdario/mergo v0.3.13 // indirect
31-
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
31+
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
3232
github.com/libdns/libdns v0.2.1 // indirect
3333
github.com/mattn/go-colorable v0.1.13 // indirect
34-
github.com/mattn/go-isatty v0.0.19 // indirect
34+
github.com/mattn/go-isatty v0.0.20 // indirect
3535
github.com/mholt/acmez v1.2.0 // indirect
3636
github.com/miekg/dns v1.1.55 // indirect
3737
github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007 // indirect
@@ -40,15 +40,15 @@ require (
4040
github.com/zeebo/blake3 v0.2.3 // indirect
4141
go.uber.org/multierr v1.11.0 // indirect
4242
go.uber.org/zap v1.26.0 // indirect
43-
golang.org/x/crypto v0.14.0 // indirect
44-
golang.org/x/exp v0.0.0-20220930202632-ec3f01382ef9 // indirect
45-
golang.org/x/mod v0.11.0 // indirect
46-
golang.org/x/net v0.17.0 // indirect
47-
golang.org/x/sync v0.4.0 // indirect
48-
golang.org/x/sys v0.13.0 // indirect
49-
golang.org/x/text v0.13.0 // indirect
50-
golang.org/x/tools v0.10.0 // indirect
51-
google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97 // indirect
52-
google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97 // indirect
53-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
43+
golang.org/x/crypto v0.17.0 // indirect
44+
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
45+
golang.org/x/mod v0.14.0 // indirect
46+
golang.org/x/net v0.19.0 // indirect
47+
golang.org/x/sync v0.5.0 // indirect
48+
golang.org/x/sys v0.15.0 // indirect
49+
golang.org/x/text v0.14.0 // indirect
50+
golang.org/x/tools v0.15.0 // indirect
51+
google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f // indirect
52+
google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect
53+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 // indirect
5454
)

0 commit comments

Comments
 (0)