utils

package
v4.2.725+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGranularitySec

func GetGranularitySec(granularityStr string) int64

func GetGranularityStr

func GetGranularityStr(granularitySec int64) string

func GetJobID

func GetJobID(unit *config.Unit, rowVals []string, columns []string,
	metricType datahub_common.MetricType, granularity int64) (string, error)

func GetJobMap

func GetJobMap(rowVals []string, columns []string,
	metricType datahub_common.MetricType, granularity int64) map[string]string

func GetJobStr

func GetJobStr(rowVals []string, columns []string,
	metricType datahub_common.MetricType, granularity int64) (string, error)

func GetRowValue

func GetRowValue(values, columns []string, field string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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