View Source DeploymentEventLogController (bonny v0.5.1)

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.

@spec crd() :: Bonny.CRD.t()

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

@spec 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.

@spec start_link(term()) :: {:ok, pid()}
Link to this function

track_event(type, resource)

View Source