Class AbstractKubernetesConfigWatcher<T extends io.kubernetes.client.common.KubernetesObject>

java.lang.Object
io.micronaut.kubernetes.configuration.AbstractKubernetesConfigWatcher<T>
Type Parameters:
T - the type of Kubernetes object to watch
All Implemented Interfaces:
io.kubernetes.client.informer.ResourceEventHandler<T>
Direct Known Subclasses:
KubernetesConfigMapWatcher, KubernetesSecretWatcher

@Deprecated(forRemoval=true, since="8.0.0") public abstract class AbstractKubernetesConfigWatcher<T extends io.kubernetes.client.common.KubernetesObject> extends Object implements io.kubernetes.client.informer.ResourceEventHandler<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced with config import implementation
Watches for ConfigMap/Secret changes and makes the appropriate changes to the Environment by adding or removing PropertySources.
Since:
1.0.0
Author:
Álvaro Sánchez-Mariscal
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAdd(T config)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    onDelete(T config, boolean deletedFinalStateUnknown)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    onUpdate(T oldConfig, T newConfig)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • onAdd

      public void onAdd(T config)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      onAdd in interface io.kubernetes.client.informer.ResourceEventHandler<T extends io.kubernetes.client.common.KubernetesObject>
    • onUpdate

      public void onUpdate(T oldConfig, T newConfig)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      onUpdate in interface io.kubernetes.client.informer.ResourceEventHandler<T extends io.kubernetes.client.common.KubernetesObject>
    • onDelete

      public void onDelete(T config, boolean deletedFinalStateUnknown)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      onDelete in interface io.kubernetes.client.informer.ResourceEventHandler<T extends io.kubernetes.client.common.KubernetesObject>