package kube

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.