K8s/Folders: Warn against using full path in metadata (#94829)

This commit is contained in:
Ryan McKinley
2024-10-17 14:32:39 +03:00
committed by GitHub
parent 4e93b0f467
commit 8b9bb2acf6
2 changed files with 22 additions and 5 deletions
+7
View File
@@ -106,9 +106,16 @@ type GrafanaMetaAccessor interface {
// NOTE the type must match the existing value, or an error will be thrown
SetStatus(any) error
// Deprecated: this is a temporary hack for folders, it will be removed without notice soon
GetFullPath() string
// Deprecated: this is a temporary hack for folders, it will be removed without notice soon
SetFullPath(path string)
// Deprecated: this is a temporary hack for folders, it will be removed without notice soon
GetFullPathUIDs() string
// Deprecated: this is a temporary hack for folders, it will be removed without notice soon
SetFullPathUIDs(path string)
// Find a title in the object