Interface ImageEditReplacePatchable<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      T edit​(UnaryOperator<T> function)
      Deprecated.
      client managed rollouts will be removed in future versions
      T pause()
      Deprecated.
      should be called prior to the timeout method
      T restart()
      Deprecated.
      should be called prior to the timeout method
      T resume()
      Deprecated.
      should be called prior to the timeout method
      T undo()
      Deprecated.
      should be called prior to the timeout method
      T updateImage​(String image)
      Deprecated.
      should be called prior to the rolling method
      T updateImage​(Map<String,​String> containerToImageMap)
      Deprecated.
      should be called prior to the rolling method
    • Method Detail

      • edit

        @Deprecated
        T edit​(UnaryOperator<T> function)
        Deprecated.
        client managed rollouts will be removed in future versions
        Edit the context or current item and apply the result to trigger a rollout. It is resource dependent how the new resource is applied.
        Parameters:
        function -
        Returns:
      • pause

        @Deprecated
        T pause()
        Deprecated.
        should be called prior to the timeout method
        Mark the provided resource as paused
        Returns:
        updated resource
      • resume

        @Deprecated
        T resume()
        Deprecated.
        should be called prior to the timeout method
        Resume a paused resource. Paused resources will not be reconciled by a controller. By resuming a resource, we allow it to be reconciled again.
        Returns:
        updated resource
      • restart

        @Deprecated
        T restart()
        Deprecated.
        should be called prior to the timeout method
        Restart a resource. Resource will be rollout restarted.
        Returns:
        updated resource
      • undo

        @Deprecated
        T undo()
        Deprecated.
        should be called prior to the timeout method
        Rollback to previous rollout.
        Returns:
        updated resource
      • updateImage

        @Deprecated
        T updateImage​(Map<String,​String> containerToImageMap)
        Deprecated.
        should be called prior to the rolling method
        Description copied from interface: ImageUpdateable
        Update existing container image(s) of resources
        Specified by:
        updateImage in interface ImageUpdateable<T>
        Parameters:
        containerToImageMap - Map with keys as container name and value as image
        Returns:
        updated resource
      • updateImage

        @Deprecated
        T updateImage​(String image)
        Deprecated.
        should be called prior to the rolling method
        Description copied from interface: ImageUpdateable
        Update existing container image of single container resource
        Specified by:
        updateImage in interface ImageUpdateable<T>
        Parameters:
        image - image to be updated
        Returns:
        updated resource