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
20082026
-
…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 -
…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.
comment by Arnavion · 2024-04-07 · in WinBtrfs – an open-source btrfs driver for Windows -
…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…
comment by Arnavion · 2024-01-20 · in The bane of my existence: Supporting both async and sync code in Rust -
…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 -
…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…
comment by Arnavion · 2022-10-16 · in OpenAPI Generator allows generation of API client libraries from OpenAPI Specs -
…`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…
comment by Arnavion · 2021-03-29 · in && operator chains (and ||, possibly) generates unoptimizable LLVM IR -
…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…
comment by Arnavion · 2021-01-09 · in Writing a Kubernetes CRD Controller in Rust -
https://github.com/Arnavion/fac-rs/tree/master/.github/workf... https://github.com/Arnavion/k8s-openapi/tree/master/.github/...
comment by Arnavion · 2020-11-04 · in GitHub: Widespread Injection Vulnerabilities in Actions