Svelixir.Config.Container.Sidecars (svelixir v0.11.0)

Copy Markdown

Sidecar containers to generate — the container.sidecars: block.

Each flag is the single source of truth for whether that sidecar is deployed. valkey and openbao are derived by Svelixir.Config.Otp from cache.backend and security.openbao; nginx is infra-only and has no corresponding Hex dependency, so it is set directly or not at all.

Summary

Functions

Reports whether any sidecar is enabled, and so needs a container runtime.

Builds this section, and any nested block, from input.

Types

t()

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

Functions

any?(sidecars)

@spec any?(t()) :: boolean()

Reports whether any sidecar is enabled, and so needs a container runtime.

new!(input \\ [])

@spec new!(keyword() | map()) :: t()

Builds this section, and any nested block, from input.

valid?(self)