public class StatefulSetOperationsImpl extends RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>> implements TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>
rollingOperationContextDEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICYapiVersion, listTypetypeapiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH| Constructor and Description |
|---|
StatefulSetOperationsImpl(Client client) |
StatefulSetOperationsImpl(RollingOperationContext context,
OperationContext superContext) |
| Modifier and Type | Method and Description |
|---|---|
protected List<io.fabric8.kubernetes.api.model.Container> |
getContainers(io.fabric8.kubernetes.api.model.apps.StatefulSet value) |
int |
getCurrentReplicas(io.fabric8.kubernetes.api.model.apps.StatefulSet current) |
int |
getDesiredReplicas(io.fabric8.kubernetes.api.model.apps.StatefulSet item) |
String |
getLog(boolean isPretty) |
InputStream |
getLogInputStream()
Returns an unclosed InputStream.
|
Reader |
getLogReader()
Returns an unclosed Reader.
|
long |
getObservedGeneration(io.fabric8.kubernetes.api.model.apps.StatefulSet current) |
RollingUpdater<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList> |
getRollingUpdater(long rollingTimeout,
TimeUnit rollingTimeUnit) |
StatefulSetOperationsImpl |
newInstance(OperationContext context) |
StatefulSetOperationsImpl |
newInstance(RollingOperationContext context) |
io.fabric8.kubernetes.api.model.apps.StatefulSet |
pause() |
io.fabric8.kubernetes.api.model.apps.StatefulSet |
restart() |
io.fabric8.kubernetes.api.model.apps.StatefulSet |
resume() |
io.fabric8.kubernetes.api.model.Status |
rollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback deploymentRollback) |
io.fabric8.kubernetes.api.model.apps.StatefulSet |
undo() |
LogWatch |
watchLog(OutputStream out) |
io.fabric8.kubernetes.api.model.apps.StatefulSet |
withReplicas(int count) |
edit, getLog, inContainer, patch, replace, rolling, scale, scale, scale, scale, sendPatchedObject, updateImage, updateImage, watchLog, withLogWaitTimeout, withTimeout, withTimeoutInMillisaccept, edit, editStatus, modifyItemForReplaceOrPatch, patch, patch, patchStatus, replace, replace, replaceStatus, requireFromServerappendListOptionParams, create, createOrReplace, createOrReplace, delete, delete, delete, dryRun, dryRun, edit, fetchListUrl, forOperationType, fromServer, get, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getKind, getLimit, getListType, getMandatory, getNonNullItem, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, getWatchReconnectInterval, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, inWriteContext, isReady, isReloadingFromServer, isResourceNamespaced, list, list, list, load, load, load, load, lockResourceVersion, lockResourceVersion, newResource, patch, patch, patchStatus, replaceStatus, require, resource, resources, runnableInformer, setListType, setType, submitList, submitWatch, updateApiVersion, updateApiVersion, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withIndexers, withInvolvedObject, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withLimit, withName, withNewFilter, withoutField, withoutFields, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersioncreate, getTypeassertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getParameters, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrl, handleApproveOrDeny, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, retryWithExponentialBackoff, unmarshal, unmarshal, unmarshal, waitForResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithTimeout, withTimeoutInMillisupdateImage, updateImageaccept, edit, edit, edit, editStatus, patch, patch, patch, patch, patch, patch, patchStatusreplace, replaceStatuscascading, isReady, lockResourceVersion, lockResourceVersion, requirefromServerwithResourceVersionwaitUntilCondition, waitUntilReadycreate, createOrReplacecreate, createOrReplace, delete, patchStatus, updateStatuswithGracePeriodwithPropagationPolicyreplaceStatusdryRun, dryRuninform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimitgetFullResourceName, getName, getNamespacedeletewithLabel, withoutLabelgetNamespacepublic StatefulSetOperationsImpl(Client client)
public StatefulSetOperationsImpl(RollingOperationContext context, OperationContext superContext)
public StatefulSetOperationsImpl newInstance(OperationContext context)
newInstance in class HasMetadataOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>>public StatefulSetOperationsImpl newInstance(RollingOperationContext context)
newInstance in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>>public io.fabric8.kubernetes.api.model.apps.StatefulSet withReplicas(int count)
withReplicas in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>>public RollingUpdater<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList> getRollingUpdater(long rollingTimeout, TimeUnit rollingTimeUnit)
getRollingUpdater in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>>public int getCurrentReplicas(io.fabric8.kubernetes.api.model.apps.StatefulSet current)
getCurrentReplicas in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>>public int getDesiredReplicas(io.fabric8.kubernetes.api.model.apps.StatefulSet item)
getDesiredReplicas in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>>public long getObservedGeneration(io.fabric8.kubernetes.api.model.apps.StatefulSet current)
getObservedGeneration in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>>public io.fabric8.kubernetes.api.model.Status rollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback deploymentRollback)
rollback in interface RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>public Reader getLogReader()
getLogReader in interface Loggablepublic InputStream getLogInputStream()
getLogInputStream in interface Loggablepublic LogWatch watchLog(OutputStream out)
public io.fabric8.kubernetes.api.model.apps.StatefulSet pause()
pause in interface ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>public io.fabric8.kubernetes.api.model.apps.StatefulSet resume()
resume in interface ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>public io.fabric8.kubernetes.api.model.apps.StatefulSet restart()
restart in interface ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>public io.fabric8.kubernetes.api.model.apps.StatefulSet undo()
undo in interface ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>protected List<io.fabric8.kubernetes.api.model.Container> getContainers(io.fabric8.kubernetes.api.model.apps.StatefulSet value)
getContainers in class RollableScalableResourceOperation<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList,RollableScalableResource<io.fabric8.kubernetes.api.model.apps.StatefulSet>>Copyright © 2015–2022 Red Hat. All rights reserved.