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

io.burkard.cdk.services.eks.HelmChartProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.eks

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object HelmChartProps {

  def apply(
    cluster: software.amazon.awscdk.services.eks.ICluster,
    createNamespace: Option[Boolean] = None,
    repository: Option[String] = None,
    chartAsset: Option[software.amazon.awscdk.services.s3.assets.Asset] = None,
    version: Option[String] = None,
    chart: Option[String] = None,
    values: Option[Map[String, _]] = None,
    release: Option[String] = None,
    timeout: Option[software.amazon.awscdk.Duration] = None,
    namespace: Option[String] = None
  ): software.amazon.awscdk.services.eks.HelmChartProps =
    (new software.amazon.awscdk.services.eks.HelmChartProps.Builder)
      .cluster(cluster)
      .createNamespace(createNamespace.map(Boolean.box).orNull)
      .repository(repository.orNull)
      .chartAsset(chartAsset.orNull)
      .version(version.orNull)
      .chart(chart.orNull)
      .values(values.map(_.asJava).orNull)
      .release(release.orNull)
      .timeout(timeout.orNull)
      .namespace(namespace.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy