-
I was looking over the pod example: let pods: Api<Pod> = Api::default_namespaced(client);
for p in pods.list(&ListParams::default()).await? {
info!("found pod {}", p.name_any());
} and I was curious if there was a way to get all of the namespaces in a similar fashion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
make an let ns: Api<Namepace> = Api::all(client)
ns.list(...).await |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, after testing, |
Beta Was this translation helpful? Give feedback.
make an
Api
onNamespace