Capstone.Config.Container.Sidecars (Capstone v0.33.3)

Copy Markdown View Source

The container: [sidecars: ...] sub-section of target.exs. Every key is optional and defaults to false.

Summary

Functions

Builds a t/0 from the raw sidecars: keyword list, prefixing every error path with path.

Types

t()

@type t() :: %Capstone.Config.Container.Sidecars{
  nginx: boolean(),
  openbao: boolean(),
  valkey: boolean()
}

Functions

from_keyword(fields, path)

@spec from_keyword(
  keyword(),
  Capstone.Config.path()
) :: {:ok, t()} | {:error, [Capstone.Config.error()]}

Builds a t/0 from the raw sidecars: keyword list, prefixing every error path with path.