K8s.Conn.Auth.AuthProvider (k8s v1.0.0-rc1) View Source

auth-provider authentication support

Link to this section Summary

Functions

"Generate" a token using the auth-provider config in kube config.

Link to this section Types

Specs

t() :: %K8s.Conn.Auth.AuthProvider{
  cmd_args: [String.t()],
  cmd_path: String.t(),
  expiry_key: [String.t()],
  token_key: [String.t()]
}

Link to this section Functions

Specs

generate_token(t()) ::
  {:ok, binary()} | {:error, binary() | atom(), {:auth_provider_fail, binary()}}

"Generate" a token using the auth-provider config in kube config.