datakinds

package
v7.10.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package datakinds contains the implementations of ldstoretypes.DataKind for flags and segments.

These have their own package because they are used in many places and therefore need to be in a package that doesn't have other things with other dependencies, to avoid cyclic references.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllDataKinds

func AllDataKinds() []ldstoretypes.DataKind

AllDataKinds returns all the supported data StoreDataKinds.

Types

type DataKindInternal

type DataKindInternal interface {
	ldstoretypes.DataKind
	DeserializeFromJSONReader(reader *jreader.Reader) (ldstoretypes.ItemDescriptor, error)
}

DataKindInternal is implemented along with DataKind to provide more efficient jsonstream-based deserialization for our built-in data kinds.

var Features DataKindInternal = featureFlagStoreDataKind{} //nolint:gochecknoglobals

Features is the global StoreDataKind instance for feature flags.

var Segments DataKindInternal = segmentStoreDataKind{} //nolint:gochecknoglobals

Segments is the global StoreDataKind instance for segments.

Jump to

Keyboard shortcuts

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