T - The resource type.public interface Resource<T> extends FromServerGettable<T>, WatchAndWaitable<T>, WritableOperation<T>, DryRunable<WritableOperation<T>>, Informable<T>
| Modifier and Type | Method and Description |
|---|---|
default GracePeriodConfigurable<? extends Deletable> |
cascading(boolean enabled)
Deprecated.
Please Use
PropagationPolicyConfigurable.withPropagationPolicy(DeletionPropagation) instead. This field has been
deprecated since 1.7. |
boolean |
isReady()
Check if the resource is ready.
|
ReplaceDeletable<T> |
lockResourceVersion() |
ReplaceDeletable<T> |
lockResourceVersion(String resourceVersion) |
T |
require() |
fromServerwithResourceVersionwaitUntilCondition, waitUntilReadycreate, createOrReplaceaccept, edit, edit, edit, editStatus, patch, patch, patch, patch, patch, patch, patchStatusreplace, replaceStatuscreate, createOrReplace, delete, patchStatus, updateStatuswithGracePeriodwithPropagationPolicyreplace, replaceStatusdryRun, dryRuninform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimit@Deprecated default GracePeriodConfigurable<? extends Deletable> cascading(boolean enabled)
PropagationPolicyConfigurable.withPropagationPolicy(DeletionPropagation) instead. This field has been
deprecated since 1.7.enabled - whether dependents should be orphaned or not.boolean isReady()
T require() throws ResourceNotFoundException
KubernetesClientException - if an error occursResourceNotFoundException - if resource is absentReplaceDeletable<T> lockResourceVersion()
ReplaceDeletable<T> lockResourceVersion(String resourceVersion)
Copyright © 2015–2022 Red Hat. All rights reserved.