featureset

package
v2.16.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 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. This package should not implement any logic itself, but only define constants that are set at build time.

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 CanUseEmbeddedMeasurmentsAndImage = canUseEmbeddedMeasurmentsAndImage

CanUseEmbeddedMeasurmentsAndImage returns whether the current build can use embedded measurements and can provide a node image.

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