mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 03:11:01 -06:00
14 lines
449 B
Go
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
|