Package org.cdk8s
Class App
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.App
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-25T00:19:39.488Z") @Stability(Stable) public class App extends software.constructs.Construct
Represents a cdk8s application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
App.Builder
A fluent builder forApp
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Chart>
getCharts()
Returns all the charts in this app, sorted topologically.String
getOutdir()
The output directory into which manifests will be synthesized.String
getOutputFileExtension()
The file extension to use for rendered YAML files.YamlOutputType
getYamlOutputType()
How to divide the YAML output into files.void
synth()
Synthesizes all manifests to the output directory.Object
synthYaml()
Synthesizes the app into a YAML string.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
App
protected App(software.amazon.jsii.JsiiObjectRef objRef)
-
App
protected App(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
App
@Stability(Stable) public App(@Nullable AppProps props)
Defines an app.- Parameters:
props
- configuration options.
-
App
@Stability(Stable) public App()
Defines an app.
-
-
Method Detail
-
synth
@Stability(Stable) public void synth()
Synthesizes all manifests to the output directory.
-
synthYaml
@Stability(Stable) @NotNull public Object synthYaml()
Synthesizes the app into a YAML string.- Returns:
- A string with all YAML objects across all charts in this app.
-
getCharts
@Stability(Stable) @NotNull public List<Chart> getCharts()
Returns all the charts in this app, sorted topologically.
-
getOutdir
@Stability(Stable) @NotNull public String getOutdir()
The output directory into which manifests will be synthesized.
-
getOutputFileExtension
@Stability(Stable) @NotNull public String getOutputFileExtension()
The file extension to use for rendered YAML files.Default: .k8s.yaml
-
getYamlOutputType
@Stability(Stable) @NotNull public YamlOutputType getYamlOutputType()
How to divide the YAML output into files.Default: YamlOutputType.FILE_PER_CHART
-
-