Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 633 Bytes

duration.md

File metadata and controls

31 lines (22 loc) · 633 Bytes

Durations

Durations are lengths of time that are specified as part of a pluign configuration using a number or string.

If a number is specified, it will be interpreted as a number of seconds.

If a string is specified, it will be interpreted according to Golang's time.ParseDuration documentation.

Examples

Various ways to specify a duration of 1 minute

- type: some_operator
  duration: 1m
- type: some_operator
  duration: 60s
- type: some_operator
  duration: 60
- type: some_operator
  duration: 60.0