K8s.Client.Provider behaviour (k8s v1.0.0-rc1) View Source
HTTP Request / Response provider behaviour
Link to this section Summary
Link to this section Types
Link to this section Callbacks
Specs
handle_response(
{:ok, HTTPoison.Response.t() | HTTPoison.AsyncResponse.t()}
| {:error, HTTPoison.Error.t()}
) :: response_t()
Handle HTTP Responses
Specs
headers(atom(), K8s.Conn.RequestOptions.t()) :: [{binary(), binary()}]
Generate headers for HTTP Requests
Specs
Perform HTTP Requests