featureset

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

package featureset provides a way to check whether a feature is enabled in the current build.

Index

Constants

View Source
const CanFetchMeasurements = canFetchMeasurements

CanFetchMeasurements returns whether the current build can fetch measurements.

View Source
const CanUpgradeCheck = canUpgradeCheck

CanUpgradeCheck returns whether the current build can check for upgrades. This also includes fetching new measurements.

View Source
const CurrentEdition = edition

CurrentEdition is the edition of the current build.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edition

type Edition int

Edition is the edition of a build.

const (
	// EditionOSS is the open-source software edition.
	EditionOSS Edition = iota
	// EditionEnterprise is the enterprise edition.
	EditionEnterprise
)

Jump to

Keyboard shortcuts

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