Skip to content

Commit e7b169a

Browse files
authored
Update mods & buf remote packages. (#144)
* Update mods & buf remote packages. * Removed accidental files * Go mod tidy
1 parent 4fa0cbc commit e7b169a

49 files changed

Lines changed: 322 additions & 259 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

buf.gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ plugins:
2424
- paths=source_relative
2525

2626
# Generate Python client and server stubs
27-
- remote: buf.build/grpc/python:v1.72.1
27+
- remote: buf.build/grpc/python:v1.73.1
2828
include_imports: true
2929
out: gen/python
3030

@@ -41,14 +41,14 @@ plugins:
4141
# Generate bindings for gRPC-Gateway
4242
# We don't need the output (the api-gateway is building this dynamically), however
4343
# we still want to run the validation logic inside this plugin
44-
- remote: buf.build/grpc-ecosystem/gateway:v2.27.0
44+
- remote: buf.build/grpc-ecosystem/gateway:v2.27.1
4545
out: gen-dummy/go
4646
opt:
4747
- paths=source_relative
4848
- generate_unbound_methods=true
4949

5050
# Generate OpenAPI definitions for Protobuf services
51-
- remote: buf.build/grpc-ecosystem/openapiv2:v2.26.3
51+
- remote: buf.build/grpc-ecosystem/openapiv2:v2.27.0
5252
out: gen/openapiv2
5353

5454
# Generate base types and services for Typescript
@@ -59,7 +59,7 @@ plugins:
5959
- import_extension=js
6060
out: gen/typescript
6161

62-
- remote: buf.build/connectrpc/query-es:v2.1.0
62+
- remote: buf.build/connectrpc/query-es:v2.1.1
6363
include_imports: true
6464
opt:
6565
- target=js+dts

buf.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
version: v2
33
deps:
44
- name: buf.build/bufbuild/protovalidate
5-
commit: c923a0c2a1324d8b9db81effea973b9c
6-
digest: b5:ba54835683c74e87e751bdc482b7d1c157926024587f453ca3640d3348b846aba3244da145042226842e10876a856e19b6dffc96609167199a450455aef9acf3
5+
commit: 6c6e0d3c608e4549802254a2eee81bc8
6+
digest: b5:a7ca081f38656fc0f5aaa685cc111d3342876723851b47ca6b80cbb810cbb2380f8c444115c495ada58fa1f85eff44e68dc54a445761c195acdb5e8d9af675b6
77
- name: buf.build/common/protos
88
commit: 8e61745a05234b5ca6985e15b97c61fd
99
digest: b5:8acdce29fe0c82245aee65361d7400aaa6b95df4a65ded8ff2465cafc09928039ab846ceff30b14bad7678c53a1d7554c76b868afde31d919f7b10f9e3c2898c

gen/python/buf/validate/validate_pb2.py

Lines changed: 65 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/buf/validate/validate_pb2.pyi

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ DESCRIPTOR: _descriptor.FileDescriptor
1616
class Ignore(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
1717
__slots__ = ()
1818
IGNORE_UNSPECIFIED: _ClassVar[Ignore]
19-
IGNORE_IF_UNPOPULATED: _ClassVar[Ignore]
20-
IGNORE_IF_DEFAULT_VALUE: _ClassVar[Ignore]
19+
IGNORE_IF_ZERO_VALUE: _ClassVar[Ignore]
2120
IGNORE_ALWAYS: _ClassVar[Ignore]
2221

2322
class KnownRegex(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
@@ -26,8 +25,7 @@ class KnownRegex(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
2625
KNOWN_REGEX_HTTP_HEADER_NAME: _ClassVar[KnownRegex]
2726
KNOWN_REGEX_HTTP_HEADER_VALUE: _ClassVar[KnownRegex]
2827
IGNORE_UNSPECIFIED: Ignore
29-
IGNORE_IF_UNPOPULATED: Ignore
30-
IGNORE_IF_DEFAULT_VALUE: Ignore
28+
IGNORE_IF_ZERO_VALUE: Ignore
3129
IGNORE_ALWAYS: Ignore
3230
KNOWN_REGEX_UNSPECIFIED: KnownRegex
3331
KNOWN_REGEX_HTTP_HEADER_NAME: KnownRegex
@@ -52,14 +50,12 @@ class Rule(_message.Message):
5250
def __init__(self, id: _Optional[str] = ..., message: _Optional[str] = ..., expression: _Optional[str] = ...) -> None: ...
5351

5452
class MessageRules(_message.Message):
55-
__slots__ = ("disabled", "cel", "oneof")
56-
DISABLED_FIELD_NUMBER: _ClassVar[int]
53+
__slots__ = ("cel", "oneof")
5754
CEL_FIELD_NUMBER: _ClassVar[int]
5855
ONEOF_FIELD_NUMBER: _ClassVar[int]
59-
disabled: bool
6056
cel: _containers.RepeatedCompositeFieldContainer[Rule]
6157
oneof: _containers.RepeatedCompositeFieldContainer[MessageOneofRule]
62-
def __init__(self, disabled: bool = ..., cel: _Optional[_Iterable[_Union[Rule, _Mapping]]] = ..., oneof: _Optional[_Iterable[_Union[MessageOneofRule, _Mapping]]] = ...) -> None: ...
58+
def __init__(self, cel: _Optional[_Iterable[_Union[Rule, _Mapping]]] = ..., oneof: _Optional[_Iterable[_Union[MessageOneofRule, _Mapping]]] = ...) -> None: ...
6359

6460
class MessageOneofRule(_message.Message):
6561
__slots__ = ("fields", "required")
File renamed without changes.

gen/python/k8s.io/api/networking/v1/generated_pb2_grpc.py renamed to gen/python/k8s/io/api/networking/v1/generated_pb2_grpc.py

File renamed without changes.

gen/python/k8s.io/apimachinery/pkg/api/resource/generated_pb2_grpc.py renamed to gen/python/k8s/io/apimachinery/pkg/api/resource/generated_pb2_grpc.py

File renamed without changes.

gen/python/k8s.io/apimachinery/pkg/apis/meta/v1/generated_pb2_grpc.py renamed to gen/python/k8s/io/apimachinery/pkg/apis/meta/v1/generated_pb2_grpc.py

File renamed without changes.

gen/python/k8s.io/apimachinery/pkg/runtime/generated_pb2_grpc.py renamed to gen/python/k8s/io/apimachinery/pkg/runtime/generated_pb2_grpc.py

File renamed without changes.

gen/python/k8s.io/apimachinery/pkg/runtime/schema/generated_pb2_grpc.py renamed to gen/python/k8s/io/apimachinery/pkg/runtime/schema/generated_pb2_grpc.py

File renamed without changes.

0 commit comments

Comments
 (0)