API Reference PhoenixFlags v#0.9.0

Copy Markdown View Source

Modules

Database-backed, cached, cluster-aware system configuration for Phoenix.

Schema for flag change audit records.

Configuration struct for a PhoenixFlags instance.

Process-scoped attributes used to evaluate targeting rules.

Ecto schema for a system configuration entry.

Raised when PhoenixFlags encounters a configuration or validation error.

Struct defining a flag declaration.

Migrations for PhoenixFlags.

Provides a router macro for mounting the PhoenixFlags dashboard.

GenServer that manages the persistent_term cache and DB writes.

A targeting rule: force a flag's value when the request context matches.

One condition of a PhoenixFlags.Target: an attribute, an operator, and the values to compare against.

Test helpers for PhoenixFlags.

LiveView on_mount hook that injects the PhoenixFlags config module.

A weighted set of variants for an A/B test, and the assignment function.

Mix Tasks

Installs PhoenixFlags into your project.

Applies per-version upgrade steps for PhoenixFlags.