IoK8sApiCoreV1Event

Struct IoK8sApiCoreV1Event 

Source
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: IoK8sApiCoreV1ObjectReference

The 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: IoK8sApimachineryPkgApisMetaV1ObjectMeta

Standard 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.

§related: Option<IoK8sApiCoreV1ObjectReference>

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

Source§

fn clone(&self) -> IoK8sApiCoreV1Event

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IoK8sApiCoreV1Event

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IoK8sApiCoreV1Event

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<&IoK8sApiCoreV1Event> for IoK8sApiCoreV1Event

Source§

fn from(value: &IoK8sApiCoreV1Event) -> Self

Converts to this type from the input type.
Source§

impl Serialize for IoK8sApiCoreV1Event

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,