k8s-proto

Generated kubernetes proto code


Keywords
lyft
License
Apache-2.0
Install
pip install k8s-proto==0.0.3

Documentation

flyteproto

Flyteproto is a collection of generated protocol buffer bindings for kubernetes generated protobuf definitions.

Contents

k8s

Generated protobuf code (currently python only), complete with imports synced from k8s.io/apimachinery in 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