Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quipsec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
quipsec
Commits
fcb02090
Commit
fcb02090
authored
1 year ago
by
Malte Bauch
Browse files
Options
Downloads
Patches
Plain Diff
Add python interfaces generation
parent
818ece6a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
buf.gen.yaml
+2
-0
2 additions, 0 deletions
buf.gen.yaml
gen/python/quipsec/quipsec_pb2.pyi
+90
-0
90 additions, 0 deletions
gen/python/quipsec/quipsec_pb2.pyi
with
92 additions
and
0 deletions
buf.gen.yaml
+
2
−
0
View file @
fcb02090
...
@@ -18,6 +18,8 @@ plugins:
...
@@ -18,6 +18,8 @@ plugins:
out
:
gen/python
out
:
gen/python
-
plugin
:
buf.build/protocolbuffers/python:v25.0
-
plugin
:
buf.build/protocolbuffers/python:v25.0
out
:
gen/python
out
:
gen/python
-
plugin
:
buf.build/protocolbuffers/pyi:v25.0
out
:
gen/python
-
plugin
:
buf.build/grpc/java:v1.59.0
-
plugin
:
buf.build/grpc/java:v1.59.0
out
:
gen/java
out
:
gen/java
-
plugin
:
buf.build/protocolbuffers/java:v25.0
-
plugin
:
buf.build/protocolbuffers/java:v25.0
...
...
This diff is collapsed.
Click to expand it.
gen/python/quipsec/quipsec_pb2.pyi
0 → 100644
+
90
−
0
View file @
fcb02090
from
buf.validate
import
validate_pb2
as
_validate_pb2
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
typing
import
ClassVar
as
_ClassVar
,
Mapping
as
_Mapping
,
Optional
as
_Optional
,
Union
as
_Union
DESCRIPTOR
:
_descriptor
.
FileDescriptor
class
Metadata
(
_message
.
Message
):
__slots__
=
(
"
timestamp
"
,
"
vendor
"
,
"
version
"
,
"
keyGenerationRate
"
,
"
sourceId
"
,
"
destinationId
"
)
TIMESTAMP_FIELD_NUMBER
:
_ClassVar
[
int
]
VENDOR_FIELD_NUMBER
:
_ClassVar
[
int
]
VERSION_FIELD_NUMBER
:
_ClassVar
[
int
]
KEYGENERATIONRATE_FIELD_NUMBER
:
_ClassVar
[
int
]
SOURCEID_FIELD_NUMBER
:
_ClassVar
[
int
]
DESTINATIONID_FIELD_NUMBER
:
_ClassVar
[
int
]
timestamp
:
int
vendor
:
str
version
:
str
keyGenerationRate
:
int
sourceId
:
str
destinationId
:
str
def
__init__
(
self
,
timestamp
:
_Optional
[
int
]
=
...,
vendor
:
_Optional
[
str
]
=
...,
version
:
_Optional
[
str
]
=
...,
keyGenerationRate
:
_Optional
[
int
]
=
...,
sourceId
:
_Optional
[
str
]
=
...,
destinationId
:
_Optional
[
str
]
=
...)
->
None
:
...
class
KeyBulk
(
_message
.
Message
):
__slots__
=
(
"
keyId
"
,
"
keys
"
,
"
keyLength
"
,
"
keyHash
"
,
"
metadata
"
)
KEYID_FIELD_NUMBER
:
_ClassVar
[
int
]
KEYS_FIELD_NUMBER
:
_ClassVar
[
int
]
KEYLENGTH_FIELD_NUMBER
:
_ClassVar
[
int
]
KEYHASH_FIELD_NUMBER
:
_ClassVar
[
int
]
METADATA_FIELD_NUMBER
:
_ClassVar
[
int
]
keyId
:
str
keys
:
bytes
keyLength
:
int
keyHash
:
str
metadata
:
Metadata
def
__init__
(
self
,
keyId
:
_Optional
[
str
]
=
...,
keys
:
_Optional
[
bytes
]
=
...,
keyLength
:
_Optional
[
int
]
=
...,
keyHash
:
_Optional
[
str
]
=
...,
metadata
:
_Optional
[
_Union
[
Metadata
,
_Mapping
]]
=
...)
->
None
:
...
class
CapabilitiesRequest
(
_message
.
Message
):
__slots__
=
(
"
timestamp
"
,
"
version
"
)
TIMESTAMP_FIELD_NUMBER
:
_ClassVar
[
int
]
VERSION_FIELD_NUMBER
:
_ClassVar
[
int
]
timestamp
:
int
version
:
str
def
__init__
(
self
,
timestamp
:
_Optional
[
int
]
=
...,
version
:
_Optional
[
str
]
=
...)
->
None
:
...
class
CapabilitiesResponse
(
_message
.
Message
):
__slots__
=
(
"
timestamp
"
,
"
version
"
)
TIMESTAMP_FIELD_NUMBER
:
_ClassVar
[
int
]
VERSION_FIELD_NUMBER
:
_ClassVar
[
int
]
timestamp
:
int
version
:
str
def
__init__
(
self
,
timestamp
:
_Optional
[
int
]
=
...,
version
:
_Optional
[
str
]
=
...)
->
None
:
...
class
PushKeysRequest
(
_message
.
Message
):
__slots__
=
(
"
timestamp
"
,
"
keyBulk
"
)
TIMESTAMP_FIELD_NUMBER
:
_ClassVar
[
int
]
KEYBULK_FIELD_NUMBER
:
_ClassVar
[
int
]
timestamp
:
int
keyBulk
:
KeyBulk
def
__init__
(
self
,
timestamp
:
_Optional
[
int
]
=
...,
keyBulk
:
_Optional
[
_Union
[
KeyBulk
,
_Mapping
]]
=
...)
->
None
:
...
class
PushKeysResponse
(
_message
.
Message
):
__slots__
=
(
"
timestamp
"
,)
TIMESTAMP_FIELD_NUMBER
:
_ClassVar
[
int
]
timestamp
:
int
def
__init__
(
self
,
timestamp
:
_Optional
[
int
]
=
...)
->
None
:
...
class
QkdmMetadataRequest
(
_message
.
Message
):
__slots__
=
(
"
timestamp
"
,)
TIMESTAMP_FIELD_NUMBER
:
_ClassVar
[
int
]
timestamp
:
int
def
__init__
(
self
,
timestamp
:
_Optional
[
int
]
=
...)
->
None
:
...
class
QkdmMetadataResponse
(
_message
.
Message
):
__slots__
=
(
"
timestamp
"
,
"
metadata
"
)
TIMESTAMP_FIELD_NUMBER
:
_ClassVar
[
int
]
METADATA_FIELD_NUMBER
:
_ClassVar
[
int
]
timestamp
:
int
metadata
:
Metadata
def
__init__
(
self
,
timestamp
:
_Optional
[
int
]
=
...,
metadata
:
_Optional
[
_Union
[
Metadata
,
_Mapping
]]
=
...)
->
None
:
...
class
ShutdownNotificationRequest
(
_message
.
Message
):
__slots__
=
(
"
shutdownReason
"
,)
SHUTDOWNREASON_FIELD_NUMBER
:
_ClassVar
[
int
]
shutdownReason
:
str
def
__init__
(
self
,
shutdownReason
:
_Optional
[
str
]
=
...)
->
None
:
...
class
ShutdownNotificationResponse
(
_message
.
Message
):
__slots__
=
()
def
__init__
(
self
)
->
None
:
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment