metrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Namespace = "image_scanner"
	Subsystem = "container_image"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageMetricsCollector

type ImageMetricsCollector struct {
	client.Client
	config.Config
	// contains filtered or unexported fields
}

func (ImageMetricsCollector) Collect

func (c ImageMetricsCollector) Collect(metrics chan<- prometheus.Metric)

func (ImageMetricsCollector) Describe

func (c ImageMetricsCollector) Describe(descs chan<- *prometheus.Desc)

func (ImageMetricsCollector) NeedLeaderElection

func (c ImageMetricsCollector) NeedLeaderElection() bool

func (*ImageMetricsCollector) SetupWithManager

func (c *ImageMetricsCollector) SetupWithManager(mgr manager.Manager) error

func (ImageMetricsCollector) Start

Jump to

Keyboard shortcuts

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