MCPcopy
hub / github.com/grafana/tempo / Validate

Method Validate

modules/overrides/extension.go:21–21  ·  view source on GitHub ↗

Validate validates the extension config after it has been decoded. Validate must be idempotent.

()

Source from the content-addressed store, hash-verified

19 RegisterFlagsAndApplyDefaults(prefix string, f *flag.FlagSet)
20 // Validate validates the extension config after it has been decoded. Validate must be idempotent.
21 Validate() error
22 // LegacyKeys returns the flat-key names used in the legacy overrides format.
23 // Return an empty slice if there are no legacy keys.
24 LegacyKeys() []string

Callers 15

TestConfigValidationFunction · 0.65
NewProviderFunction · 0.65
TestConfig_validateFunction · 0.65
getDedicatedColumnsMethod · 0.65
NewFunction · 0.65
NewFunction · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
NewFunction · 0.65
ValidateMethod · 0.65
NewFunction · 0.65
NewManagerFunction · 0.65

Implementers 2

testExtensionmodules/overrides/extension_test.go
conflictingExtensionmodules/overrides/extension_test.go

Calls

no outgoing calls

Tested by 4

TestConfigValidationFunction · 0.52
TestConfig_validateFunction · 0.52
Test_overridesValidatorFunction · 0.52