All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cdk8s.Testing Maven / Gradle / Ivy

Go to download

This is the core library of Cloud Development Kit (CDK) for Kubernetes (cdk8s). cdk8s apps synthesize into standard Kubernetes manifests which can be applied to any Kubernetes cluster.

There is a newer version: 2.69.27
Show newest version
package org.cdk8s;

/**
 * Testing utilities for cdk8s applications.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-11-20T06:18:11.285Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.$Module.class, fqn = "cdk8s.Testing")
public class Testing extends software.amazon.jsii.JsiiObject {

    protected Testing(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected Testing(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * Returns an app for testing with the following properties: - Output directory is a temp dir.
     * 

* @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.App app(final @org.jetbrains.annotations.Nullable org.cdk8s.AppProps props) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.Testing.class, "app", software.amazon.jsii.NativeType.forClass(org.cdk8s.App.class), new Object[] { props }); } /** * Returns an app for testing with the following properties: - Output directory is a temp dir. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.App app() { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.Testing.class, "app", software.amazon.jsii.NativeType.forClass(org.cdk8s.App.class)); } /** * @return a Chart that can be used for tests */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.Chart chart() { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.Testing.class, "chart", software.amazon.jsii.NativeType.forClass(org.cdk8s.Chart.class)); } /** * Returns the Kubernetes manifest synthesized from this chart. *

* @param chart This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull java.util.List synth(final @org.jetbrains.annotations.NotNull org.cdk8s.Chart chart) { return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.Testing.class, "synth", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(chart, "chart is required") })); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy