utils

package
v1.5.0-beta11 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllNamespaces

func AllNamespaces(watchNamespaces []string) bool

func MakeCounter added in v0.20.3

func MakeCounter(name, description string, aggregation *view.Aggregation, tagKeys ...tag.Key) *stats.Int64Measure

func MakeLastValueCounter added in v1.0.0

func MakeLastValueCounter(name, description string, tagKeys ...tag.Key) *stats.Int64Measure

func MakeSumCounter added in v1.0.0

func MakeSumCounter(name, description string, tagKeys ...tag.Key) *stats.Int64Measure

func Measure added in v1.0.0

func Measure(ctx context.Context, counter *stats.Int64Measure, val int64, tags ...tag.Mutator)

func MeasureOne added in v1.0.0

func MeasureOne(ctx context.Context, counter *stats.Int64Measure, tags ...tag.Mutator)

func ProcessWatchNamespaces

func ProcessWatchNamespaces(watchNamespaces []string, writeNamespace string) []string

func ResourceRefPtr added in v0.13.34

func ResourceRefPtr(ref core.ResourceRef) *core.ResourceRef

Types

This section is empty.

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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