Package io.fabric8.kubernetes.client
Interface GracePeriodConfigurable<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 GracePeriodConfigurable<T> extends Deletable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TwithGracePeriod(long gracePeriodSeconds)The duration in seconds before the object should be deleted.-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Deletable
delete, withTimeout, withTimeoutInMillis
-
-
-
-
Method Detail
-
withGracePeriod
T withGracePeriod(long gracePeriodSeconds)
The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.- Parameters:
gracePeriodSeconds- grace period integer value in seconds- Returns:
- the object for which grace period is configured
-
-