« lib/IO/K8s/PrometheusOperator/V1/RelabelConfig.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1/RemoteWriteSpec.pm »
| 1 | package IO::K8s::PrometheusOperator::V1::RemoteReadSpec; | ||
| 2 | # ABSTRACT: RemoteReadSpec defines the configuration for Prometheus to read back samples from a remote endpoint. | ||
| 3 | 2 | our $VERSION = '1.112'; | |
| 4 | 2 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | k8s authorization => '+IO::K8s::PrometheusOperator::V1::Authorization'; | |
| 7 | 2 | k8s basicAuth => '+IO::K8s::PrometheusOperator::V1::BasicAuth'; | |
| 8 | 2 | k8s bearerToken => Str; | |
| 9 | 2 | k8s bearerTokenFile => Str; | |
| 10 | 2 | k8s filterExternalLabels => Bool; | |
| 11 | 2 | k8s followRedirects => Bool; | |
| 12 | 2 | k8s headers => HashRef[Str]; | |
| 13 | 2 | k8s name => Str; | |
| 14 | 2 | k8s noProxy => Str; | |
| 15 | 2 | k8s oauth2 => '+IO::K8s::PrometheusOperator::V1::OAuth2'; | |
| 16 | 2 | k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]]; | |
| 17 | 2 | k8s proxyFromEnvironment => Bool; | |
| 18 | 2 | k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ }; | |
| 19 | 2 | k8s readRecent => Bool; | |
| 20 | 2 | k8s remoteTimeout => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ }; | |
| 21 | 2 | k8s requiredMatchers => HashRef[Str]; | |
| 22 | 2 | k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1::TLSConfig'; | |
| 23 | 2 | k8s url => Str, { required => 'schema', pattern => qr/^(http|https):\/\/.+$/ }; | |
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | 2 | 1; | |
| 44 | |||
| 45 | __END__ | ||