Skip to main content

event

Overview

Nameevent
TypeResource
Idk8s.core_v1.event

Fields

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

Methods

NameAccessible byRequired ParamsDescription
listCoreV1EventForAllNamespacesSELECTcluster_addr, protocollist or watch objects of kind Event
listCoreV1NamespacedEventSELECTnamespace, cluster_addr, protocollist or watch objects of kind Event
readCoreV1NamespacedEventSELECTname, namespace, cluster_addr, protocolread the specified Event
createCoreV1NamespacedEventINSERTnamespace, cluster_addr, protocolcreate an Event
deleteCoreV1CollectionNamespacedEventDELETEnamespace, cluster_addr, protocoldelete collection of Event
deleteCoreV1NamespacedEventDELETEname, namespace, cluster_addr, protocoldelete an Event
patchCoreV1NamespacedEventEXECname, namespace, cluster_addr, protocolpartially update the specified Event
replaceCoreV1NamespacedEventEXECname, namespace, cluster_addr, protocolreplace the specified Event
watchCoreV1EventListForAllNamespacesEXECcluster_addr, protocolwatch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.
watchCoreV1NamespacedEventEXECname, namespace, cluster_addr, protocolwatch 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.
watchCoreV1NamespacedEventListEXECnamespace, cluster_addr, protocolwatch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.