com.pulumi.kubernetes.events.v1.kotlin.outputs.EventSeries.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.events.v1.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.
* @property count count is the number of occurrences in this series up to the last heartbeat time.
* @property lastObservedTime lastObservedTime is the time when last Event from the series was seen before last heartbeat.
*/
public data class EventSeries(
public val count: Int,
public val lastObservedTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.events.v1.outputs.EventSeries): EventSeries = EventSeries(
count = javaType.count(),
lastObservedTime = javaType.lastObservedTime(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy