Documentation ¶
Index ¶
- Constants
- type ImageMetricsCollector
- func (c ImageMetricsCollector) Collect(metrics chan<- prometheus.Metric)
- func (c ImageMetricsCollector) Describe(descs chan<- *prometheus.Desc)
- func (c ImageMetricsCollector) NeedLeaderElection() bool
- func (c *ImageMetricsCollector) SetupWithManager(mgr Manager) error
- func (c ImageMetricsCollector) Start(ctx context.Context) error
- type Manager
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) error
Click to show internal directories.
Click to hide internal directories.