Class InformerAnnotationUtils

java.lang.Object
io.micronaut.kubernetes.client.informer.InformerAnnotationUtils

public class InformerAnnotationUtils extends Object
Utility class for resolvers.
Since:
3.3
Author:
Pavol Gressa
  • 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)
      Resolves the resource KubernetesObject api type from the Informer's 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)
      Resolves the resource KubernetesListObject api list type from the Informer's AnnotationValue.
      Parameters:
      annotationValue - informer annotation value
      Returns:
      the api list type