utils

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregationFromParams

func AggregationFromParams(index, doctype, timeAttr, filters, lte, gte, terms, percentile, overtime string, storage data_access.StorageInterface) interface{}

func ServeSLOGrafanaDI

func ServeSLOGrafanaDI(w http.ResponseWriter, r *http.Request, storage data_access.StorageInterface)

Types

type Util

type Util struct {
	Storage data_access.StorageInterface
}

func (*Util) GetUid

func (u *Util) GetUid(podYamls []*model.PodYaml, key string, value *string)

Jump to

Keyboard shortcuts

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