Interface ImageEditReplacePatchable<I,​T,​D>

All Superinterfaces:
Editable<D>, EditReplacePatchable<I,​T,​D>, Patchable<I,​T>, Replaceable<I,​T>, StatusUpdatable<T>
All Known Subinterfaces:
TimeoutImageEditReplacePatchable<I,​T,​D>
All Known Implementing Classes:
DeploymentOperationsImpl, ReplicaSetOperationsImpl, ReplicationControllerOperationsImpl, StatefulSetOperationsImpl

public interface ImageEditReplacePatchable<I,​T,​D>
extends EditReplacePatchable<I,​T,​D>
  • Method Summary

    Modifier and Type Method Description
    T pause()
    Mark the provided resource as paused
    T restart()
    Restart a resource.
    T resume()
    Resume a paused resource.
    T undo()
    Rollback to previous rollout.
    T updateImage​(String image)
    Update existing container image of single container resource
    T updateImage​(Map<String,​String> containerToImageMap)
    Update existing container image(s) of resources

    Methods inherited from interface io.fabric8.kubernetes.client.dsl.Editable

    edit

    Methods inherited from interface io.fabric8.kubernetes.client.dsl.Patchable

    patch

    Methods inherited from interface io.fabric8.kubernetes.client.dsl.Replaceable

    replace

    Methods inherited from interface io.fabric8.kubernetes.client.dsl.StatusUpdatable

    updateStatus
  • Method Details

    • updateImage

      T updateImage​(Map<String,​String> containerToImageMap)
      Update existing container image(s) of resources
      Parameters:
      containerToImageMap - Map with keys as container name and value as image
      Returns:
      updated resource
    • updateImage

      T updateImage​(String image)
      Update existing container image of single container resource
      Parameters:
      image - image to be updated
      Returns:
      updated resource
    • pause

      T pause()
      Mark the provided resource as paused
      Returns:
      updated resource
    • resume

      T resume()
      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

      T restart()
      Restart a resource. Resource will be rollout restarted.
      Returns:
      updated resource
    • undo

      T undo()
      Rollback to previous rollout.
      Returns:
      updated resource