View Source K8s.Conn.Auth.AuthProvider (k8s v2.4.2)

auth-provider authentication support

Summary

Functions

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

Types

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

Functions

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

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