public class ModelMapper
extends java.lang.Object
The difference is that this class doesn't prefetch all model classes but instead does the resolution
on demand. Also the integration with Discovery
is placed in the DiscoveryCache
bean.
Constructor and Description |
---|
ModelMapper() |
Modifier and Type | Method and Description |
---|---|
io.kubernetes.client.apimachinery.GroupVersionKind |
getGroupVersionKindByClass(java.lang.Class<? extends io.kubernetes.client.common.KubernetesObject> clazz)
Resolves version and kind of the the
clazz . |
public io.kubernetes.client.apimachinery.GroupVersionKind getGroupVersionKindByClass(java.lang.Class<? extends io.kubernetes.client.common.KubernetesObject> clazz)
clazz
. To resolve the api group of the clazz use DiscoveryCache
.clazz
- class to resolve