« lib/IO/K8s/PrometheusOperator/V1/PersistentVolumeClaimTemplate.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1/PodMonitor.pm »
| 1 | package IO::K8s::PrometheusOperator::V1::PodMetricsEndpoint; | ||
| 2 | # ABSTRACT: PodMetricsEndpoint defines an endpoint serving Prometheus metrics to be scraped by Prometheus. | ||
| 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::SafeAuthorization'; | |
| 7 | 2 | k8s basicAuth => '+IO::K8s::PrometheusOperator::V1::BasicAuth'; | |
| 8 | 2 | k8s bearerTokenSecret => 'Core::V1::ConfigMapKeySelector'; | |
| 9 | 2 | k8s enableHttp2 => Bool; | |
| 10 | 2 | k8s filterRunning => Bool; | |
| 11 | 2 | k8s followRedirects => Bool; | |
| 12 | 2 | k8s honorLabels => Bool; | |
| 13 | 2 | k8s honorTimestamps => Bool; | |
| 14 | 2 | k8s interval => 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)?)$/ }; | |
| 15 | 2 | k8s metricRelabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig']; | |
| 16 | 2 | k8s noProxy => Str; | |
| 17 | 2 | k8s oauth2 => '+IO::K8s::PrometheusOperator::V1::OAuth2'; | |
| 18 | 2 | k8s params => HashRef[ArrayRef[Str]]; | |
| 19 | 2 | k8s path => Str; | |
| 20 | 2 | k8s port => Str; | |
| 21 | 2 | k8s portNumber => Int, { minimum => 1, maximum => 65535 }; | |
| 22 | 2 | k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]]; | |
| 23 | 2 | k8s proxyFromEnvironment => Bool; | |
| 24 | 2 | k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ }; | |
| 25 | 2 | k8s relabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig']; | |
| 26 | 2 | k8s scheme => Str, { enum => [qw(http https HTTP HTTPS)] }; | |
| 27 | 2 | k8s scrapeTimeout => 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)?)$/ }; | |
| 28 | 2 | k8s targetPort => IntOrStr; | |
| 29 | 2 | k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1::SafeTLSConfig'; | |
| 30 | 2 | k8s trackTimestampsStaleness => Bool; | |
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | |||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | 2 | 1; | |
| 58 | |||
| 59 | __END__ | ||