Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
C = new(Config)
)
View Source
var Metrics = cmap.New()
Functions ¶
func LabelAndKeyHasKey ¶ added in v5.4.0
func LabelAndKeyHasKey(keys []LabelAndKey, key string) bool
Types ¶
type AnonymousAccess ¶
type ClusterOptions ¶ added in v5.9.2
type Config ¶
type Config struct { RunMode string I18N string AdminRole string MetricsYamlFile string BuiltinAlertsDir string BuiltinDashboardsDir string ClustersFrom string ClustersFromAPIs []string ContactKeys []LabelAndKey NotifyChannels []LabelAndKey Log logx.Config HTTP httpx.Config JWTAuth JWTAuth BasicAuth gin.Accounts AnonymousAccess AnonymousAccess LDAP ldapx.LdapSection Redis storage.RedisConfig DB ormx.DBConfig Clusters []ClusterOptions Ibex Ibex OIDC oidcc.Config }
func (*Config) IsDebugMode ¶
type LabelAndKey ¶ added in v5.4.0
Click to show internal directories.
Click to hide internal directories.