Documentation
¶
Index ¶
Constants ¶
View Source
const ( ParamDashboard = "dashboard" ParamName = "name" ParamProject = "project" APIPrefix = "/api" PathAuth = "auth" PathAuthProviders = "auth/providers" PathLogin = "login" PathCallback = "callback" PathLogout = "logout" PathRefresh = "refresh" PathDeviceCode = "device/code" PathToken = "token" AuthKindNative = "native" AuthKindOIDC = "oidc" AuthKindOAuth = "oauth" APIV1Prefix = "/api/v1" PathDashboard = "dashboards" PathDatasource = "datasources" PathEphemeralDashboard = "ephemeraldashboards" PathFolder = "folders" PathGlobalDatasource = "globaldatasources" PathGlobalRole = "globalroles" PathGlobalRoleBinding = "globalrolebindings" PathGlobalSecret = "globalsecrets" PathGlobalVariable = "globalvariables" PathProject = "projects" PathRole = "roles" PathRoleBinding = "rolebindings" PathSecret = "secrets" PathUnsaved = "unsaved" PathUser = "users" PathVariable = "variables" PathView = "view" ContextKeyAnonymous = "anonymous" )
View Source
const MetricNamespace = "perses"
Variables ¶
View Source
var ProjectResourcePathList = []string{ PathDashboard, PathDatasource, PathFolder, PathRole, PathRoleBinding, PathSecret, PathVariable, }
ProjectResourcePathList is containing the list of the resource path that is part of a project.
Functions ¶
func GetMetadataProject ¶
GetMetadataProject Retrieve project from entity metadata
func GetNameParameter ¶
func GetProjectParameter ¶
func IsAnonymous ¶ added in v0.52.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.