package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?type_:string -> ?source:Kubernetes.Definitions.Api.Core.V1.Event_source.t -> ?series:Kubernetes.Definitions.Api.Core.V1.Event_series.t -> ?reporting_instance:string -> ?reporting_component:string -> ?related:Kubernetes.Definitions.Api.Core.V1.Object_reference.t -> ?reason:string -> metadata:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Object_meta.t -> ?message:string -> ?last_timestamp:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Time.t -> ?kind:string -> involved_object:Kubernetes.Definitions.Api.Core.V1.Object_reference.t -> ?first_timestamp:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Time.t -> ?event_time:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Micro_time.t -> ?count:int -> ?api_version:string -> ?action:string -> unit -> t
val action : t -> string option

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

val api_version : t -> string option

Api_version 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

val count : t -> int option

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 Type_meta.)

The object that this event is about.

val kind : t -> string option

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

val message : t -> string option

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

val reason : t -> string option

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.

val reporting_component : t -> string option

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

val reporting_instance : t -> string option

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.

val type_ : t -> string option

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

module Object : Object.S with type value := t