Package org.cdk8s

Class Testing

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.75.0 (build 63bb957)",
               date="2023-02-21T21:08:22.740Z")
    @Stability(Stable)
    public class Testing
    extends software.amazon.jsii.JsiiObject
    Testing utilities for cdk8s applications.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Testing​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected Testing​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static App app()
      Returns an app for testing with the following properties: - Output directory is a temp dir.
      static App app​(AppProps props)
      Returns an app for testing with the following properties: - Output directory is a temp dir.
      static Chart chart()  
      static List<Object> synth​(Chart chart)
      Returns the Kubernetes manifest synthesized from this chart.
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Constructor Detail

      • Testing

        protected Testing​(software.amazon.jsii.JsiiObjectRef objRef)
      • Testing

        protected Testing​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Method Detail

      • app

        @Stability(Stable)
        @NotNull
        public static App app​(@Nullable
                              AppProps props)
        Returns an app for testing with the following properties: - Output directory is a temp dir.

        Parameters:
        props -
      • app

        @Stability(Stable)
        @NotNull
        public static App app()
        Returns an app for testing with the following properties: - Output directory is a temp dir.
      • chart

        @Stability(Stable)
        @NotNull
        public static Chart chart()
        Returns:
        a Chart that can be used for tests
      • synth

        @Stability(Stable)
        @NotNull
        public static List<Object> synth​(@NotNull
                                         Chart chart)
        Returns the Kubernetes manifest synthesized from this chart.

        Parameters:
        chart - This parameter is required.