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 6 our $VERSION = '1.110';
4 6 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 k8s clientId => '+IO::K8s::PrometheusOperator::V1alpha1::SecretOrConfigMap', { required => 'schema' };
7 6 k8s clientSecret => 'Core::V1::ConfigMapKeySelector', { required => 'schema' };
8 6 k8s endpointParams => { Str => 1 };
9 6 k8s noProxy => Str;
10 6 k8s proxyConnectHeader => Opaque;
11 6 k8s proxyFromEnvironment => Bool;
12 6 k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ };
13 6 k8s scopes => [Str];
14 6 k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1alpha1::SafeTLSConfig';
15 6 k8s tokenUrl => Str, { required => 'schema', pattern => qr/^(http|https):\/\/.+$/ };
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27 6 1;
28  
29 __END__
« blib/lib/IO/K8s/PrometheusOperator/V1alpha1/NomadSDConfig.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1alpha1/OVHCloudSDConfig.pm »