bonny v0.4.1 API Reference

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.

Continuously reconciles a set of kubernetes resources.

Kubernetes custom scheduler interface. Built on top of Reconciler.

Kubernetes binding interface.

Continuously watch a list Operation for add, modify, and delete events.

Get the resourceVersion for a K8s.Operation

Buffers streaming responses from HTTPoison and returns kubernetes watch events as JSON

State of the Watcher

Bonny.Sys.Event is a thin wrapper around :telemetry.

Attaches telemetry events to the Elixir Logger

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

Controller reconciler implementation

Controller watcher implementation

Mix task helpers

Mix Tasks

Generates a new CRD controller

Generates a Dockerfile for this operator

Generates the Kubernetes YAML manifest for this operator