Hacker GitHub

← All repos

Arnavion/k8s-openapi

View on GitHub ↗ ★ 447 Rust

Rust definitions of the resource types in the Kubernetes client API

8 mentions on Hacker News by 1 person: 0 stories, 8 comments · first 2020-11-04 · latest 2025-07-14

Mentions per year 8 mentions · busiest year 2021 (2)
20082026
  1. …off. Here's a comparison of using serde proc macros for (De)Serialize impls vs pre-generated impls: https://github.com/Arnavion/k8s-openapi/issues/4#issuecommen... In other words the amount of code that is compiled in the end is the same;…
    comment by Arnavion · 2025-07-14 · in C3 solved memory lifetimes with scopes
  2. …I heard it first. https://sans-io.readthedocs.io/ I did it for one of my Rust projects back in 2018 https://github.com/Arnavion/k8s-openapi/commit/9a4fbb718b119... , and it's older than that in Python land.
  3. …to parse the response, that you would call with the response bytes your client gave to you. https://github.com/Arnavion/k8s-openapi/blob/v0.19.0/README.... (Past tense because I removed all the API features from k8s-openapi after that…
  4. …if it is a problem, users can opt in to compiling just the proc macros in release mode. [2] [1]: https://github.com/Arnavion/k8s-openapi/issues/4 [2]: https://github.com/rust-lang/cargo/issues/5622 *
    comment by Arnavion · 2022-12-22 · in Welcome to Comprehensive Rust
  5. …the Kubernetes API server's API, and I chose to write my own code generator instead. The README at https://github.com/Arnavion/k8s-openapi has more details. The point there about bugs in the spec is not limited to Kubernetes. $dayjob's…
  6. …`foo` is a third-party library function. (The real code which I reduced to this example is https://github.com/Arnavion/k8s-openapi/blob/1fcfe4b34a1f4f1... , and the callee does happen to be another crate in my control. While this can't be…
  7. …all the other Kubernetes clients in github.com/kubernetes-client like Python and .Net too. See https://github.com/Arnavion/k8s-openapi/blob/master/README.m... for a full description. I also confirm that I keep it up-to-date with Kubernetes…
  8. https://github.com/Arnavion/fac-rs/tree/master/.github/workf... https://github.com/Arnavion/k8s-openapi/tree/master/.github/...