k8s v0.2.5 K8s.Behaviours.HTTPProvider behaviour
HTTP Request / Response provider behaviour
Link to this section Summary
Link to this section Callbacks
Link to this callback
handle_response(arg1)
handle_response(arg1)
handle_response(
{:ok, HTTPoison.Response.t() | HTTPoison.AsyncResponse.t()}
| {:error, HTTPoison.Error.t()}
) :: {:ok, map()} | {:ok, reference()} | {:error, binary()}
handle_response( {:ok, HTTPoison.Response.t() | HTTPoison.AsyncResponse.t()} | {:error, HTTPoison.Error.t()} ) :: {:ok, map()} | {:ok, reference()} | {:error, binary()}
Link to this callback
headers(arg1)
headers(arg1)
headers(K8s.Conf.RequestOptions.t()) :: [{binary(), binary()}]
headers(K8s.Conf.RequestOptions.t()) :: [{binary(), binary()}]
Link to this callback