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.
Click to show internal directories.
Click to hide internal directories.