« lib/IO/K8s/PrometheusOperator/V1alpha1/OVHCloudSDConfig.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1alpha1/PuppetDBSDConfig.pm »
| 1 | package IO::K8s::PrometheusOperator::V1alpha1::OpenStackSDConfig; | ||
| 2 | # ABSTRACT: OpenStackSDConfig allow retrieving scrape targets from OpenStack Nova instances. | ||
| 3 | 1 | our $VERSION = '1.112'; | |
| 4 | 1 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | k8s allTenants => Bool; | |
| 7 | 1 | k8s applicationCredentialId => Str; | |
| 8 | 1 | k8s applicationCredentialName => Str; | |
| 9 | 1 | k8s applicationCredentialSecret => 'Core::V1::ConfigMapKeySelector'; | |
| 10 | 1 | k8s availability => Str, { enum => [qw(Public public Admin admin Internal internal)] }; | |
| 11 | 1 | k8s domainID => Str; | |
| 12 | 1 | k8s domainName => Str; | |
| 13 | 1 | k8s identityEndpoint => Str, { pattern => qr/^https?:\/\/.+$/ }; | |
| 14 | 1 | k8s password => 'Core::V1::ConfigMapKeySelector'; | |
| 15 | 1 | k8s port => Int, { minimum => 0, maximum => 65535 }; | |
| 16 | 1 | k8s projectID => Str; | |
| 17 | 1 | k8s projectName => Str; | |
| 18 | 1 | k8s refreshInterval => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ }; | |
| 19 | 1 | k8s region => Str, { required => 'schema' }; | |
| 20 | 1 | k8s role => Str, { required => 'schema', enum => [qw(Instance Hypervisor LoadBalancer)] }; | |
| 21 | 1 | k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1alpha1::SafeTLSConfig'; | |
| 22 | 1 | k8s userid => Str; | |
| 23 | 1 | k8s username => Str; | |
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | 1 | 1; | |
| 44 | |||
| 45 | __END__ | ||