tag

package
v0.0.0-...-11fc026 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL