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

com.pulumi.kubernetes.kotlin.inputs.HelmReleaseSettingsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kubernetes.inputs.HelmReleaseSettingsArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Options to configure the Helm Release resource.
 * @property driver The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
 * @property pluginsPath The path to the helm plugins directory.
 * @property registryConfigPath The path to the registry config file.
 * @property repositoryCache The path to the directory containing cached repository indexes.
 * @property repositoryConfigPath The path to the file containing repository names and URLs.
 */
public data class HelmReleaseSettingsArgs(
    public val driver: Output? = null,
    public val pluginsPath: Output? = null,
    public val registryConfigPath: Output? = null,
    public val repositoryCache: Output? = null,
    public val repositoryConfigPath: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.kubernetes.inputs.HelmReleaseSettingsArgs =
        com.pulumi.kubernetes.inputs.HelmReleaseSettingsArgs.builder()
            .driver(driver?.applyValue({ args0 -> args0 }))
            .pluginsPath(pluginsPath?.applyValue({ args0 -> args0 }))
            .registryConfigPath(registryConfigPath?.applyValue({ args0 -> args0 }))
            .repositoryCache(repositoryCache?.applyValue({ args0 -> args0 }))
            .repositoryConfigPath(repositoryConfigPath?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [HelmReleaseSettingsArgs].
 */
@PulumiTagMarker
public class HelmReleaseSettingsArgsBuilder internal constructor() {
    private var driver: Output? = null

    private var pluginsPath: Output? = null

    private var registryConfigPath: Output? = null

    private var repositoryCache: Output? = null

    private var repositoryConfigPath: Output? = null

    /**
     * @param value The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
     */
    @JvmName("bbleawoxjekshuvm")
    public suspend fun driver(`value`: Output) {
        this.driver = value
    }

    /**
     * @param value The path to the helm plugins directory.
     */
    @JvmName("kxufhacqclenqcvg")
    public suspend fun pluginsPath(`value`: Output) {
        this.pluginsPath = value
    }

    /**
     * @param value The path to the registry config file.
     */
    @JvmName("skqllybxtroqqool")
    public suspend fun registryConfigPath(`value`: Output) {
        this.registryConfigPath = value
    }

    /**
     * @param value The path to the directory containing cached repository indexes.
     */
    @JvmName("lggadkjfdhgmupft")
    public suspend fun repositoryCache(`value`: Output) {
        this.repositoryCache = value
    }

    /**
     * @param value The path to the file containing repository names and URLs.
     */
    @JvmName("yvwqavqlgmlfjfhl")
    public suspend fun repositoryConfigPath(`value`: Output) {
        this.repositoryConfigPath = value
    }

    /**
     * @param value The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
     */
    @JvmName("bdwjimahyyfdkjem")
    public suspend fun driver(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.driver = mapped
    }

    /**
     * @param value The path to the helm plugins directory.
     */
    @JvmName("spupwpbiesgpojxm")
    public suspend fun pluginsPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pluginsPath = mapped
    }

    /**
     * @param value The path to the registry config file.
     */
    @JvmName("ewxsgnsmdldysxpu")
    public suspend fun registryConfigPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.registryConfigPath = mapped
    }

    /**
     * @param value The path to the directory containing cached repository indexes.
     */
    @JvmName("xfjenrrueebtkhco")
    public suspend fun repositoryCache(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.repositoryCache = mapped
    }

    /**
     * @param value The path to the file containing repository names and URLs.
     */
    @JvmName("ymfkvqlfqllfemjx")
    public suspend fun repositoryConfigPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.repositoryConfigPath = mapped
    }

    internal fun build(): HelmReleaseSettingsArgs = HelmReleaseSettingsArgs(
        driver = driver,
        pluginsPath = pluginsPath,
        registryConfigPath = registryConfigPath,
        repositoryCache = repositoryCache,
        repositoryConfigPath = repositoryConfigPath,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy