grafana/pkg/infra/grn/doc.go
2023-10-30 17:08:46 -04:00

14 lines
449 B
Go

// package GRN provides utilities for working with Grafana Resource Names
// (GRNs).
// A GRN is an identifier which encodes all data necessary to retrieve a given
// resource from its respective service.
// A GRN string is expressed in the format:
//
// grn:${tenant_id}:${group}/${kind}/${id}
//
// The format of the final id is defined by the owning service and not
// validated by the GRN parser. Prefer using UIDs where possible.
package grn