Skip to main content

Module api

Module api 

Source
Expand description

API discovery helpers โ€” GroupVersion parsing + path construction.

Tiny helper layer that turns the typed GroupVersionKind / GroupVersionResource from kind.rs into the URL path segments the apiserver router needs.

Functionsยง

api_version
Build the apiVersion string from a GVK.
item_path
Construct the REST path for a single-item GET / PUT / PATCH / DELETE.
list_path
Construct the REST path for a List/Watch on a resource.