View Source K8s.Conn.RequestOptions protocol (k8s v2.6.1)

Encapsulates HTTP request options for an authentication provider.

Summary

Types

generate/1 response type

t()

HTTP Request options

Types

@type generate_t() :: {:ok, t()} | {:error, K8s.Conn.Error.t() | atom()}

generate/1 response type

@type t() :: %K8s.Conn.RequestOptions{headers: keyword(), ssl_options: keyword()}

HTTP Request options

Functions

@spec generate(any()) :: generate_t()