Annotation Type KubernetesInformer


@Deprecated @Target(TYPE) @Retention(RUNTIME) public @interface KubernetesInformer
Deprecated.
create a SharedIndexInformer as a bean instead
The interface Kubernetes informer specifies the arguments for injecting an informer into the informer-factory. The default argument list works for instantiating an informer list-watching namespace resources.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated.
    Group-version-resource is a tuple for constructing legal Kubernetes api path.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends io.kubernetes.client.common.KubernetesListObject>
    Deprecated.
    Kubernetes api list type class class.
    Class<? extends io.kubernetes.client.common.KubernetesObject>
    Deprecated.
    Kubernetes api type class class e.g.
    Deprecated.
    Target namespace to list-watch, by default it will be cluster-scoped.
    long
    Deprecated.
    Resync period millis long.
  • Element Details

    • groupVersionResource

      GroupVersionResource groupVersionResource
      Deprecated.
      Group-version-resource is a tuple for constructing legal Kubernetes api path. e.g. {"batch", "v1", "jobs"}
      Returns:
      the group version resource
    • apiTypeClass

      Class<? extends io.kubernetes.client.common.KubernetesObject> apiTypeClass
      Deprecated.
      Kubernetes api type class class e.g. V1Namespace.
      Returns:
      the class
      Default:
      io.kubernetes.client.openapi.models.V1Namespace.class
    • apiListTypeClass

      Class<? extends io.kubernetes.client.common.KubernetesListObject> apiListTypeClass
      Deprecated.
      Kubernetes api list type class class. e.g. V1NamespaceList.
      Returns:
      the class
      Default:
      io.kubernetes.client.openapi.models.V1NamespaceList.class
    • resyncPeriodMillis

      long resyncPeriodMillis
      Deprecated.
      Resync period millis long.
      Returns:
      the long
      Default:
      0L
    • namespace

      String namespace
      Deprecated.
      Target namespace to list-watch, by default it will be cluster-scoped.
      Returns:
      the string
      Default:
      ""