cadvisor

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateURLs

func GenerateURLs(lister NodeLister, myNode string, scrapeOwnNode bool, kubeletURL func(ip net.IP, path string) *url.URL) ([]*url.URL, error)

GenerateURLs generates cAdvisor prometheus urls to be queried by THIS collector instance

func TransformPermissionError

func TransformPermissionError(err error) error

Types

type NodeLister

type NodeLister interface {
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NodeList, error)
}

Jump to

Keyboard shortcuts

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