metrics

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeCounts

type NodeCounts struct {
	Total int
}

type Scraper

type Scraper interface {
	ScrapeAndParse() (*NodeCounts, error)
}

Scraper defines behavior that a Rancher metrics scraper should implement

func NewScraper

func NewScraper(rancherHost string, cfg *rest.Config) Scraper

Jump to

Keyboard shortcuts

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