pub struct IoK8sApiCoreV1Event {Show 17 fields
pub action: Option<String>,
pub api_version: Option<String>,
pub count: Option<i64>,
pub event_time: Option<IoK8sApimachineryPkgApisMetaV1MicroTime>,
pub first_timestamp: Option<IoK8sApimachineryPkgApisMetaV1Time>,
pub involved_object: IoK8sApiCoreV1ObjectReference,
pub kind: Option<String>,
pub last_timestamp: Option<IoK8sApimachineryPkgApisMetaV1Time>,
pub message: Option<String>,
pub metadata: IoK8sApimachineryPkgApisMetaV1ObjectMeta,
pub reason: Option<String>,
pub related: Option<IoK8sApiCoreV1ObjectReference>,
pub reporting_component: Option<String>,
pub reporting_instance: Option<String>,
pub series: Option<IoK8sApiCoreV1EventSeries>,
pub source: Option<IoK8sApiCoreV1EventSource>,
pub type_: Option<String>,
}Expand description
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.
Fields§
§action: Option<String>What action was taken/failed regarding to the Regarding object.
api_version: Option<String>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
count: Option<i64>The number of times this event has occurred.
event_time: Option<IoK8sApimachineryPkgApisMetaV1MicroTime>Time when this Event was first observed.
first_timestamp: Option<IoK8sApimachineryPkgApisMetaV1Time>The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
involved_object: IoK8sApiCoreV1ObjectReferenceThe object that this event is about.
kind: Option<String>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
last_timestamp: Option<IoK8sApimachineryPkgApisMetaV1Time>The time at which the most recent occurrence of this event was recorded.
message: Option<String>A human-readable description of the status of this operation.
metadata: IoK8sApimachineryPkgApisMetaV1ObjectMetaStandard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
reason: Option<String>This should be a short, machine understandable string that gives the reason for the transition into the object’s current status.
Optional secondary object for more complex actions.
reporting_component: Option<String>Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.
reporting_instance: Option<String>ID of the controller instance, e.g. kubelet-xyzf.
series: Option<IoK8sApiCoreV1EventSeries>Data about the Event series this event represents or nil if it’s a singleton Event.
source: Option<IoK8sApiCoreV1EventSource>The component reporting this event. Should be a short machine understandable string.
type_: Option<String>Type of this event (Normal, Warning), new types could be added in the future
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1Event
impl Clone for IoK8sApiCoreV1Event
Source§fn clone(&self) -> IoK8sApiCoreV1Event
fn clone(&self) -> IoK8sApiCoreV1Event
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more