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

Functions

Makes a request against a kube server

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

Link to this section Types

Link to this type run_result() View Source
run_result() :: {:ok, struct} | {:error, term}

Link to this section Functions

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.
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.