Interface DryRunable<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T dryRun()
      Indicates that modifications should not be persisted.
      T dryRun​(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