Interface PropagationPolicyConfigurable<T>

All Known Subinterfaces:
CascadingEditReplacePatchDeletable<I,​D,​T,​B>, ListVisitFromServerGetDeleteRecreateWaitApplicable<T,​B>, NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<T,​B>, NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicable<T,​B>, ParameterNamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<T,​B>, PodResource<T,​D>, Resource<T,​D>, RollableScalableResource<T,​D>, ScalableResource<T,​D>, ServiceResource<T,​D>, VisitFromServerGetWatchDeleteRecreateWaitApplicable<T,​B>
All Known Implementing Classes:
APIServiceOperationsImpl, BaseOperation, BindingOperationsImpl, CertificateSigningRequestOperationsImpl, ClusterRoleBindingOperationsImpl, ClusterRoleOperationsImpl, ComponentStatusOperationsImpl, ConfigMapOperationsImpl, ControllerRevisionOperationsImpl, CronJobOperationsImpl, CSIDriverOperationsImpl, CSINodeOperationsImpl, CustomResourceDefinitionOperationsImpl, CustomResourceOperationsImpl, DaemonSetOperationsImpl, DaemonSetOperationsImpl, DeploymentOperationsImpl, DeploymentOperationsImpl, EndpointSliceOperationsImpl, EndpointsOperationsImpl, EventOperationsImpl, EventOperationsImpl, HasMetadataOperation, HorizontalPodAutoscalerOperationsImpl, HorizontalPodAutoscalerOperationsImpl, HorizontalPodAutoscalerOperationsImpl, IngressOperationsImpl, IngressOperationsImpl, JobOperationsImpl, LeaseOperationsImpl, LimitRangeOperationsImpl, MutatingWebhookConfigurationOperationsImpl, MutatingWebhookConfigurationOperationsImpl, NamespaceOperationsImpl, NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableImpl, NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicableListImpl, NetworkPolicyOperationsImpl, NetworkPolicyOperationsImpl, NodeMetricsOperationsImpl, NodeOperationsImpl, PersistentVolumeClaimOperationsImpl, PersistentVolumeOperationsImpl, PodDisruptionBudgetOperationsImpl, PodMetricsOperationsImpl, PodOperationsImpl, PodPresetOperationsImpl, PodSecurityPolicyOperationsImpl, PodTemplateOperationsImpl, PriorityClassOperationsImpl, ReplicaSetOperationsImpl, ReplicaSetOperationsImpl, ReplicationControllerOperationsImpl, ResourceQuotaOperationsImpl, RoleBindingOperationsImpl, RoleOperationsImpl, RollableScalableResourceOperation, SecretOperationsImpl, ServiceAccountOperationsImpl, ServiceOperationsImpl, SharedInformerFactory, StatefulSetOperationsImpl, StorageClassOperationsImpl, ValidatingWebhookConfigurationOperationsImpl, ValidatingWebhookConfigurationOperationsImpl, VolumeAttachmentOperationsImpl

public interface PropagationPolicyConfigurable<T>
  • Method Summary

    Modifier and Type Method Description
    T withPropagationPolicy​(io.fabric8.kubernetes.api.model.DeletionPropagation propagationPolicy)
    Whether and how garbage collection will be performed.
  • Method Details

    • 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 string DeletionPropagation
      Returns:
      resource