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.

There is a newer version: 4.18.2.0
Show 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("gdemaxxlssslxmio")
    public suspend fun driver(`value`: Output) {
        this.driver = value
    }

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

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

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

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

    /**
     * @param value The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
     */
    @JvmName("eruxoxmrateslxxq")
    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("yuyfhlvarlkgyotq")
    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("dqcexysmxcyqqqah")
    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("luhurdpkuajmupxq")
    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("ghdouoklpobmqxyg")
    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