lib/IO/K8s/PrometheusOperator/V1/AzureOAuth.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/PrometheusOperator/V1/AzureAD.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/AzureSDK.pm »
1 package IO::K8s::PrometheusOperator::V1::AzureOAuth;
2 # ABSTRACT: oauth defines the oauth config that is being used to authenticate.
3 1 our $VERSION = '1.112';
4 1 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 k8s clientId => Str, { required => 'schema' };
7 1 k8s clientSecret => 'Core::V1::ConfigMapKeySelector', { required => 'schema' };
8 1 k8s tenantId => Str, { required => 'schema', pattern => qr/^[0-9a-zA-Z-.]+$/ };
9  
10  
11  
12  
13 1 1;
14  
15 __END__
« lib/IO/K8s/PrometheusOperator/V1/AzureAD.pm ↑ Summary lib/IO/K8s/PrometheusOperator/V1/AzureSDK.pm »