Struct k8s_openapi::v1_9::api::core::v1::Event[][src]

pub struct Event {
    pub action: Option<String>,
    pub api_version: Option<String>,
    pub count: Option<i32>,
    pub event_time: Option<MicroTime>,
    pub first_timestamp: Option<Time>,
    pub involved_object: ObjectReference,
    pub kind: Option<String>,
    pub last_timestamp: Option<Time>,
    pub message: Option<String>,
    pub metadata: ObjectMeta,
    pub reason: Option<String>,
    pub related: Option<ObjectReference>,
    pub reporting_component: Option<String>,
    pub reporting_instance: Option<String>,
    pub series: Option<EventSeries>,
    pub source: Option<EventSource>,
    pub type_: Option<String>,
}

Event is a report of an event somewhere in the cluster.

Fields

What action was taken/failed regarding to the Regarding object.

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/api-conventions.md#resources

The number of times this event has occurred.

Time when this Event was first observed.

The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)

The object that this event is about.

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/api-conventions.md#types-kinds

The time at which the most recent occurrence of this event was recorded.

A human-readable description of the status of this operation.

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

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.

Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.

ID of the controller instance, e.g. kubelet-xyzf.

Data about the Event series this event represents or nil if it's a singleton Event.

The component reporting this event. Should be a short machine understandable string.

Type of this event (Normal, Warning), new types could be added in the future

Methods

impl Event
[src]

create an Event

Use CreateCoreV1NamespacedEventResponse to parse the HTTP response.

impl Event
[src]

delete collection of Event

Use DeleteCoreV1CollectionNamespacedEventResponse to parse the HTTP response.

impl Event
[src]

delete an Event

Use DeleteCoreV1NamespacedEventResponse to parse the HTTP response.

impl Event
[src]

list or watch objects of kind Event

Use ListCoreV1EventForAllNamespacesResponse to parse the HTTP response.

impl Event
[src]

list or watch objects of kind Event

Use ListCoreV1NamespacedEventResponse to parse the HTTP response.

impl Event
[src]

partially update the specified Event

Use PatchCoreV1NamespacedEventResponse to parse the HTTP response.

impl Event
[src]

read the specified Event

Use ReadCoreV1NamespacedEventResponse to parse the HTTP response.

impl Event
[src]

replace the specified Event

Use ReplaceCoreV1NamespacedEventResponse to parse the HTTP response.

impl Event
[src]

watch individual changes to a list of Event

Use WatchCoreV1EventListForAllNamespacesResponse to parse the HTTP response.

impl Event
[src]

watch changes to an object of kind Event

Use WatchCoreV1NamespacedEventResponse to parse the HTTP response.

impl Event
[src]

watch individual changes to a list of Event

Use WatchCoreV1NamespacedEventListResponse to parse the HTTP response.

Trait Implementations

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

Formats the value using the given formatter. Read more

impl Default for Event
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Event
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for Event
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Event
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Event

impl Sync for Event