« lib/IO/K8s/PrometheusOperator/V1/RemoteWriteSpec.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1/RollingUpdateStatefulSetStrategy.pm »
| 1 | package IO::K8s::PrometheusOperator::V1::RetainConfig; | ||
| 2 | # ABSTRACT: retain defines the config for retention when the retention policy is set to `Retain`. | ||
| 3 | 1 | our $VERSION = '1.112'; | |
| 4 | 1 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | k8s retentionPeriod => Str, { required => 'schema', pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ }; | |
| 7 | |||
| 8 | |||
| 9 | 1 | 1; | |
| 10 | |||
| 11 | __END__ | ||