Capstone.Config.Container (Capstone v0.33.3)

Copy Markdown View Source

The container: section of target.exs.

local_ci is the one field in this whole section family that defaults to true rather than false — every sidecar, and every boolean in Security, defaults off; local CI defaults on.

Summary

Functions

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

Types

t()

@type t() :: %Capstone.Config.Container{
  local_ci: boolean(),
  sidecars: Capstone.Config.Container.Sidecars.t()
}

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 container: keyword list, prefixing every error path with path.