public class DeploymentOperationsImpl extends RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DeploymentList,io.fabric8.kubernetes.api.model.apps.DoneableDeployment,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>> implements TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>
apiVersion, doneableType, listType, type
apiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER
POLL_INTERVAL_MS
Constructor and Description |
---|
DeploymentOperationsImpl(okhttp3.OkHttpClient client,
Config config) |
DeploymentOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String namespace) |
DeploymentOperationsImpl(RollingOperationContext context) |
Modifier and Type | Method and Description |
---|---|
io.fabric8.kubernetes.api.model.apps.DoneableDeployment |
edit() |
String |
getLog() |
String |
getLog(Boolean isPretty) |
Reader |
getLogReader()
Returns an unclosed Reader.
|
DeploymentOperationsImpl |
newInstance(OperationContext context) |
io.fabric8.kubernetes.api.model.apps.Deployment |
patch(io.fabric8.kubernetes.api.model.apps.Deployment item) |
io.fabric8.kubernetes.api.model.apps.Deployment |
replace(io.fabric8.kubernetes.api.model.apps.Deployment item) |
io.fabric8.kubernetes.api.model.Status |
rollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback rollback) |
DeploymentOperationsImpl |
rolling() |
io.fabric8.kubernetes.api.model.apps.Deployment |
scale(int count) |
io.fabric8.kubernetes.api.model.apps.Deployment |
scale(int count,
boolean wait) |
io.fabric8.kubernetes.api.model.apps.Deployment |
updateImage(String image) |
LogWatch |
watchLog() |
LogWatch |
watchLog(OutputStream out) |
ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment> |
withTimeout(long timeout,
TimeUnit unit) |
ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment> |
withTimeoutInMillis(long timeoutInMillis) |
scale, scale
periodicWatchUntilReady, waitUntilReady
cascading, 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, handleDeploymentRollback, handleGet, handlePatch, handleReplace, handleResponse, handleScale, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReloadingFromServer, isResourceNamespaced, list, list, load, load, load, load, lockResourceVersion, require, setListType, setNamespace, setType, updateApiVersion, updateApiVersion, updateApiVersionResource, updateStatus, waitUntilCondition, waitUntilExists, watch, watch, withField, withFields, withGracePeriod, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateStatus
createOrReplace, createOrReplaceWithNew
create, createNew
fromServer
withGracePeriod
withPropagationPolicy
lockResourceVersion
withResourceVersion
waitUntilCondition, waitUntilReady
require
getName, getNamespace
public DeploymentOperationsImpl(okhttp3.OkHttpClient client, Config config)
public DeploymentOperationsImpl(okhttp3.OkHttpClient client, Config config, String namespace)
public DeploymentOperationsImpl(RollingOperationContext context)
public DeploymentOperationsImpl newInstance(OperationContext context)
newInstance
in class BaseOperation<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DeploymentList,io.fabric8.kubernetes.api.model.apps.DoneableDeployment,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public io.fabric8.kubernetes.api.model.apps.Deployment scale(int count)
scale
in interface Scaleable<io.fabric8.kubernetes.api.model.apps.Deployment>
scale
in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DeploymentList,io.fabric8.kubernetes.api.model.apps.DoneableDeployment,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public io.fabric8.kubernetes.api.model.apps.Deployment scale(int count, boolean wait)
scale
in interface Scaleable<io.fabric8.kubernetes.api.model.apps.Deployment>
scale
in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DeploymentList,io.fabric8.kubernetes.api.model.apps.DoneableDeployment,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public io.fabric8.kubernetes.api.model.apps.DoneableDeployment edit()
edit
in interface Editable<io.fabric8.kubernetes.api.model.apps.DoneableDeployment>
edit
in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DeploymentList,io.fabric8.kubernetes.api.model.apps.DoneableDeployment,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public io.fabric8.kubernetes.api.model.apps.Deployment replace(io.fabric8.kubernetes.api.model.apps.Deployment item)
replace
in interface Replaceable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment>
replace
in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DeploymentList,io.fabric8.kubernetes.api.model.apps.DoneableDeployment,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public io.fabric8.kubernetes.api.model.apps.Deployment patch(io.fabric8.kubernetes.api.model.apps.Deployment item)
patch
in interface Patchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment>
patch
in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DeploymentList,io.fabric8.kubernetes.api.model.apps.DoneableDeployment,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public DeploymentOperationsImpl rolling()
rolling
in interface Rollable<TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public io.fabric8.kubernetes.api.model.Status rollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback rollback)
rollback
in interface Rollable<TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public io.fabric8.kubernetes.api.model.apps.Deployment updateImage(String image)
updateImage
in interface ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>
public ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment> withTimeoutInMillis(long timeoutInMillis)
withTimeoutInMillis
in interface Timeoutable<ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment> withTimeout(long timeout, TimeUnit unit)
withTimeout
in interface Timeoutable<ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.Deployment,io.fabric8.kubernetes.api.model.apps.DoneableDeployment>>
public Reader getLogReader()
getLogReader
in interface Loggable<String,LogWatch>
Copyright © 2015–2021 Red Hat. All rights reserved.