Package io.fabric8.kubernetes.client
Interface PropagationPolicyConfigurable<T>
-
- All Superinterfaces:
Deletable,Timeoutable
- All Known Subinterfaces:
AnyNamespaceOperation<T,L,R>,CertificateSigningRequestResource<T>,DeletableWithOptions,ExtensibleResource<T>,FilterWatchListDeletable<T,L,R>,ItemWritableOperation<T>,ListVisitFromServerGetDeleteRecreateWaitApplicable<T>,ListVisitFromServerWritable<T>,MixedOperation<T,L,R>,NamespaceableResource<T>,NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<T>,NonDeletingOperation<T>,NonNamespaceOperation<T,L,R>,ParameterMixedOperation<T,L,R>,PodResource,Resource<T>,RollableScalableResource<T>,ScalableResource<T>,ServiceAccountResource,ServiceResource<T>,V1beta1CertificateSigningRequestResource<T>,WritableOperation<T>
- All Known Implementing Classes:
ExtensibleResourceAdapter,ResourceAdapter
public interface PropagationPolicyConfigurable<T> extends Deletable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TwithPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)Whether and how garbage collection will be performed.-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Deletable
delete, withTimeout, withTimeoutInMillis
-
-
-
-
Method Detail
-
withPropagationPolicy
T withPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)
Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both.The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
Acceptable values are:
'Orphan' - orphan the dependents;
'Background' - allow the garbage collector to delete the dependents in the background;
'Foreground' - a cascading policy that deletes all dependents in the foreground.- Parameters:
propagationPolicy- propagation policy in form of stringDeletionPropagation- Returns:
- resource
-
-