Package io.fabric8.kubernetes.client.dsl
Interface DryRunable<T>
-
- All Known Subinterfaces:
CertificateSigningRequestResource<T>,ExtensibleResource<T>,ListVisitFromServerGetDeleteRecreateWaitApplicable<T>,NamespaceableResource<T>,NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<T>,PodResource,Resource<T>,RollableScalableResource<T>,ScalableResource<T>,ServiceAccountResource,ServiceResource<T>,V1beta1CertificateSigningRequestResource<T>
- All Known Implementing Classes:
ExtensibleResourceAdapter,ResourceAdapter
public interface DryRunable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TdryRun()Indicates that modifications should not be persisted.TdryRun(boolean isDryRun)Indicates whether modifications should not be persisted or not.
-
-
-
Method Detail
-
dryRun
T dryRun()
Indicates that modifications should not be persisted. All dry run stages will be processed. the request is still processed as typical request: the fields are defaulted, the object is validated, it goes through the validation admission chain, and through the mutating admission chain, and then the final object is returned to the user as it normally would, without being persisted.- Returns:
- write operations which are applicable for dry run
-
dryRun
T dryRun(boolean isDryRun)
Indicates whether modifications should not be persisted or not. If enabled, All dry run stages will be processed. the request is still processed as typical request: the fields are defaulted, the object is validated, it goes through the validation admission chain, and through the mutating admission chain, and then the final object is returned to the user as it normally would, without being persisted.- Parameters:
isDryRun- whether dry run is enabled or disabled- Returns:
- write operations which are applicable for dry run
-
-