Documentation
¶
Overview ¶
Package experimental is the single platform gate for features hidden at launch.
Index ¶
Constants ¶
View Source
const EnvVar = "APP_EXPERIMENTAL"
EnvVar names the env var holding the comma separated enabled features.
Variables ¶
This section is empty.
Functions ¶
func DisabledMessage ¶
DisabledMessage is the operator-facing text for a gated surface.
func EnabledByEnv ¶
EnabledByEnv reports whether the environment alone switches f on.
func SetRuntime ¶
SetRuntime records the Settings choice for a toggleable feature. It never turns off a feature the environment enables.
func Toggleable ¶
Toggleable reports whether an operator may switch f on from Settings at runtime, on top of the environment.
Types ¶
type Feature ¶
type Feature string
Feature names a gated capability.
const ( // AIChat is the in-app AI assistant chat. AIChat Feature = "ai-chat" // AIModels is GPU model hosting. AIModels Feature = "ai-models" // LoadBalancer is multi-replica load balancing. LoadBalancer Feature = "load-balancer" // IaC is platform as code (plan, apply, export). IaC Feature = "iac" // CloudflareTunnel is the Cloudflare tunnel integration. CloudflareTunnel Feature = "cloudflare-tunnel" // AccessRoles is stored roles, the guest role and per-environment grants. AccessRoles Feature = "access-roles" // GlobalEnvironments is instance-wide typed environments and the environment switcher. GlobalEnvironments Feature = "global-environments" // AIControl is the Settings switch that governs agent and AI access. AIControl Feature = "ai-control" // ResourceAdvisor is the beta resource advisor: limit, tuning and idle suggestions. ResourceAdvisor Feature = "resource-advisor" // CLIConsole is the dashboard's web console for the platform CLI (never a host shell). CLIConsole Feature = "cli-console" // MobileAPI is phone pairing, device tokens and the mobile overview endpoint. MobileAPI Feature = "mobile-api" )
func ToggleableList ¶
func ToggleableList() []Feature
ToggleableList returns every feature Settings may switch, sorted.
Click to show internal directories.
Click to hide internal directories.