Skip to main content

event

Overview

Nameevent
TypeResource
Idk8s.core_v1.event

Fields

NameDatatypeDescription
sourceobjectEventSource contains information for an event.
apiVersionstringAPIVersion 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
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
eventTimestringMicroTime is version of Time with microsecond level precision.
firstTimestampstringTime is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
seriesobjectEventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.
involvedObjectobjectObjectReference contains enough information to let you inspect or modify the referred object.
kindstringKind 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
countintegerThe number of times this event has occurred.
reportingComponentstringName of the controller that emitted this Event, e.g. kubernetes.io/kubelet.
actionstringWhat action was taken/failed regarding to the Regarding object.
relatedobjectObjectReference contains enough information to let you inspect or modify the referred object.
lastTimestampstringTime is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
typestringType of this event (Normal, Warning), new types could be added in the future
messagestringA human-readable description of the status of this operation.
reportingInstancestringID of the controller instance, e.g. kubelet-xyzf.
reasonstringThis should be a short, machine understandable string that gives the reason for the transition into the object's current status.

Methods

NameAccessible byRequired ParamsDescription
listCoreV1EventForAllNamespacesSELECTlist or watch objects of kind Event
listCoreV1NamespacedEventSELECTnamespacelist or watch objects of kind Event
readCoreV1NamespacedEventSELECTname, namespaceread the specified Event
createCoreV1NamespacedEventINSERTnamespacecreate an Event
deleteCoreV1CollectionNamespacedEventDELETEnamespacedelete collection of Event
deleteCoreV1NamespacedEventDELETEname, namespacedelete an Event
patchCoreV1NamespacedEventEXECname, namespacepartially update the specified Event
replaceCoreV1NamespacedEventEXECname, namespacereplace the specified Event
watchCoreV1EventListForAllNamespacesEXECwatch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.
watchCoreV1NamespacedEventEXECname, namespacewatch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
watchCoreV1NamespacedEventListEXECnamespacewatch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.