k8s v0.3.2 API Reference

Modules

K8s

Kubernetes API Client for Elixir

An experimental k8s client.

HTTP Request / Response provider behaviour

Allows for registration of K8s.Client.Behaviour handlers per-process.

HTTPoison and Jason based K8s.Client.Behaviour

K8s.Client runner to process a batch of operations in parallel.

Base HTTP processor for K8s.Client

Takes a K8s.Client.list/3 operation and returns an Elixir Stream

:list K8s.Operation encapsulated with pagination and cluster details

Waiting functionality for K8s.Client.

K8s.Client runner that will watch a resource or resources and stream results back to a process.

Cluster configuration and API route store for K8s.Client

Interface for K8s.Cluster discovery.

K8s.Cluster.Discovery.Driver implementation that returns kubernetes API features from file

K8s.Cluster.Discovery.Driver implementation that makes calls to Kubernetes REST API. No caching is implemented in this driver and all calls will result in /api and /apis discovery

Kubernetes API Groups

Register resource definitions for K8s.Cluster

Handles authentication and connection configuration details for a Kubernetes cluster.

Authorization behaviour

auth-provider authentication support

Certificate based cluster authentication.

Token based cluster authentication

Retrieves information from certificates

Encapsulates HTTP request options for an authentication provider.

Add runtime cluster configuration with environment variables.

Encapsulates Kubernetes REST API operations.

Generates Kubernetes REST API Paths

Manifest attribute helpers

Helper functions for accessing common fields

Deserializers for CPU and Memory values

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

Attaches telemetry events to the Elixir Logger

Exceptions