Class BaseOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation<T,T>
-
- io.fabric8.kubernetes.client.dsl.internal.BaseOperation<T,L,R>
-
- All Implemented Interfaces:
AnyNamespaceable<AnyNamespaceOperation<T,L,R>>,AnyNamespaceOperation<T,L,R>,CreateOrReplaceable<T>,CreateOrReplaceDeletable<T>,Deletable,DeletableWithOptions,DryRunable<WritableOperation<T>>,EditReplacePatchable<T>,FieldValidateable<NonDeletingOperation<T>>,Filterable<FilterWatchListDeletable<T,L,R>>,FilterWatchListDeletable<T,L,R>,Gettable<T>,Informable<T>,InOutCreateable<T,T>,ItemReplacable<T>,ItemWritableOperation<T>,Listable<L>,MetadataGettable,MetadataListable,MixedOperation<T,L,R>,Nameable<R>,Namespaceable<NonNamespaceOperation<T,L,R>>,NonDeletingOperation<T>,NonNamespaceOperation<T,L,R>,Replaceable<T>,ReplaceDeletable<T>,Resource<T>,Scalable<T>,ServerSideApplicable<T>,TableGettable,TableListable,Timeoutable,TimeoutableScalable<T>,Updatable<T>,Waitable<T,T>,Watchable<T>,WatchAndWaitable<T>,WritableOperation<T>,ExtensibleResource<T>,FromServerGettable<T>,GracePeriodConfigurable<PropagationPolicyConfigurable<? extends Deletable>>,ListerWatcher<T,L>,OperationInfo,PropagationPolicyConfigurable<GracePeriodConfigurable<? extends Deletable>>
- Direct Known Subclasses:
HasMetadataOperation
public class BaseOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>> extends CreateOnlyResourceOperation<T,T> implements OperationInfo, MixedOperation<T,L,R>, ExtensibleResource<T>, ListerWatcher<T,L>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.dsl.FieldValidateable
FieldValidateable.Validation
-
-
Field Summary
Fields Modifier and Type Field Description protected StringapiVersionprotected Class<L>listType-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation
type
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseOperation(OperationContext ctx)
-
Method Summary
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation
create, getType
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.AnyNamespaceOperation
delete
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.EditReplacePatchable
patch, patch
-
Methods inherited from interface io.fabric8.kubernetes.client.extension.ExtensibleResource
withTimeoutInMillis
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Filterable
withLabel, withoutLabel
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Informable
inform, inform
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemWritableOperation
create
-
Methods inherited from interface io.fabric8.kubernetes.client.informers.impl.ListerWatcher
getConfig
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.NonDeletingOperation
status
-
Methods inherited from interface io.fabric8.kubernetes.client.OperationInfo
getFullResourceName, getName, getNamespace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Watchable
streamingList
-
-
-
-
Field Detail
-
apiVersion
protected String apiVersion
-
listType
protected Class<L extends KubernetesResourceList<T>> listType
-
-
Constructor Detail
-
BaseOperation
protected BaseOperation(OperationContext ctx)
-
-
Method Detail
-
newInstance
public BaseOperation<T,L,R> newInstance(OperationContext context)
-
newResource
protected R newResource(OperationContext context)
-
fetchListUrl
protected URL fetchListUrl(URL url, ListOptions listOptions)
-
get
public T get()
- Specified by:
getin interfaceGettable<T extends HasMetadata>
-
require
public T require()
- Specified by:
requirein interfaceResource<T extends HasMetadata>
-
getItemOrRequireFromServer
public T getItemOrRequireFromServer()
Return the context item or retrieves the remote item- Returns:
-
requireFromServer
protected T requireFromServer()
Get the current item from the server
Will always return non-null or throw an exception.
Differs fromrequire()in that it does not throw aResourceNotFoundExceptionexception which for some reason is not aKubernetesClientException
-
edit
public T edit(UnaryOperator<T> function)
- Specified by:
editin interfaceEditReplacePatchable<T extends HasMetadata>
-
editStatus
public T editStatus(UnaryOperator<T> function)
- Specified by:
editStatusin interfaceNonDeletingOperation<T extends HasMetadata>
-
edit
public T edit(Visitor... visitors)
- Specified by:
editin interfaceEditReplacePatchable<T extends HasMetadata>
-
edit
public <V> T edit(Class<V> visitorType, Visitor<V> visitor)
- Specified by:
editin interfaceEditReplacePatchable<T extends HasMetadata>
-
accept
public T accept(Consumer<T> consumer)
- Specified by:
acceptin interfaceEditReplacePatchable<T extends HasMetadata>
-
withName
public R withName(String name)
- Specified by:
withNamein interfaceNameable<T extends HasMetadata>
-
lockResourceVersion
public ExtensibleResource<T> lockResourceVersion(String resourceVersion)
- Specified by:
lockResourceVersionin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
lockResourceVersionin interfaceResource<T extends HasMetadata>
-
inNamespace
public BaseOperation<T,L,R> inNamespace(String namespace)
- Specified by:
inNamespacein interfaceNamespaceable<T extends HasMetadata>
-
inAnyNamespace
public BaseOperation<T,L,R> inAnyNamespace()
- Specified by:
inAnyNamespacein interfaceAnyNamespaceable<T extends HasMetadata>
-
load
public R load(InputStream is)
- Specified by:
loadin interfaceAnyNamespaceOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
-
load
public R load(URL url)
- Specified by:
loadin interfaceAnyNamespaceOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
-
load
public R load(File file)
- Specified by:
loadin interfaceAnyNamespaceOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
-
load
public R load(String path)
- Specified by:
loadin interfaceAnyNamespaceOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
-
fromServer
public BaseOperation<T,L,R> fromServer()
- Specified by:
fromServerin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
fromServerin interfaceFromServerGettable<T extends HasMetadata>
-
createOrReplace
public final T createOrReplace()
- Specified by:
createOrReplacein interfaceCreateOrReplaceable<T extends HasMetadata>
-
createOr
public T createOr(Function<NonDeletingOperation<T>,T> conflictAction)
- Specified by:
createOrin interfaceNonDeletingOperation<T extends HasMetadata>
-
unlock
public ExtensibleResource<T> unlock()
- Specified by:
unlockin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
unlockin interfaceNonDeletingOperation<T extends HasMetadata>
-
withLabels
public FilterWatchListDeletable<T,L,R> withLabels(Map<String,String> labels)
- Specified by:
withLabelsin interfaceFilterable<T extends HasMetadata>
-
withLabelSelector
public FilterWatchListDeletable<T,L,R> withLabelSelector(LabelSelector selector)
- Specified by:
withLabelSelectorin interfaceFilterable<T extends HasMetadata>
-
withoutLabels
public FilterWatchListDeletable<T,L,R> withoutLabels(Map<String,String> labels)
- Specified by:
withoutLabelsin interfaceFilterable<T extends HasMetadata>
-
withLabelIn
public FilterWatchListDeletable<T,L,R> withLabelIn(String key, String... values)
- Specified by:
withLabelInin interfaceFilterable<T extends HasMetadata>
-
withLabelNotIn
public FilterWatchListDeletable<T,L,R> withLabelNotIn(String key, String... values)
- Specified by:
withLabelNotInin interfaceFilterable<T extends HasMetadata>
-
withLabel
public FilterWatchListDeletable<T,L,R> withLabel(String key, String value)
- Specified by:
withLabelin interfaceFilterable<T extends HasMetadata>
-
withoutLabel
public FilterWatchListDeletable<T,L,R> withoutLabel(String key, String value)
- Specified by:
withoutLabelin interfaceFilterable<T extends HasMetadata>
-
withLabelSelector
public FilterWatchListDeletable<T,L,R> withLabelSelector(String selectorAsString)
- Specified by:
withLabelSelectorin interfaceFilterable<T extends HasMetadata>
-
withFields
public FilterWatchListDeletable<T,L,R> withFields(Map<String,String> fields)
- Specified by:
withFieldsin interfaceFilterable<T extends HasMetadata>
-
withField
public FilterWatchListDeletable<T,L,R> withField(String key, String value)
- Specified by:
withFieldin interfaceFilterable<T extends HasMetadata>
-
withInvolvedObject
public FilterWatchListDeletable<T,L,R> withInvolvedObject(ObjectReference objectReference)
- Specified by:
withInvolvedObjectin interfaceFilterable<T extends HasMetadata>
-
withNewFilter
public FilterNested<FilterWatchListDeletable<T,L,R>> withNewFilter()
- Specified by:
withNewFilterin interfaceFilterWatchListDeletable<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
-
withoutFields
public FilterWatchListDeletable<T,L,R> withoutFields(Map<String,String> fields)
- Specified by:
withoutFieldsin interfaceFilterable<T extends HasMetadata>
-
withoutField
public FilterWatchListDeletable<T,L,R> withoutField(String key, String value)
- Specified by:
withoutFieldin interfaceFilterable<T extends HasMetadata>
-
getFieldQueryParam
public String getFieldQueryParam()
-
list
public L list()
- Specified by:
listin interfaceListable<T extends HasMetadata>
-
list
public L list(Integer limitVal, String continueVal)
- Specified by:
listin interfaceListable<T extends HasMetadata>
-
submitList
public CompletableFuture<L> submitList(ListOptions listOptions)
- Specified by:
submitListin interfaceListerWatcher<T extends HasMetadata,L extends KubernetesResourceList<T>>
-
list
public L list(ListOptions listOptions)
- Specified by:
listin interfaceListable<T extends HasMetadata>
-
listAsPartialObjectMetadata
public PartialObjectMetadataList listAsPartialObjectMetadata()
- Specified by:
listAsPartialObjectMetadatain interfaceMetadataListable
-
listAsPartialObjectMetadata
public PartialObjectMetadataList listAsPartialObjectMetadata(ListOptions listOptions)
- Specified by:
listAsPartialObjectMetadatain interfaceMetadataListable
-
getAsPartialObjectMetadata
public PartialObjectMetadata getAsPartialObjectMetadata()
- Specified by:
getAsPartialObjectMetadatain interfaceMetadataGettable
-
listAsTable
public Table listAsTable()
- Specified by:
listAsTablein interfaceTableListable
-
listAsTable
public Table listAsTable(ListOptions listOptions)
- Specified by:
listAsTablein interfaceTableListable
-
getAsTable
public Table getAsTable()
- Specified by:
getAsTablein interfaceTableGettable
-
delete
public List<StatusDetails> delete()
-
deleteAll
protected List<StatusDetails> deleteAll()
-
delete
public boolean delete(List<T> items)
- Specified by:
deletein interfaceAnyNamespaceOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
-
patchStatus
public T patchStatus(T item)
- Specified by:
patchStatusin interfaceItemWritableOperation<T extends HasMetadata>
-
patchStatus
public T patchStatus()
- Specified by:
patchStatusin interfaceNonDeletingOperation<T extends HasMetadata>
-
patch
public T patch()
- Specified by:
patchin interfaceEditReplacePatchable<T extends HasMetadata>
-
patch
public T patch(PatchContext patchContext)
- Specified by:
patchin interfaceEditReplacePatchable<T extends HasMetadata>
-
getNonNullItem
protected T getNonNullItem()
-
resource
public R resource(T item)
- Specified by:
resourcein interfaceAnyNamespaceOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
-
withResourceVersion
public BaseOperation<T,L,R> withResourceVersion(String resourceVersion)
- Specified by:
withResourceVersionin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
withResourceVersionin interfaceWatchAndWaitable<T extends HasMetadata>
-
watch
public Watch watch(Watcher<T> watcher)
- Specified by:
watchin interfaceWatchable<T extends HasMetadata>
-
watch
public Watch watch(String resourceVersion, Watcher<T> watcher)
- Specified by:
watchin interfaceWatchable<T extends HasMetadata>
-
watch
public Watch watch(ListOptions options, Watcher<T> watcher)
- Specified by:
watchin interfaceWatchable<T extends HasMetadata>
-
submitWatch
public CompletableFuture<AbstractWatchManager<T>> submitWatch(ListOptions options, Watcher<T> watcher)
- Specified by:
submitWatchin interfaceListerWatcher<T extends HasMetadata,L extends KubernetesResourceList<T>>
-
replace
public T replace()
- Specified by:
replacein interfaceUpdatable<T extends HasMetadata>
-
replaceStatus
public T replaceStatus()
- Specified by:
replaceStatusin interfaceReplaceable<T extends HasMetadata>
-
patch
public T patch(PatchContext patchContext, String patch)
- Specified by:
patchin interfaceEditReplacePatchable<T extends HasMetadata>
-
patch
public T patch(PatchContext patchContext, T item)
- Specified by:
patchin interfaceEditReplacePatchable<T extends HasMetadata>
-
isResourceNamespaced
public boolean isResourceNamespaced()
- Overrides:
isResourceNamespacedin classOperationSupport
-
handleResponse
protected T handleResponse(HttpRequest.Builder requestBuilder) throws InterruptedException, IOException
- Throws:
InterruptedExceptionIOException
-
handleCreate
protected T handleCreate(T resource) throws InterruptedException, IOException
- Overrides:
handleCreatein classCreateOnlyResourceOperation<T extends HasMetadata,T extends HasMetadata>- Throws:
InterruptedExceptionIOException
-
handleUpdate
protected T handleUpdate(T updated) throws InterruptedException, IOException
- Throws:
InterruptedExceptionIOException
-
handlePatch
protected T handlePatch(PatchContext context, T current, T updated) throws InterruptedException, IOException
- Throws:
InterruptedExceptionIOException
-
handleScale
public <S> S handleScale(S scaleParam, Class<S> scaleType)
-
handleDeploymentRollback
protected Status handleDeploymentRollback(io.fabric8.kubernetes.api.model.extensions.DeploymentRollback deploymentRollback)
-
handleGet
protected T handleGet(URL resourceUrl) throws IOException
- Throws:
IOException
-
item
public T item()
- Specified by:
itemin interfaceResource<T extends HasMetadata>
-
getItem
public final T getItem()
- Specified by:
getItemin interfaceExtensibleResource<T extends HasMetadata>
-
getResourceVersion
public String getResourceVersion()
-
getGracePeriodSeconds
public Long getGracePeriodSeconds()
-
getPropagationPolicy
public DeletionPropagation getPropagationPolicy()
-
getKind
public String getKind()
- Specified by:
getKindin interfaceOperationInfo
-
getGroup
public String getGroup()
- Specified by:
getGroupin interfaceOperationInfo
-
getPlural
public String getPlural()
- Specified by:
getPluralin interfaceOperationInfo
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceOperationInfo
-
getOperationType
public String getOperationType()
- Specified by:
getOperationTypein interfaceOperationInfo
-
forOperationType
public OperationInfo forOperationType(String type)
- Specified by:
forOperationTypein interfaceOperationInfo
-
withGracePeriod
public ExtensibleResource<T> withGracePeriod(long gracePeriodSeconds)
- Specified by:
withGracePeriodin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
withGracePeriodin interfaceGracePeriodConfigurable<T extends HasMetadata>
-
withPropagationPolicy
public ExtensibleResource<T> withPropagationPolicy(DeletionPropagation propagationPolicy)
- Specified by:
withPropagationPolicyin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
withPropagationPolicyin interfacePropagationPolicyConfigurable<T extends HasMetadata>
-
updateListItems
protected L updateListItems(L list)
Updates the list items if they have missing or default apiGroupVersion values and the resource is currently using API Groups with custom version strings, or if they are generic and lack a kind
-
updateApiVersion
protected void updateApiVersion(HasMetadata hasMetadata)
Updates the resource if it has missing or default apiGroupVersion values and the resource is currently using API Groups with custom version strings- Parameters:
hasMetadata- object whose api version needs to be updated
-
getReadiness
public Readiness getReadiness()
-
isReady
public final boolean isReady()
- Specified by:
isReadyin interfaceResource<T extends HasMetadata>
-
waitUntilReady
public T waitUntilReady(long amount, TimeUnit timeUnit)
- Specified by:
waitUntilReadyin interfaceWaitable<T extends HasMetadata,L extends KubernetesResourceList<T>>
-
waitUntilCondition
public T waitUntilCondition(Predicate<T> condition, long amount, TimeUnit timeUnit)
- Specified by:
waitUntilConditionin interfaceWaitable<T extends HasMetadata,L extends KubernetesResourceList<T>>
-
informOnCondition
public CompletableFuture<List<T>> informOnCondition(Predicate<List<T>> condition)
- Specified by:
informOnConditionin interfaceInformable<T extends HasMetadata>
-
dryRun
public ExtensibleResource<T> dryRun(boolean isDryRun)
- Specified by:
dryRunin interfaceAnyNamespaceOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>- Specified by:
dryRunin interfaceDryRunable<T extends HasMetadata>- Specified by:
dryRunin interfaceExtensibleResource<T extends HasMetadata>
-
fieldValidation
public ExtensibleResource<T> fieldValidation(FieldValidateable.Validation fieldValidation)
- Specified by:
fieldValidationin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
fieldValidationin interfaceFieldValidateable<T extends HasMetadata>
-
withIndexers
public ExtensibleResource<T> withIndexers(Map<String,Function<T,List<String>>> indexers)
- Specified by:
withIndexersin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
withIndexersin interfaceInformable<T extends HasMetadata>
-
withLimit
public BaseOperation<T,L,R> withLimit(Long limit)
- Specified by:
withLimitin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
withLimitin interfaceInformable<T extends HasMetadata>
-
getLimit
public Long getLimit()
- Specified by:
getLimitin interfaceListerWatcher<T extends HasMetadata,L extends KubernetesResourceList<T>>
-
inform
public SharedIndexInformer<T> inform(ResourceEventHandler<? super T> handler, long resync)
- Specified by:
informin interfaceInformable<T extends HasMetadata>
-
runnableInformer
public SharedIndexInformer<T> runnableInformer(long resync)
- Specified by:
runnableInformerin interfaceInformable<T extends HasMetadata>
-
appendListOptionParams
public URL appendListOptionParams(URL base, ListOptions listOptions)
-
inWriteContext
public <C extends Client> C inWriteContext(Class<C> clazz)
- Specified by:
inWriteContextin interfaceExtensibleResource<T extends HasMetadata>
-
getWatchReconnectInterval
public int getWatchReconnectInterval()
- Specified by:
getWatchReconnectIntervalin interfaceListerWatcher<T extends HasMetadata,L extends KubernetesResourceList<T>>
-
resources
public Stream<R> resources()
- Specified by:
resourcesin interfaceFilterWatchListDeletable<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>
-
createOrReplace
public T createOrReplace(T item)
- Specified by:
createOrReplacein interfaceItemWritableOperation<T extends HasMetadata>
-
replace
public T replace(T item)
- Specified by:
replacein interfaceItemReplacable<T extends HasMetadata>
-
replaceStatus
public T replaceStatus(T item)
- Specified by:
replaceStatusin interfaceItemReplacable<T extends HasMetadata>
-
delete
public List<StatusDetails> delete(T item)
- Specified by:
deletein interfaceItemWritableOperation<T extends HasMetadata>
-
dryRun
public ExtensibleResource<T> dryRun()
- Specified by:
dryRunin interfaceAnyNamespaceOperation<T extends HasMetadata,L extends KubernetesResourceList<T>,R extends Resource<T>>- Specified by:
dryRunin interfaceDryRunable<T extends HasMetadata>
-
lockResourceVersion
public ExtensibleResource<T> lockResourceVersion()
- Specified by:
lockResourceVersionin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
lockResourceVersionin interfaceResource<T extends HasMetadata>
-
updateStatus
public T updateStatus(T item)
- Specified by:
updateStatusin interfaceItemWritableOperation<T extends HasMetadata>
-
create
public T create()
- Specified by:
createin interfaceCreateOrReplaceable<T extends HasMetadata>
-
getApiEndpointPath
public String getApiEndpointPath()
- Specified by:
getApiEndpointPathin interfaceListerWatcher<T extends HasMetadata,L extends KubernetesResourceList<T>>
-
fieldManager
public ExtensibleResource<T> fieldManager(String manager)
- Specified by:
fieldManagerin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
fieldManagerin interfaceServerSideApplicable<T extends HasMetadata>
-
forceConflicts
public ExtensibleResource<T> forceConflicts()
- Specified by:
forceConflictsin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
forceConflictsin interfaceServerSideApplicable<T extends HasMetadata>
-
serverSideApply
public T serverSideApply()
- Specified by:
serverSideApplyin interfaceServerSideApplicable<T extends HasMetadata>
-
withTimeout
public ExtensibleResource<T> withTimeout(long timeout, TimeUnit unit)
- Specified by:
withTimeoutin interfaceCreateOrReplaceDeletable<T extends HasMetadata>- Specified by:
withTimeoutin interfaceDeletable- Specified by:
withTimeoutin interfaceExtensibleResource<T extends HasMetadata>- Specified by:
withTimeoutin interfaceTimeoutable- Specified by:
withTimeoutin interfaceTimeoutableScalable<T extends HasMetadata>
-
updateStatus
public T updateStatus()
- Specified by:
updateStatusin interfaceReplaceable<T extends HasMetadata>
-
update
public T update()
- Specified by:
updatein interfaceUpdatable<T extends HasMetadata>
-
scale
public T scale(int count)
- Specified by:
scalein interfaceExtensibleResource<T extends HasMetadata>- Specified by:
scalein interfaceScalable<T extends HasMetadata>- Specified by:
scalein interfaceTimeoutableScalable<T extends HasMetadata>
-
scale
public T scale(int count, boolean wait)
- Specified by:
scalein interfaceScalable<T extends HasMetadata>
-
scale
public io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale(io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale)
- Specified by:
scalein interfaceScalable<T extends HasMetadata>
-
subresource
public ExtensibleResource<T> subresource(String subresource)
- Specified by:
subresourcein interfaceExtensibleResource<T extends HasMetadata>- Specified by:
subresourcein interfaceNonDeletingOperation<T extends HasMetadata>
-
-