Documentation
¶
Overview ¶
Package features provides runtime feature detection for UI gating. The frontend queries GET /features to determine what to show/hide.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Features ¶
type Features struct {
CloudMode bool `json:"cloudMode"`
HasAuth bool `json:"hasAuth"`
HasCloudStore bool `json:"hasCloudStore"`
LoggedIn bool `json:"loggedIn"`
PlanName string `json:"plan"`
InstallMode string `json:"installMode"`
}
Features describes what capabilities are available at runtime.
func Detect ¶
func Detect(installState *config.InstallState) Features
Detect determines available features based on install state and registered providers.
Click to show internal directories.
Click to hide internal directories.