HostKit.Env (host_kit v0.1.0-beta.1)

Copy Markdown View Source

Rendering for HostKit env files.

Summary

Functions

public_entries(env_file)

@spec public_entries(HostKit.Resources.EnvFile.t()) :: %{
  required(String.t()) => String.t()
}

public_entries_from_content(content, keys)

@spec public_entries_from_content(String.t(), [String.t()]) ::
  {:ok, map()} | {:error, term()}

render(env_file, opts \\ [])

@spec render(
  HostKit.Resources.EnvFile.t(),
  keyword()
) :: {:ok, String.t()} | {:error, term()}