csvprovider

package
v4.5.2000+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVProvider

type CSVProvider struct {
	// contains filtered or unexported fields
}

func NewCSVProvider

func NewCSVProvider(filepath string, indexStarttime *timestamp.Timestamp, granularity int) *CSVProvider

func (*CSVProvider) GetData

func (c *CSVProvider) GetData(queryTimestamp *timestamp.Timestamp, granularity int, args ...interface{}) (float64, error)

func (*CSVProvider) GetPatten

func (c *CSVProvider) GetPatten(name string) ([]float64, error)

func (*CSVProvider) SetNodeSubObjects

func (c *CSVProvider) SetNodeSubObjects(subObjectsName []string, parentName string, resourceLimit float64, setMaxValue float64)

Jump to

Keyboard shortcuts

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