legacyregistry

package
v0.15.7 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 418

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRegister

func MustRegister(cs ...metrics.KubeCollector)

MustRegister works like Register but registers any number of Collectors and panics upon the first registration that causes an error. Registration is deferred until the global registry has a version to use.

func Register

func Register(c metrics.KubeCollector) error

Register registers a collectable metric, but it uses a global registry. Registration is deferred until the global registry has a version to use.

func SetRegistryFactoryVersion

func SetRegistryFactoryVersion(ver apimachineryversion.Info) []error

SetRegistryFactoryVersion sets the kubernetes version information for all subsequent metrics registry initializations. Only the first call has an effect. If a version is not set, then metrics registry creation will no-opt

Types

This section is empty.

Jump to

Keyboard shortcuts

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