« lib/IO/K8s/PrometheusOperator/V1alpha1/K8SSelectorConfig.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1alpha1/KumaSDConfig.pm »
| 1 | package IO::K8s::PrometheusOperator::V1alpha1::KubernetesSDConfig; | ||
| 2 | # ABSTRACT: KubernetesSDConfig allows retrieving scrape targets from Kubernetes' REST API. | ||
| 3 | 2 | our $VERSION = '1.112'; | |
| 4 | 2 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | k8s apiServer => Str; | |
| 7 | 2 | k8s attachMetadata => '+IO::K8s::PrometheusOperator::V1alpha1::AttachMetadata'; | |
| 8 | 2 | k8s authorization => '+IO::K8s::PrometheusOperator::V1alpha1::SafeAuthorization'; | |
| 9 | 2 | k8s basicAuth => '+IO::K8s::PrometheusOperator::V1alpha1::BasicAuth'; | |
| 10 | 2 | k8s enableHTTP2 => Bool; | |
| 11 | 2 | k8s followRedirects => Bool; | |
| 12 | 2 | k8s namespaces => '+IO::K8s::PrometheusOperator::V1alpha1::NamespaceDiscovery'; | |
| 13 | 2 | k8s noProxy => Str; | |
| 14 | 2 | k8s oauth2 => '+IO::K8s::PrometheusOperator::V1alpha1::OAuth2'; | |
| 15 | 2 | k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]]; | |
| 16 | 2 | k8s proxyFromEnvironment => Bool; | |
| 17 | 2 | k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ }; | |
| 18 | 2 | k8s role => Str, { required => 'schema', enum => [qw(Pod Endpoints Ingress Service Node EndpointSlice)] }; | |
| 19 | 2 | k8s selectors => ['+IO::K8s::PrometheusOperator::V1alpha1::K8SSelectorConfig']; | |
| 20 | 2 | k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1alpha1::SafeTLSConfig'; | |
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | 2 | 1; | |
| 38 | |||
| 39 | __END__ | ||