EventArgs

data class EventArgs(val action: Output<String>? = null, val apiVersion: Output<String>? = null, val count: Output<Int>? = null, val eventTime: Output<String>? = null, val firstTimestamp: Output<String>? = null, val involvedObject: Output<ObjectReferenceArgs>? = null, val kind: Output<String>? = null, val lastTimestamp: Output<String>? = null, val message: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val reason: Output<String>? = null, val related: Output<ObjectReferenceArgs>? = null, val reportingComponent: Output<String>? = null, val reportingInstance: Output<String>? = null, val series: Output<EventSeriesArgs>? = null, val source: Output<EventSourceArgs>? = null, val type: Output<String>? = null) : ConvertibleToJava<EventArgs>

Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.

Constructors

Link copied to clipboard
constructor(action: Output<String>? = null, apiVersion: Output<String>? = null, count: Output<Int>? = null, eventTime: Output<String>? = null, firstTimestamp: Output<String>? = null, involvedObject: Output<ObjectReferenceArgs>? = null, kind: Output<String>? = null, lastTimestamp: Output<String>? = null, message: Output<String>? = null, metadata: Output<ObjectMetaArgs>? = null, reason: Output<String>? = null, related: Output<ObjectReferenceArgs>? = null, reportingComponent: Output<String>? = null, reportingInstance: Output<String>? = null, series: Output<EventSeriesArgs>? = null, source: Output<EventSourceArgs>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val action: Output<String>? = null

What action was taken/failed regarding to the Regarding object.

Link copied to clipboard
val apiVersion: Output<String>? = null

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

Link copied to clipboard
val count: Output<Int>? = null

The number of times this event has occurred.

Link copied to clipboard
val eventTime: Output<String>? = null

Time when this Event was first observed.

Link copied to clipboard
val firstTimestamp: Output<String>? = null

The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)

Link copied to clipboard
val involvedObject: Output<ObjectReferenceArgs>? = null

The object that this event is about.

Link copied to clipboard
val kind: Output<String>? = null

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Link copied to clipboard
val lastTimestamp: Output<String>? = null

The time at which the most recent occurrence of this event was recorded.

Link copied to clipboard
val message: Output<String>? = null

A human-readable description of the status of this operation.

Link copied to clipboard
val metadata: Output<ObjectMetaArgs>? = null

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

Link copied to clipboard
val reason: Output<String>? = null

This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

Link copied to clipboard
val related: Output<ObjectReferenceArgs>? = null

Optional secondary object for more complex actions.

Link copied to clipboard
val reportingComponent: Output<String>? = null

Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.

Link copied to clipboard
val reportingInstance: Output<String>? = null

ID of the controller instance, e.g. kubelet-xyzf.

Link copied to clipboard
val series: Output<EventSeriesArgs>? = null

Data about the Event series this event represents or nil if it's a singleton Event.

Link copied to clipboard
val source: Output<EventSourceArgs>? = null

The component reporting this event. Should be a short machine understandable string.

Link copied to clipboard
val type: Output<String>? = null

Type of this event (Normal, Warning), new types could be added in the future

Functions

Link copied to clipboard
open override fun toJava(): EventArgs