Package io.fabric8.kubernetes.client
Interface PropagationPolicyConfigurable<T>
-
- All Known Subinterfaces:
CascadingDeletable<T>
,CascadingEditReplacePatchDeletable<T>
,FilterWatchListDeletable<T,L>
,FilterWatchListMultiDeletable<T,L>
,ListVisitFromServerGetDeleteRecreateWaitApplicable<T>
,ListVisitFromServerWritable<T>
,MixedOperation<T,L,R>
,NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<T>
,NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicable<T>
,NonNamespaceOperation<T,L,R>
,Operation<T,L,R>
,ParameterMixedOperation<T,L,R>
,ParameterNamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<T>
,PodResource<T>
,Resource<T>
,RollableScalableResource<T>
,ScalableResource<T>
,ServiceResource<T>
,VisitFromServerGetWatchDeleteRecreateWaitApplicable<T>
,VisitFromServerWritable<T>
,WatchListDeletable<T,L>
,WritableOperation<T>
- All Known Implementing Classes:
APIServiceOperationsImpl
,BaseOperation
,BindingOperationsImpl
,CertificateSigningRequestOperationsImpl
,CertificateSigningRequestOperationsImpl
,ClusterRoleBindingOperationsImpl
,ClusterRoleOperationsImpl
,ComponentStatusOperationsImpl
,ConfigMapOperationsImpl
,ControllerRevisionOperationsImpl
,CronJobOperationsImpl
,CSIDriverOperationsImpl
,CSINodeOperationsImpl
,CustomResourceDefinitionOperationsImpl
,CustomResourceDefinitionOperationsImpl
,CustomResourceOperationsImpl
,DaemonSetOperationsImpl
,DaemonSetOperationsImpl
,DeploymentOperationsImpl
,DeploymentOperationsImpl
,EndpointSliceOperationsImpl
,EndpointsOperationsImpl
,EventOperationsImpl
,EventOperationsImpl
,EventOperationsImpl
,HasMetadataOperation
,HorizontalPodAutoscalerOperationsImpl
,HorizontalPodAutoscalerOperationsImpl
,HorizontalPodAutoscalerOperationsImpl
,IngressClassOperationsImpl
,IngressClassOperationsImpl
,IngressOperationsImpl
,IngressOperationsImpl
,IngressOperationsImpl
,JobOperationsImpl
,LeaseOperationsImpl
,LimitRangeOperationsImpl
,MutatingWebhookConfigurationOperationsImpl
,MutatingWebhookConfigurationOperationsImpl
,NamespaceOperationsImpl
,NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableImpl
,NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl
,NetworkPolicyOperationsImpl
,NetworkPolicyOperationsImpl
,NodeMetricsOperationsImpl
,NodeOperationsImpl
,PersistentVolumeClaimOperationsImpl
,PersistentVolumeOperationsImpl
,PodDisruptionBudgetOperationsImpl
,PodMetricsOperationsImpl
,PodOperationsImpl
,PodSecurityPolicyOperationsImpl
,PodTemplateOperationsImpl
,PriorityClassOperationsImpl
,PriorityClassOperationsImpl
,RawCustomResourceOperationsImpl
,ReplicaSetOperationsImpl
,ReplicaSetOperationsImpl
,ReplicationControllerOperationsImpl
,ResourceQuotaOperationsImpl
,RoleBindingOperationsImpl
,RoleOperationsImpl
,RollableScalableResourceOperation
,RuntimeClassOperationsImpl
,RuntimeClassOperationsImpl
,RuntimeClassOperationsImpl
,SecretOperationsImpl
,ServiceAccountOperationsImpl
,ServiceOperationsImpl
,SharedInformerFactory
,StatefulSetOperationsImpl
,StorageClassOperationsImpl
,ValidatingWebhookConfigurationOperationsImpl
,ValidatingWebhookConfigurationOperationsImpl
,VolumeAttachmentOperationsImpl
public interface PropagationPolicyConfigurable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
withPropagationPolicy(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)
Whether and how garbage collection will be performed.
-
-
-
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
-
-