EventArgs

data class EventArgs(val action: Output<String>? = null, val apiVersion: Output<String>? = null, val deprecatedCount: Output<Int>? = null, val deprecatedFirstTimestamp: Output<String>? = null, val deprecatedLastTimestamp: Output<String>? = null, val deprecatedSource: Output<EventSourceArgs>? = null, val eventTime: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val note: Output<String>? = null, val reason: Output<String>? = null, val regarding: Output<ObjectReferenceArgs>? = null, val related: Output<ObjectReferenceArgs>? = null, val reportingController: Output<String>? = null, val reportingInstance: Output<String>? = null, val series: Output<EventSeriesArgs>? = null, val type: Output<String>? = null) : ConvertibleToJava<EventArgs>

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. 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, deprecatedCount: Output<Int>? = null, deprecatedFirstTimestamp: Output<String>? = null, deprecatedLastTimestamp: Output<String>? = null, deprecatedSource: Output<EventSourceArgs>? = null, eventTime: Output<String>? = null, kind: Output<String>? = null, metadata: Output<ObjectMetaArgs>? = null, note: Output<String>? = null, reason: Output<String>? = null, regarding: Output<ObjectReferenceArgs>? = null, related: Output<ObjectReferenceArgs>? = null, reportingController: Output<String>? = null, reportingInstance: Output<String>? = null, series: Output<EventSeriesArgs>? = null, type: Output<String>? = null)

Properties

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

action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

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 deprecatedCount: Output<Int>? = null

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

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

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

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

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

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

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

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

eventTime is the time when this Event was first observed. It is required.

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 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 note: Output<String>? = null

note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

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

reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

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

regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

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

related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

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

reportingController is the name of the controller that emitted this Event, e.g. kubernetes.io/kubelet. This field cannot be empty for new Events.

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

reportingInstance is the ID of the controller instance, e.g. kubelet-xyzf. This field cannot be empty for new Events and it can have at most 128 characters.

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

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

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

type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.

Functions

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