Kazan v0.2.0 Kazan.Client

Kazan.Client sends requests to a kubernetes server.

These requests should be built using the functions in the Kazan.Apis module.

Summary

Functions

Makes a request against a kube server

Like run/2, but raises on Error. See run/2 for more details

Types

run_result()
run_result() :: {:ok, struct} | {:error, term}

Functions

run(request, options \\ [])

Makes a request against a kube server.

The server should be set in the kazan config or provided in the options.

Options

  • server - A Kazan.Server struct that defines which server we should send this request to. This will override any server provided in the Application config.
run!(request, options \\ [])
run!(Kazan.Request.t, Keyword.t) :: struct | no_return

Like run/2, but raises on Error. See run/2 for more details.