package kube

  1. Overview
  2. Docs
Native OCaml Kubernetes client and controller runtime

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.3.tar.gz
md5=3c6916dea849fb2842c4a2e8a92b6cdd
sha512=b57daa3bb4879e1f33efc157cf5c648f88455e0f7c87484d572096d46345d6a8081cc7cefb4887aa95507af8daf73b3b8570b8583106953a5ba96a874159ff00

doc/kube.test/Kube_test/index.html

Module Kube_testSource

Deterministic test support for clients and controllers.

This library exercises the real Kube.Client request pipeline while replacing only the final network exchange. It is intended for unit tests; integration tests should still use a real Kubernetes API server.

Sourcemodule Transport : sig ... end
Sourceval config : ?server:Uri.t -> ?namespace:string -> ?credential:Kube.Config.credential -> unit -> Kube.Config.t

Build a network-independent client configuration.

Sourceval client : ?configuration:Kube.Config.t -> ?rate_limiter:Kube.Rate_limiter.t -> ?logger:Kube.Log.t -> Transport.t -> Kube.Client.t

Create a real client pipeline over a test transport.