diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2020-02-03 00:30:45 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2020-02-03 00:30:45 -0500 |
commit | 023eae6eda47df078615b46266b01dad056a91ac (patch) | |
tree | a5c4ef13f1115e07b1774eb089c8e397cefbf1e1 /rrdformat/format.go | |
parent | dff188a6157c10ab6745b1a389c925794d6ca1ba (diff) |
more
Diffstat (limited to 'rrdformat/format.go')
-rw-r--r-- | rrdformat/format.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rrdformat/format.go b/rrdformat/format.go index ca0c459..2dbcb30 100644 --- a/rrdformat/format.go +++ b/rrdformat/format.go @@ -75,6 +75,14 @@ type DSDef struct { Parameters [10]rrdbinary.Unival `xml:"params>item"` } +const ( + DSParam_MRHBCnt = iota // Minimum Required HeatBeat Count + DSParam_MinVal + DSParam_MaxVal + // When DSType==DST_CDEF, none of the above are used, and the + // parameters are instead interpretted with .AsRPNTokens(). +) + type RRADef struct { CFName rrdbinary.String `rrdbinary:"size=20" xml:"cf"` RowCnt rrdbinary.ULong `xml:"-"` |