View Source Bonny.EventRecorder (bonny v1.4.0)

Records kubernetes events regarding objects controlled by this operator.

Summary

Types

A map to identify an event.

Functions

Returns a specification to start this module under a supervisor.

Types

@type event_key() :: %{
  action: binary(),
  reason: binary(),
  reporting_controller: binary(),
  regarding: binary(),
  related: binary()
}

A map to identify an event.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

emit(event, operator, conn)

View Source

Create a kubernetes event in the cluster. Documentation: https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/

@spec start_link(Keyword.t()) :: Agent.on_start()