Arnav Singh
Arnav Singh
Right, that is an API operation and so it has been removed. Also kube [does not implement the full proxy API to `.../proxy` yet.](https://github.com/kube-rs/kube/issues/1161) But since k8s-openapi never implemented the...
Yes, comparing [`Client::request_text`](https://github.com/kube-rs/kube/blob/83368df52a4845e06edbb9b4b3246c3807bb711a/kube-client/src/client/mod.rs#L227-L238) (used by other CRUD API) with [`Client::request_stream`](https://github.com/kube-rs/kube/blob/83368df52a4845e06edbb9b4b3246c3807bb711a/kube-client/src/client/mod.rs#L244-L252) (used by `Pod::log_stream`), the latter is missing the `handle_api_errors` or equivalent that would act on `res.status()`. Once it did that,...
Ref: - https://github.com/kubernetes/kubernetes/blob/v1.26.0/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go - https://github.com/kubernetes/kubernetes/blob/v1.26.0/staging/src/k8s.io/apimachinery/pkg/api/resource/amount.go - https://github.com/kubernetes/kubernetes/blob/v1.26.0/staging/src/k8s.io/apimachinery/pkg/api/resource/math.go --- >Perhaps adding various methods similar to its Go counterpart. Methods are not the hard part. The serialization and deserialization is, because it...
$dayjob needed code for the specific purpose of deserializing a `Quantity` into a `u64` in a lossy, saturating way, so I ended up writing two versions related to that. Neither...
So just to be clear, your concern about the size is only because you're vendoring, right? Or is there any other reason? --- What is the mechanism of deduping? Type-alias...
Okay. One more question: Do you use `kube` or do you use the API operations that `k8s-openapi` provides via the `api` feature? As part of [adding v1.28 support](https://github.com/Arnavion/k8s-openapi/issues/145) there are...
v0.20 has been released with the API operations-related code removed. Is it small enough now? If not, we can keep this open for working on a deduping solution.
Compilation time will not change because of what's being discussed in this issue. That would be https://github.com/Arnavion/k8s-openapi/issues/77
First, is there any resource type for which `generateName` *cannot* be used? ie do we need the first two versions? Second, the third and fourth versions still have `name: Option`...
For `namespace`, I spent some time splitting `ObjectMeta` into `ObjectMeta { namespace: String }`, `ClusterObjectMeta { /* no namespace field */ }` and `SubObjectMeta { namespace: Option }`. The partial...