Class InformerAnnotationUtils
java.lang.Object
io.micronaut.kubernetes.client.informer.InformerAnnotationUtils
Utility class for resolvers.
- Since:
- 3.3
- Author:
- Pavol Gressa
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<? extends io.kubernetes.client.common.KubernetesListObject>
resolveApiListType
(io.micronaut.core.annotation.AnnotationValue<Informer> annotationValue) static Class<? extends io.kubernetes.client.common.KubernetesObject>
resolveApiType
(io.micronaut.core.annotation.AnnotationValue<Informer> annotationValue)
-
Constructor Details
-
InformerAnnotationUtils
public InformerAnnotationUtils()
-
-
Method Details
-
resolveApiType
public static Class<? extends io.kubernetes.client.common.KubernetesObject> resolveApiType(io.micronaut.core.annotation.AnnotationValue<Informer> annotationValue) - Parameters:
annotationValue
- informer annotation value- Returns:
- the api type
-
resolveApiListType
public static Class<? extends io.kubernetes.client.common.KubernetesListObject> resolveApiListType(io.micronaut.core.annotation.AnnotationValue<Informer> annotationValue) - Parameters:
annotationValue
- informer annotation value- Returns:
- the api list type
-