View Source mix bonny.gen.controller (bonny v1.4.0)

Generates a new CRD controller

An operator can have multiple controllers. Each controller handles the lifecycle of a custom resource.

mix bonny.gen.controller

Open up your controller and add functionality for your resources lifecycle:

  • Add
  • Modify
  • Delete
  • Reconcile

If you selected to add a CRD, also edit the generated CRD version module.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

@spec run([binary()]) :: Keyword.t()

Callback implementation for Mix.Task.run/1.