features

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL