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>
FieldValidateable.Validation
rollingOperationContext
DEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICY
apiVersion, listType
type
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource
Constructor and Description |
---|
StatefulSetOperationsImpl(Client client) |
StatefulSetOperationsImpl(PodOperationContext 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) |
String |
getLog(boolean isPretty) |
InputStream |
getLogInputStream()
Returns an unclosed InputStream.
|
Reader |
getLogReader()
Returns an unclosed Reader.
|
RollingUpdater<io.fabric8.kubernetes.api.model.apps.StatefulSet,io.fabric8.kubernetes.api.model.apps.StatefulSetList> |
getRollingUpdater(long rollingTimeout,
TimeUnit rollingTimeUnit) |
TimeTailPrettyLoggable |
limitBytes(int limitBytes) |
StatefulSetOperationsImpl |
newInstance(OperationContext context) |
StatefulSetOperationsImpl |
newInstance(PodOperationContext context,
OperationContext superContext) |
io.fabric8.kubernetes.api.model.apps.StatefulSet |
restart() |
io.fabric8.kubernetes.api.model.Status |
rollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback deploymentRollback) |
TailPrettyLoggable |
sinceSeconds(int seconds) |
TailPrettyLoggable |
sinceTime(String timestamp) |
PrettyLoggable |
tailingLines(int lines) |
TimeTailPrettyLoggable |
terminated() |
io.fabric8.kubernetes.api.model.apps.StatefulSet |
undo() |
BytesLimitTerminateTimeTailPrettyLoggable |
usingTimestamps() |
LogWatch |
watchLog(OutputStream out) |
Loggable |
withPrettyOutput() |
edit, getLog, inContainer, pause, resume, rolling, sendPatchedObject, updateImage, updateImage, watchLog, withLogWaitTimeout, withReadyWaitTimeout, withTimeout, withTimeoutInMillis
accept, edit, editStatus, handleReplace, modifyItemForReplaceOrPatch, patch, patch, patch, patch, patch, patchStatus, patchStatus, replace, replaceStatus, scale, scale, scale, update, update, updateStatus, waitUntilScaled
appendListOptionParams, create, createOr, createOrReplace, createOrReplace, delete, delete, delete, deleteAll, dryRun, dryRun, edit, fetchListUrl, fieldManager, fieldValidation, forceConflicts, forOperationType, fromServer, get, getApiEndpointPath, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getItemOrRequireFromServer, getKind, getLimit, getListType, getNonNullItem, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, getWatchReconnectInterval, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, inWriteContext, isReady, isResourceNamespaced, item, list, list, list, load, load, load, load, lockResourceVersion, lockResourceVersion, newResource, replace, replaceStatus, require, requireFromServer, resource, resources, runnableInformer, serverSideApply, setListType, setType, submitList, submitWatch, subresource, unlock, updateApiVersion, updateListItems, 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, withResourceVersion
create, getType
addNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getKubernetesSerialization, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getOperationContext, getRequestConfig, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrlParts, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRaw, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, waitForResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
pause, resume, withTimeout, withTimeoutInMillis
edit, updateImage, updateImage
cascading, isReady, item, lockResourceVersion, lockResourceVersion, require
scale, scale, scale, scale
fromServer
withResourceVersion
waitUntilCondition, waitUntilReady
createOr, editStatus, patchStatus, subresource, unlock
create, createOrReplace
replaceStatus, updateStatus
accept, edit, edit, patch, patch, patch, patch, patch, patch
create, createOrReplace, delete, patchStatus, updateStatus
withGracePeriod
withPropagationPolicy
replace, replaceStatus
fieldManager, forceConflicts, serverSideApply
fieldValidation
dryRun, dryRun
inform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimit
scale
getFullResourceName, getName, getNamespace
delete
withLabel, withoutLabel
public StatefulSetOperationsImpl(Client client)
public StatefulSetOperationsImpl(PodOperationContext 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(PodOperationContext context, OperationContext superContext)
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 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 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 Loggable
public InputStream getLogInputStream()
getLogInputStream
in interface Loggable
public LogWatch watchLog(OutputStream out)
public io.fabric8.kubernetes.api.model.apps.StatefulSet restart()
restart
in interface ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>
restart
in interface TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>
restart
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 undo()
undo
in interface ImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>
undo
in interface TimeoutImageEditReplacePatchable<io.fabric8.kubernetes.api.model.apps.StatefulSet>
undo
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>>
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>>
public TimeTailPrettyLoggable limitBytes(int limitBytes)
limitBytes
in interface BytesLimitTerminateTimeTailPrettyLoggable
public TimeTailPrettyLoggable terminated()
terminated
in interface BytesLimitTerminateTimeTailPrettyLoggable
public Loggable withPrettyOutput()
withPrettyOutput
in interface PrettyLoggable
public PrettyLoggable tailingLines(int lines)
tailingLines
in interface TailPrettyLoggable
public TailPrettyLoggable sinceTime(String timestamp)
sinceTime
in interface TimeTailPrettyLoggable
public TailPrettyLoggable sinceSeconds(int seconds)
sinceSeconds
in interface TimeTailPrettyLoggable
public BytesLimitTerminateTimeTailPrettyLoggable usingTimestamps()
usingTimestamps
in interface TimestampBytesLimitTerminateTimeTailPrettyLoggable
Copyright © 2015–2024 Red Hat. All rights reserved.