zrepl/config
Christian Schwarz ffb1d89a72 config: support zrepl's day and week units for snapshotting.interval
Originally, I had a patch that would replace all usages of
time.Duration in package config with the new config.Duration
types, but:
1. these are all timeouts/retry intervals that have default values.
   Most users don't touch them, and if they do, they don't need
   day or week units.
2. go-yaml's error reporting for yaml.Unmarshaler is inferior to
   built-in types (line numbers are missing, so the error would not have
   sufficient context)

fixes https://github.com/zrepl/zrepl/issues/486
2022-10-09 21:15:46 +02:00
..
samples refactor snapper & support cron-based snapshotting 2022-09-25 19:23:44 +02:00
config_dep_test.go config: add test for fromdefaults behavior 2020-07-26 20:32:35 +02:00
config_duration.go config: support zrepl's day and week units for snapshotting.interval 2022-10-09 21:15:46 +02:00
config_global_test.go docs/monitoring: change suggested prometheus port to 9811 2021-03-28 18:18:02 +02:00
config_jobid_test.go new features: {resumable,encrypted,hold-protected} send-recv, last-received-hold 2020-02-14 22:00:13 +01:00
config_minimal_test.go format source tree using goimports 2019-03-22 19:41:12 +01:00
config_positiveintervalormanual_test.go pull job: support manual-only invocation 2019-03-16 14:24:05 +01:00
config_recv_test.go [#285] support setting zfs send / recv flags in the config (send: -wLcepbS, recv: -ox) 2021-02-20 17:20:45 +01:00
config_send_test.go [#285] support setting zfs send / recv flags in the config (send: -wLcepbS, recv: -ox) 2021-02-20 17:20:45 +01:00
config_snapshotting_test.go config: support zrepl's day and week units for snapshotting.interval 2022-10-09 21:15:46 +02:00
config_test.go refactor snapper & support cron-based snapshotting 2022-09-25 19:23:44 +02:00
config_transport_test.go config: validate presence of port in addresses 2019-09-28 14:25:14 +02:00
config.go config: support zrepl's day and week units for snapshotting.interval 2022-10-09 21:15:46 +02:00
retentiongrid.go [#292] pruning: add func MustNewKeepGrid 2020-09-02 22:45:44 +02:00