Kazan v0.4.0 Kazan.Client View Source
Kazan.Client sends requests to a kubernetes server.
These requests should be built using the functions in the Kazan.Apis
module.
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
run(request, options \\ [])
View Source
run(Kazan.Request.t, Keyword.t) :: run_result
Makes a request against a kube server.
The server should be set in the kazan config or provided in the options.
Options
server
- AKazan.Server
struct that defines which server we should send this request to. This will override any server provided in the Application config.
Link to this function
run!(request, options \\ [])
View Source
run!(Kazan.Request.t, Keyword.t) :: struct | no_return
Like run/2
, but raises on Error. See run/2
for more details.