blib/lib/IO/K8s/PrometheusOperator/V1alpha1/OAuth2.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/PrometheusOperator/V1alpha1/NomadSDConfig.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1alpha1/OVHCloudSDConfig.pm »
1 package IO::K8s::PrometheusOperator::V1alpha1::OAuth2;
2 # ABSTRACT: oauth2 defines the optional OAuth 2.0 configuration to authenticate against the target HTTP endpoint.
3 7 our $VERSION = '1.111';
4 7 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 k8s clientId => '+IO::K8s::PrometheusOperator::V1alpha1::SecretOrConfigMap', { required => 'schema' };
7 7 k8s clientSecret => 'Core::V1::ConfigMapKeySelector', { required => 'schema' };
8 7 k8s endpointParams => HashRef[Str];
9 7 k8s noProxy => Str;
10 7 k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]];
11 7 k8s proxyFromEnvironment => Bool;
12 7 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
13 7 k8s scopes => [Str];
14 7 k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1alpha1::SafeTLSConfig';
15 7 k8s tokenUrl => Str, { required => 'schema', pattern => qr/^(http|https):\/\/.+$/ };
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27 7 1;
28  
29 __END__
« blib/lib/IO/K8s/PrometheusOperator/V1alpha1/NomadSDConfig.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1alpha1/OVHCloudSDConfig.pm »