server

package
v1.83.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 18 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartMetricsServer added in v0.16.0

func StartMetricsServer()

StartMetricsServer starts a new HTTP server forthat exposes Kiali internal metrics in Prometheus format

func StopMetricsServer added in v0.16.0

func StopMetricsServer()

StopMetricsServer stops the metrics server

Types

type Server

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

func NewServer

func NewServer(controlPlaneMonitor business.ControlPlaneMonitor,
	clientFactory kubernetes.ClientFactory,
	cache cache.KialiCache,
	conf *config.Config,
	prom prometheus.ClientInterface,
	traceClientLoader func() tracing.ClientInterface,
) *Server

NewServer creates a new server configured with the given settings. Start and Stop it with the corresponding functions.

func (*Server) Start

func (s *Server) Start()

Start HTTP server asynchronously. TLS may be active depending on the global configuration.

func (*Server) Stop

func (s *Server) Stop()

Stop the HTTP server

Jump to

Keyboard shortcuts

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