servicemetrics

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller is the controller that exposes and populates metrics containing various stats about Services in the cluster.

func NewController

func NewController(ctx *context.ControllerContext, exportInterval time.Duration, stopCh <-chan struct{}, logger klog.Logger) *Controller

NewController creates a new Controller.

func (*Controller) Run

func (c *Controller) Run()

Run starts the controller until stopped via the stop channel.

Jump to

Keyboard shortcuts

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