metrics

package
v0.0.0-...-1e1194b Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsPort = 6000
)

Variables

This section is empty.

Functions

func BuildServer

func BuildServer(port int) *http.Server

BuildServer creates the http.Server struct

func RunServer

func RunServer(srv *http.Server, stopCh <-chan struct{}, kubeconfig string)

RunServer starts the metrics server.

func StopServer

func StopServer(srv *http.Server)

StopServer stops the server; for tls secret rotation

Types

This section is empty.

Jump to

Keyboard shortcuts

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