Event

com.coralogix.zio.k8s.model.core.v1.Event
See theEvent companion object
case class Event(action: Optional[String], count: Optional[Int], eventTime: Optional[MicroTime], firstTimestamp: Optional[Time], involvedObject: ObjectReference, lastTimestamp: Optional[Time], message: Optional[String], metadata: ObjectMeta, reason: Optional[String], related: Optional[ObjectReference], reportingComponent: Optional[String], reportingInstance: Optional[String], series: Optional[EventSeries], source: Optional[EventSource], `type`: Optional[String])

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.

Value parameters

action

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

count

The number of times this event has occurred.

message

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

reason

This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

reportingComponent

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

reportingInstance

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

type

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

The number of times this event has occurred.

The number of times this event has occurred.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets eventTime.

Gets eventTime.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets firstTimestamp.

Gets firstTimestamp.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets involvedObject.

Gets involvedObject.

This effect always succeeds, it is safe to use the field involvedObject directly.

Attributes

Gets lastTimestamp.

Gets lastTimestamp.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets metadata.

Gets metadata.

This effect always succeeds, it is safe to use the field metadata directly.

Attributes

This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

This should be a short, machine understandable string that gives the reason for the transition into the object's current status.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets related.

Gets related.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets series.

Gets series.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets source.

Gets source.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Inherited methods

def attachOwner(ownerName: String, ownerUid: String, ownerType: K8sResourceType, kind: String): T
Implicitly added by Ops

Attach another resource as the owner of this one

Attach another resource as the owner of this one

Value parameters

kind

Owner's resource kind

ownerName

Owner's name

ownerType

Owner's resource type metadata

ownerUid

Owner's UID

Attributes

Returns

Object with the attached owner described in its metadata

Inherited from:
K8sObjectOps
Implicitly added by Ops

Gets the geneation of the object or 0 if it is new

Gets the geneation of the object or 0 if it is new

Attributes

Inherited from:
K8sObjectOps
Implicitly added by Ops

Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Attributes

Inherited from:
K8sObjectOps
Implicitly added by Ops

Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Attributes

Inherited from:
K8sObjectOps
Implicitly added by Ops

Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present

Attributes

Inherited from:
K8sObjectOps
def isOwnedBy[OwnerT : ResourceMetadata](owner: OwnerT): Boolean
Implicitly added by Ops

Verifies ownership between the resources

Verifies ownership between the resources

Type parameters

OwnerT

Type of the owner resource

Value parameters

owner

Possible owner of this resource

Attributes

Returns

True if owner owns this resource

Inherited from:
K8sObjectOps
Implicitly added by Ops

Creates a new object with its metadata modified by the given function f

Creates a new object with its metadata modified by the given function f

Value parameters

f

Function to modify the object's metadata with

Attributes

Returns

Object with modified metadata

Inherited from:
K8sObjectOps
Implicitly added by Ops

Gets the metadata of the object

Gets the metadata of the object

Attributes

Inherited from:
K8sObjectOps

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def tryAttachOwner[OwnerT : ResourceMetadata](owner: OwnerT): IO[K8sFailure, T]
Implicitly added by Ops

Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.

Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.

Type parameters

OwnerT

Type of the owner

Value parameters

owner

Owner resource

Attributes

Returns

Object with the attached owner described in its metadata

Inherited from:
K8sObjectOps

Concrete fields

override protected val impl: K8sObject[Event]
Implicitly added by Ops
protected val obj: Event
Implicitly added by Ops