« lib/IO/K8s/PrometheusOperator/V1/AlertmanagerEndpoints.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1/AlertmanagerLimitsSpec.pm »
| 1 | package IO::K8s::PrometheusOperator::V1::AlertmanagerGlobalConfig; | ||
| 2 | # ABSTRACT: global defines the global parameters of the Alertmanager configuration. | ||
| 3 | 2 | our $VERSION = '1.112'; | |
| 4 | 2 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | k8s httpConfig => '+IO::K8s::PrometheusOperator::V1::HTTPConfigWithProxy'; | |
| 7 | 2 | k8s jira => '+IO::K8s::PrometheusOperator::V1::GlobalJiraConfig'; | |
| 8 | 2 | k8s mattermost => '+IO::K8s::PrometheusOperator::V1::GlobalMattermostConfig'; | |
| 9 | 2 | k8s opsGenieApiKey => 'Core::V1::ConfigMapKeySelector'; | |
| 10 | 2 | k8s opsGenieApiUrl => 'Core::V1::ConfigMapKeySelector'; | |
| 11 | 2 | k8s pagerdutyUrl => Str, { pattern => qr/^(http|https):\/\/.+$/ }; | |
| 12 | 2 | k8s resolveTimeout => 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)?)$/ }; | |
| 13 | 2 | k8s rocketChat => '+IO::K8s::PrometheusOperator::V1::GlobalRocketChatConfig'; | |
| 14 | 2 | k8s slackApiUrl => 'Core::V1::ConfigMapKeySelector'; | |
| 15 | 2 | k8s smtp => '+IO::K8s::PrometheusOperator::V1::GlobalSMTPConfig'; | |
| 16 | 2 | k8s telegram => '+IO::K8s::PrometheusOperator::V1::GlobalTelegramConfig'; | |
| 17 | 2 | k8s victorops => '+IO::K8s::PrometheusOperator::V1::GlobalVictorOpsConfig'; | |
| 18 | 2 | k8s webex => '+IO::K8s::PrometheusOperator::V1::GlobalWebexConfig'; | |
| 19 | 2 | k8s wechat => '+IO::K8s::PrometheusOperator::V1::GlobalWeChatConfig'; | |
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | 2 | 1; | |
| 36 | |||
| 37 | __END__ | ||