Kube_testSourceDeterministic 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.
val config :
?server:Uri.t ->
?namespace:string ->
?credential:Kube.Config.credential ->
unit ->
Kube.Config.tBuild a network-independent client configuration.
val client :
?configuration:Kube.Config.t ->
?rate_limiter:Kube.Rate_limiter.t ->
?logger:Kube.Log.t ->
Transport.t ->
Kube.Client.tCreate a real client pipeline over a test transport.