public class DeploymentOperationsImpl extends RollableScalableResourceOperation<Deployment,DeploymentList,DoneableDeployment,RollableScalableResource<Deployment,DoneableDeployment>> implements TimeoutImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment>
apiVersion, doneableType, listType, reaper, typeapiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPERPOLL_INTERVAL_MS| Constructor and Description |
|---|
DeploymentOperationsImpl(okhttp3.OkHttpClient client,
Config config) |
DeploymentOperationsImpl(okhttp3.OkHttpClient client,
Config config,
java.lang.String namespace) |
DeploymentOperationsImpl(RollingOperationContext context) |
| Modifier and Type | Method and Description |
|---|---|
DoneableDeployment |
edit() |
DeploymentOperationsImpl |
newInstance(OperationContext context) |
Deployment |
patch(Deployment item) |
Deployment |
replace(Deployment item) |
DeploymentOperationsImpl |
rolling() |
Deployment |
scale(int count) |
Deployment |
scale(int count,
boolean wait) |
Deployment |
updateImage(java.lang.String image) |
ImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment> |
withTimeout(long timeout,
java.util.concurrent.TimeUnit unit) |
ImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment> |
withTimeoutInMillis(long timeoutInMillis) |
periodicWatchUntilReady, waitUntilReadycascading, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, forOperationType, fromServer, get, getApiVersion, getConfigType, getDoneableType, getFieldQueryParam, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getPropagationPolicy, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleGet, handlePatch, handleReplace, handleResponse, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReaping, isReloadingFromServer, isResourceNamespaced, list, list, load, load, load, load, lockResourceVersion, require, setReaping, updateApiVersion, updateApiVersion, updateApiVersionResource, waitUntilCondition, waitUntilExists, watch, watch, withField, withFields, withGracePeriod, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersionassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleGet, handleGet, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, requestException, requestFailure, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplace, createOrReplaceWithNewcreate, createNewfromServerwithGracePeriodwithPropagationPolicylockResourceVersionwithResourceVersionwaitUntilCondition, waitUntilReadyrequiregetName, getNamespacepublic DeploymentOperationsImpl(okhttp3.OkHttpClient client,
Config config)
public DeploymentOperationsImpl(okhttp3.OkHttpClient client,
Config config,
java.lang.String namespace)
public DeploymentOperationsImpl(RollingOperationContext context)
public DeploymentOperationsImpl newInstance(OperationContext context)
public Deployment scale(int count)
scale in interface Scaleable<Deployment>scale in class RollableScalableResourceOperation<Deployment,DeploymentList,DoneableDeployment,RollableScalableResource<Deployment,DoneableDeployment>>public Deployment scale(int count, boolean wait)
scale in interface Scaleable<Deployment>scale in class RollableScalableResourceOperation<Deployment,DeploymentList,DoneableDeployment,RollableScalableResource<Deployment,DoneableDeployment>>public DoneableDeployment edit()
edit in interface Editable<DoneableDeployment>edit in class RollableScalableResourceOperation<Deployment,DeploymentList,DoneableDeployment,RollableScalableResource<Deployment,DoneableDeployment>>public Deployment replace(Deployment item)
replace in interface Replaceable<Deployment,Deployment>replace in class RollableScalableResourceOperation<Deployment,DeploymentList,DoneableDeployment,RollableScalableResource<Deployment,DoneableDeployment>>public Deployment patch(Deployment item)
patch in interface Patchable<Deployment,Deployment>patch in class RollableScalableResourceOperation<Deployment,DeploymentList,DoneableDeployment,RollableScalableResource<Deployment,DoneableDeployment>>public DeploymentOperationsImpl rolling()
rolling in interface Rollable<TimeoutImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment>>public Deployment updateImage(java.lang.String image)
updateImage in interface ImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment>public ImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment> withTimeoutInMillis(long timeoutInMillis)
withTimeoutInMillis in interface Timeoutable<ImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment>>public ImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment> withTimeout(long timeout, java.util.concurrent.TimeUnit unit)
withTimeout in interface Timeoutable<ImageEditReplacePatchable<Deployment,Deployment,DoneableDeployment>>Copyright © 2015-2019 Red Hat. All Rights Reserved.