com.pulumi.kubernetes.extensions.v1beta1.kotlin.outputs.SELinuxStrategyOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-kotlin Show documentation
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.extensions.v1beta1.kotlin.outputs
import com.pulumi.kubernetes.core.v1.kotlin.outputs.SELinuxOptions
import kotlin.String
import kotlin.Suppress
/**
* SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.
* @property rule rule is the strategy that will dictate the allowable labels that may be set.
* @property seLinuxOptions seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
*/
public data class SELinuxStrategyOptions(
public val rule: String,
public val seLinuxOptions: SELinuxOptions? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.extensions.v1beta1.outputs.SELinuxStrategyOptions): SELinuxStrategyOptions = SELinuxStrategyOptions(
rule = javaType.rule(),
seLinuxOptions = javaType.seLinuxOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.core.v1.kotlin.outputs.SELinuxOptions.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy