Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CopyFunction = function.MakeFunction("tag.copy", CopyTag)
CopyFunction wraps up CopyTag into a Function called "tag.copy"
View Source
var DropFunction = function.MakeFunction("tag.drop", DropTag)
DropFunction wraps up DropTag into a Function called "tag.drop"
View Source
var SetFunction = function.MakeFunction("tag.set", SetTag)
SetFunction wraps up SetTag into a Function called "tag.set"
Functions ¶
func CopyTag ¶
func CopyTag(list api.SeriesList, target string, source string) (api.SeriesList, error)
CopyTag returns a copy of the series list where `target` is replaced by `source`'s value in each timeseries in the list.
func DropTag ¶
func DropTag(list api.SeriesList, tag string) (api.SeriesList, error)
DropTag returns a copy of the series list where the given `tag` has been removed from all timeseries.
func SetTag ¶
func SetTag(list api.SeriesList, tag string, value string) (api.SeriesList, error)
SetTag returns a copy of the series list where `tag` has been assigned to `value` for every timeseries in the list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.