UNPKG

cdk8s

Version:

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.

22 lines (21 loc) 563 B
import { App, AppProps } from './app'; import { Chart } from './chart'; /** * Testing utilities for cdk8s applications. */ export declare class Testing { /** * Returns an app for testing with the following properties: * - Output directory is a temp dir. */ static app(props?: AppProps): App; /** * @returns a Chart that can be used for tests */ static chart(): Chart; /** * Returns the Kubernetes manifest synthesized from this chart. */ static synth(chart: Chart): any[]; private constructor(); }