Function k8s_openapi::version
source · Expand description
Extracts the version of the given resource value.
This just returns the Resource::VERSION
value for the argument’s type, but is useful when you already have a value
and don’t want to explicitly write its type.