Package io.fabric8.kubernetes.client.dsl
Interface ImageEditReplacePatchable<T>
-
- All Superinterfaces:
Editable<T>,EditReplacePatchable<T>,Patchable<T>,Replaceable<T>,StatusUpdatable<T>
- All Known Subinterfaces:
TimeoutImageEditReplacePatchable<T>
- All Known Implementing Classes:
DeploymentOperationsImpl,DeploymentOperationsImpl,ReplicaSetOperationsImpl,ReplicaSetOperationsImpl,ReplicationControllerOperationsImpl,StatefulSetOperationsImpl
public interface ImageEditReplacePatchable<T> extends EditReplacePatchable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tpause()Mark the provided resource as pausedTrestart()Restart a resource.Tresume()Resume a paused resource.Tundo()Rollback to previous rollout.TupdateImage(String image)Update existing container image of single container resourceTupdateImage(Map<String,String> containerToImageMap)Update existing container image(s) of resources-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Replaceable
replace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.StatusUpdatable
updateStatus
-
-
-
-
Method Detail
-
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
-
-