Documentation
¶
Index ¶
- Variables
- func GetValueFromSecretKey(ctx context.Context, ref *v1.SecretKeySelector, c client.Client, ...) ([]byte, error)
- func InjectAuthHeaders(ctx context.Context, c client.Client, grafana *v1beta1.Grafana, ...) error
- func NewGeneratedGrafanaClient(ctx context.Context, c client.Client, grafana *v1beta1.Grafana) (*genapi.GrafanaHTTPAPI, error)
- func NewHTTPClient(ctx context.Context, c client.Client, grafana *v1beta1.Grafana) (*http.Client, error)
- func NewInstrumentedRoundTripper(useProxy bool, tlsConfig *tls.Config, metrics ...*prometheus.CounterVec) http.RoundTripper
- func ParseAdminURL(adminURL string) (*url.URL, error)
- type RoundTripperOnResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultTLSConfiguration = &tls.Config{MinVersion: tls.VersionTLS12} InsecureTLSConfiguration = &tls.Config{MinVersion: tls.VersionTLS12, InsecureSkipVerify: true} // #nosec G402 - Linter disabled because InsecureSkipVerify is the wanted behavior for this variable )
Functions ¶
func GetValueFromSecretKey ¶ added in v5.13.0
func InjectAuthHeaders ¶ added in v5.10.0
func NewGeneratedGrafanaClient ¶ added in v5.7.0
func NewHTTPClient ¶ added in v5.9.0
func NewInstrumentedRoundTripper ¶
func NewInstrumentedRoundTripper(useProxy bool, tlsConfig *tls.Config, metrics ...*prometheus.CounterVec) http.RoundTripper
Types ¶
type RoundTripperOnResponse ¶ added in v5.17.0
Click to show internal directories.
Click to hide internal directories.