Versions in this module Expand all Collapse all v0 v0.0.2 Jul 25, 2018 v0.0.1 Jul 24, 2018 Changes in this version + const AlertName + const BucketLabel + const InstanceName + const MetricName + func AsInt64Array(val []byte) []uint64 + func Compare(a, b Labels) int + func CreateContainer(logger logger.Logger, addr, cont, username, password string, workers int) (*v3io.Container, error) + func DeleteTable(container *v3io.Container, path, filter string, workers int) error + func Equal(ls, o Labels) bool + func GetTimeFromRange(from, to, last, step string) (f int64, t int64, s int64, err error) + func NewLogger(verbose string) (logger.Logger, error) + func Str2duration(duration string) (int64, error) + func Str2unixTime(tstr string) (int64, error) + type AsyncItemsCursor struct + Cnt int + func NewAsyncItemsCursor(container *v3io.Container, input *v3io.GetItemsInput, workers int) (*AsyncItemsCursor, error) + func (ic *AsyncItemsCursor) All() ([]v3io.Item, error) + func (ic *AsyncItemsCursor) Err() error + func (ic *AsyncItemsCursor) GetField(name string) interface{} + func (ic *AsyncItemsCursor) GetFieldInt(name string) (int, error) + func (ic *AsyncItemsCursor) GetFieldString(name string) (string, error) + func (ic *AsyncItemsCursor) GetFields() map[string]interface{} + func (ic *AsyncItemsCursor) GetItem() v3io.Item + func (ic *AsyncItemsCursor) Next() bool + func (ic *AsyncItemsCursor) NextItem() (v3io.Item, error) + func (ic *AsyncItemsCursor) Release() + type Builder struct + func NewBuilder(base Labels) *Builder + func (b *Builder) Del(ns ...string) *Builder + func (b *Builder) Labels() Labels + func (b *Builder) Set(n, v string) *Builder + type ItemsCursor interface + Err func() error + GetField func(name string) interface{} + GetFields func() map[string]interface{} + Next func() bool + type Label struct + Name string + Value string + type Labels []Label + func FromMap(m map[string]string) Labels + func FromStrings(ss ...string) Labels + func New(ls ...Label) Labels + func (ls *Labels) UnmarshalJSON(b []byte) error + func (ls Labels) Copy() Labels + func (ls Labels) Get(name string) string + func (ls Labels) GetExpr() string + func (ls Labels) GetKey() (string, string, uint64) + func (ls Labels) Has(name string) bool + func (ls Labels) Hash() uint64 + func (ls Labels) Len() int + func (ls Labels) Less(i, j int) bool + func (ls Labels) Map() map[string]string + func (ls Labels) MarshalJSON() ([]byte, error) + func (ls Labels) String() string + func (ls Labels) Swap(i, j int) + type LabelsIfc interface + GetExpr func() string + GetKey func() (string, string, uint64)