com.pulumi.kubernetes.resource.v1alpha1.kotlin.outputs.PodSchedulingStatus.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.resource.v1alpha1.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* PodSchedulingStatus describes where resources for the Pod can be allocated.
* @property resourceClaims ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
*/
public data class PodSchedulingStatus(
public val resourceClaims: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha1.outputs.PodSchedulingStatus): PodSchedulingStatus = PodSchedulingStatus(
resourceClaims = javaType.resourceClaims().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.resource.v1alpha1.kotlin.outputs.ResourceClaimSchedulingStatus.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy