public abstract class RollableScalableResourceOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList,D extends io.fabric8.kubernetes.api.model.Doneable<T>,R extends Resource<T,D>> extends HasMetadataOperation<T,L,D,R> implements RollableScalableResource<T,D>
apiVersion, doneableType, listType, reaper, type
apiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER
POLL_INTERVAL_MS
Constructor and Description |
---|
RollableScalableResourceOperation(RollingOperationContext context) |
Modifier and Type | Method and Description |
---|---|
D |
edit() |
T |
patch(T t) |
T |
replace(T t) |
T |
scale(int count) |
T |
scale(int count,
boolean wait) |
periodicWatchUntilReady, waitUntilReady
cascading, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, forOperationType, fromServer, get, getApiVersion, getConfigType, getDoneableType, getFieldQueryParam, getFields, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, 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, newInstance, require, setReaping, updateApiVersion, updateApiVersion, updateApiVersionResource, waitUntilCondition, waitUntilExists, watch, watch, withField, withFields, withGracePeriod, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutLabel, withoutLabel, withoutLabels, withResourceVersion
assertResponseCode, 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, unmarshal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createOrReplace, createOrReplaceWithNew
create, createNew
fromServer
withGracePeriod
lockResourceVersion
withResourceVersion
waitUntilCondition, waitUntilReady
require
getName, getNamespace
public RollableScalableResourceOperation(RollingOperationContext context)
public T scale(int count)
public T scale(int count, boolean wait)
public D edit()
edit
in interface Editable<D extends io.fabric8.kubernetes.api.model.Doneable<T>>
edit
in class HasMetadataOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList,D extends io.fabric8.kubernetes.api.model.Doneable<T>,R extends Resource<T,D>>
public T replace(T t)
replace
in interface Replaceable<T extends io.fabric8.kubernetes.api.model.HasMetadata,T extends io.fabric8.kubernetes.api.model.HasMetadata>
replace
in class HasMetadataOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList,D extends io.fabric8.kubernetes.api.model.Doneable<T>,R extends Resource<T,D>>
public T patch(T t)
patch
in interface Patchable<T extends io.fabric8.kubernetes.api.model.HasMetadata,T extends io.fabric8.kubernetes.api.model.HasMetadata>
patch
in class HasMetadataOperation<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList,D extends io.fabric8.kubernetes.api.model.Doneable<T>,R extends Resource<T,D>>
Copyright © 2015–2019 Red Hat. All rights reserved.