Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxMetadataValueStringLength is the maximum length of a metadata value. MaxMetadataValueStringLength = 5000 // MaxMetadataKeyLength is the maximum length of a metadata key. MaxMetadataKeyLength = 50 // MaxMetadataArrayLength is the maximum length of a metadata array. MaxMetadataArrayLength = 100 // MaxMetadataDepth is the maximum depth of nested metadata. MaxMetadataDepth = 10 // ExcludedMetadataCharactersPattern is the pattern of characters that are not allowed in metadata values. ExcludedMetadataCharactersPattern = "[\\$\\.\\[\\]]" // MaxKeyCount is the maximum number of metadata keys allowed for a run. MaxKeyCount = 1000 )
Variables ¶
This section is empty.
Functions ¶
func FlattenMetadata ¶
func FlattenMetadata( data map[string]any, ) (flatMetadata []model.RunMetadataIndex, err error)
FlattenMetadata flattens a nested map of run metadata into a list of RunMetadataIndex entries.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.