extconfig

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// These constants are used for external services auth (Prometheus, Grafana ...) ; not for Kiali auth
	AuthTypeBasic  = "basic"
	AuthTypeBearer = "bearer"
	AuthTypeNone   = "none"
)

The valid auth strategies and values for cookie handling

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Type               string `yaml:"type"`
	Username           string `yaml:"username"`
	Password           string `yaml:"password"`
	Token              string `yaml:"token"`
	CAFile             string `yaml:"ca_file"`
	InsecureSkipVerify bool   `yaml:"insecure_skip_verify"`
}

Auth provides authentication data for external services

type GrafanaConfig

type GrafanaConfig struct {
	URL          string `yaml:"url"`
	InClusterURL string `yaml:"in_cluster_url"`
	Auth         Auth   `yaml:"auth"`
}

GrafanaConfig describes configuration of the Grafana component

type PrometheusConfig

type PrometheusConfig struct {
	URL  string `yaml:"url"`
	Auth Auth   `yaml:"auth"`
}

PrometheusConfig describes configuration of the Prometheus component

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL