DeploymentEventLogController (bonny v0.4.4) View Source

This is a goofy config, but it makes this work in dev w/o having to POST an Example CRD.

This controller simply logs lifecycle events on Deployments.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the Bonny.CRD.t() the controller manages the lifecycle of.

A list of RBAC rules that this controller needs to operate.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

crd() :: %Bonny.CRD{
  additional_printer_columns: term(),
  group: term(),
  names: term(),
  scope: term(),
  version: term()
}

Returns the Bonny.CRD.t() the controller manages the lifecycle of.

Specs

list_operation() :: K8s.Operation.t()

Specs

rules() :: [map()]

A list of RBAC rules that this controller needs to operate.

This list will be serialized into the operator manifest when using mix bonny.gen.manifest.

Link to this function

track_event(type, resource)

View Source