https://github.com/flyteorg/flyteproto
[Deprecated] A repo to hold generated code from kubernetes API protos
https://github.com/flyteorg/flyteproto
lyft
Last synced: 9 months ago
JSON representation
[Deprecated] A repo to hold generated code from kubernetes API protos
- Host: GitHub
- URL: https://github.com/flyteorg/flyteproto
- Owner: flyteorg
- License: apache-2.0
- Created: 2019-02-21T23:13:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T23:59:34.000Z (almost 5 years ago)
- Last Synced: 2025-04-21T19:05:04.670Z (9 months ago)
- Topics: lyft
- Language: Shell
- Homepage:
- Size: 257 KB
- Stars: 7
- Watchers: 283
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# flyteproto
Flyteproto is a collection of generated [protocol buffer](https://developers.google.com/protocol-buffers/) bindings for kubernetes generated [protobuf definitions](https://github.com/kubernetes/api/blob/master/core/v1/generated.proto).
## Contents
### k8s
Generated protobuf code (currently python only), complete with imports synced from k8s.io/apimachinery in [kubernetes/apimachinery](https://github.com/kubernetes/apimachinery)
### k8s.io
Core and imported protobuf definitions in a path that matches their declared packages. Use these to generate protobufs that import the core kubernetes protos.
## Usage
Run `generate.sh` to regenerate protobuf code.
To use kubernetes protobuf definitions in your own protobufs, pass the `k8s.io` dir as an input directory to protoc:
```
protoc -I=k8s.io/ [OPTION] PROTO_FILES