API Reference bonny v0.5.1
modules
Modules
Extend the Kubernetes API and implement CustomResourceDefinitions lifecycles in Elixir.
Represents the spec
portion of a Kubernetes CustomResourceDefinition manifest.
Operator configuration interface
Bonny.Controller
defines controller behaviours and generates boilerplate for generating Kubernetes manifests.
Naming functions
Encapsulates Kubernetes resource manifests for an operator
Register periodically run tasks. Use for running tasks as a part of reconciling a CRD with a lifetime, duration, or interval field.
Runs the given stream in a separate process. Prepare your stream and add this Runner to your supervision tree in order to control it (e.g. restart after the stream ends).
Creates a stream that, when run, streams a list of resources and calls reconcile/1
on the given controller for each resource in the stream in parallel.
Kubernetes custom scheduler interface. Built on top of Reconciler
.
Kubernetes binding interface.
Creates the stream for watching resources in kubernetes and prepares its processing.
Telemetry event defimitions for this library
Attaches telemetry events to the Elixir Logger
Telemetry event defimitions for this library
This is a goofy config, but it makes this work in dev w/o having to POST an Example CRD.
Mix task helpers
mix-tasks
Mix Tasks
Generates a new CRD controller
Generates a Dockerfile for this operator
Generates the Kubernetes YAML manifest for this operator