Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 3.29 KB

File metadata and controls

44 lines (37 loc) · 3.29 KB

CoreV1Event

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.

Properties

Name Type Description Notes
action str What action was taken/failed regarding to the Regarding object. [optional]
api_version str 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 [optional]
count int The number of times this event has occurred. [optional]
event_time datetime Time when this Event was first observed. [optional]
first_timestamp datetime The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) [optional]
involved_object V1ObjectReference
kind str 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 [optional]
last_timestamp datetime The time at which the most recent occurrence of this event was recorded. [optional]
message str A human-readable description of the status of this operation. [optional]
metadata V1ObjectMeta
reason str This should be a short, machine understandable string that gives the reason for the transition into the object's current status. [optional]
related V1ObjectReference [optional]
reporting_component str Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. [optional]
reporting_instance str ID of the controller instance, e.g. `kubelet-xyzf`. [optional]
series CoreV1EventSeries [optional]
source V1EventSource [optional]
type str Type of this event (Normal, Warning), new types could be added in the future [optional]

Example

from kubernetes.client.models.core_v1_event import CoreV1Event

# TODO update the JSON string below
json = "{}"
# create an instance of CoreV1Event from a JSON string
core_v1_event_instance = CoreV1Event.from_json(json)
# print the JSON string representation of the object
print(CoreV1Event.to_json())

# convert the object into a dict
core_v1_event_dict = core_v1_event_instance.to_dict()
# create an instance of CoreV1Event from a dict
core_v1_event_from_dict = CoreV1Event.from_dict(core_v1_event_dict)

[Back to Model list] [Back to API list] [Back to README]