View Source K8s.Conn.Auth.AuthProvider (k8s v1.1.5)

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

@type 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

@spec generate_token(t()) :: {:ok, binary()} | {:error, :enoent | K8s.Conn.Error.t()}

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