Versions in this module Expand all Collapse all v0 v0.5.0 Jul 6, 2018 v0.4.0 Jun 21, 2018 Changes in this version + const EnvGrafanaDashboard + const EnvGrafanaDisplayLink + const EnvGrafanaService + const EnvGrafanaServiceNamespace + const EnvGrafanaURL + const EnvGrafanaVarServiceDest + const EnvGrafanaVarServiceSource + const EnvIdentityCertFile + const EnvIdentityPrivateKeyFile + const EnvInCluster + const EnvIstioIdentityDomain + const EnvIstioSidecarAnnotation + const EnvIstioUrlServiceVersion + const EnvJaegerService + const EnvJaegerServiceNamespace + const EnvJaegerURL + const EnvPrometheusServiceURL + const EnvServerAddress + const EnvServerCORSAllowAll + const EnvServerCredentialsPassword + const EnvServerCredentialsUsername + const EnvServerPort + const EnvServerStaticContentRootDirectory + const EnvServiceFilterLabelName + const EnvTokenExpirationAt + const EnvTokenSecret + const EnvVersionFilterLabelName + const IstioVersionSupported + func AuthenticationHandler(next http.Handler) http.Handler + func Marshal(conf *Config) (yamlString string, err error) + func SaveToFile(filename string, conf *Config) (err error) + func Set(conf *Config) + func ValidateToken(tokenString string) error + type Config struct + ExternalServices ExternalServices + Identity security.Identity + InCluster bool + Server Server + ServiceFilterLabelName string + Token Token + VersionFilterLabelName string + func Get() (conf *Config) + func LoadFromFile(filename string) (conf *Config, err error) + func NewConfig() (c *Config) + func Unmarshal(yamlString string) (conf *Config, err error) + func (conf Config) String() (str string) + type ExternalServices struct + Grafana GrafanaConfig + Istio IstioConfig + Jaeger JaegerConfig + PrometheusServiceURL string + type GrafanaConfig struct + Dashboard string + DisplayLink bool + Service string + ServiceNamespace string + URL string + VarServiceDest string + VarServiceSource string + type IstioConfig struct + IstioIdentityDomain string + IstioSidecarAnnotation string + UrlServiceVersion string + type JaegerConfig struct + Service string + ServiceNamespace string + URL string + type Server struct + Address string + CORSAllowAll bool + Credentials security.Credentials + Port int + StaticContentRootDirectory string + type Token struct + ExpirationAt int64 + Secret []byte + type TokenClaim struct + User string + type TokenGenerated struct + ExpiredAt string + Token string + func GenerateToken(username string) (TokenGenerated, error)