Interface ResourceEventHandler<ApiType extends KubernetesObject>

Type Parameters:
ApiType - kubernetes api type

public interface ResourceEventHandler<ApiType extends KubernetesObject>
Interface for event handlers.

The code has been copied from the official client and modified: ResourceEventHandler

  • Method Details

    • onAdd

      void onAdd(@NonNull ApiType obj)
    • onUpdate

      void onUpdate(@NonNull ApiType oldObj, @NonNull ApiType newObj)
    • onDelete

      void onDelete(@NonNull ApiType obj, boolean deletedFinalStateUnknown)