BeamConsole.ApplicationTreeConfig (beam_console v0.3.0)

Copy Markdown View Source

Validates deterministic application-category configuration.

Summary

Functions

Returns the supported deterministic category identifiers.

Loads :beam_console, :application_tree configuration and applies overrides.

Builds validated application-tree configuration or raises ArgumentError.

Types

category()

@type category() :: :host | :dependencies | :otp | :tooling

classifier()

@type classifier() :: {module(), atom(), [term()]} | nil

t()

@type t() :: %BeamConsole.ApplicationTreeConfig{
  application_categories: %{required(atom()) => category()},
  category_labels: %{required(category()) => String.t()},
  category_order: [category()],
  classify_application: classifier(),
  host_applications: [atom()]
}

Functions

categories()

@spec categories() :: [category()]

Returns the supported deterministic category identifiers.

load(overrides \\ [])

@spec load(keyword()) :: t()

Loads :beam_console, :application_tree configuration and applies overrides.

new!(options \\ [])

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

Builds validated application-tree configuration or raises ArgumentError.