public class StatefulSetOperationsImpl extends RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet>> implements TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet>
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 |
---|
StatefulSetOperationsImpl(okhttp3.OkHttpClient client,
Config config) |
StatefulSetOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String namespace) |
StatefulSetOperationsImpl(RollingOperationContext context) |
Modifier and Type | Method and Description |
---|---|
String |
getLog() |
String |
getLog(Boolean isPretty) |
Reader |
getLogReader()
Returns an unclosed Reader.
|
StatefulSetOperationsImpl |
newInstance(OperationContext context) |
io.fabric8.kubernetes.api.model.Status |
rollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback deploymentRollback) |
StatefulSetOperationsImpl |
rolling() |
io.fabric8.kubernetes.api.model.apps.StatefulSet |
updateImage(String image) |
LogWatch |
watchLog() |
LogWatch |
watchLog(OutputStream out) |
ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet> |
withTimeout(long timeout,
TimeUnit unit) |
ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet> |
withTimeoutInMillis(long timeoutInMillis) |
edit, patch, replace, scale, scale, scale, scale
periodicWatchUntilReady, waitUntilReady
cascading, create, 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
replace
updateStatus
createOrReplace, createOrReplaceWithNew
create, create, createNew
fromServer
withGracePeriod
withPropagationPolicy
lockResourceVersion
withResourceVersion
waitUntilCondition, waitUntilReady
require
getName, getNamespace
public StatefulSetOperationsImpl(okhttp3.OkHttpClient client, Config config)
public StatefulSetOperationsImpl(okhttp3.OkHttpClient client, Config config, String namespace)
public StatefulSetOperationsImpl(RollingOperationContext context)
public StatefulSetOperationsImpl newInstance(OperationContext context)
newInstance
in class BaseOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet>>
public StatefulSetOperationsImpl rolling()
rolling
in interface Rollable<TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet>>
public io.fabric8.kubernetes.api.model.apps.StatefulSet updateImage(String image)
updateImage
in interface ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet>
public ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet> withTimeout(long timeout, TimeUnit unit)
withTimeout
in interface Timeoutable<ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet>>
public ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet> withTimeoutInMillis(long timeoutInMillis)
withTimeoutInMillis
in interface Timeoutable<ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet>>
public io.fabric8.kubernetes.api.model.Status rollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback deploymentRollback)
rollback
in interface Rollable<TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.DoneableStatefulSet>>
public Reader getLogReader()
getLogReader
in interface Loggable<String,LogWatch>
Copyright © 2015–2020 Red Hat. All rights reserved.