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