metrics

package
v0.0.0-...-4d8b4b1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 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(k k8s.Client, cfg *rest.Config) Scraper

Jump to

Keyboard shortcuts

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