serviceoverview

package
v0.0.0-...-385b71e Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	// GetEndPointsData get the list of endpoints services
	// @Tags API.service
	// @Router /api/service/endpoints [get]
	GetEndPointsData() core.HandlerFunc
	// GetServicesAlert get the log alarm and status light information of the Service
	// @Tags API.service
	// @Router /api/service/servicesAlert [get]
	GetServicesAlert() core.HandlerFunc
	// GetServiceMoreUrlList get more url list of services
	// @Tags API.service
	// @Router /api/service/moreUrl [get]
	GetServiceMoreUrlList() core.HandlerFunc
	// GetThreshold get the configuration information of a single threshold
	// @Tags API.service
	// @Router /api/service/getThreshold [get]
	GetThreshold() core.HandlerFunc
	// SetThreshold the configuration information of a single threshold.
	// @Tags API.service
	// @Router /api/service/setThreshold [post]
	SetThreshold() core.HandlerFunc

	// GetRYGLight get traffic light results
	// @Tags API.service
	// @Router /api/service/ryglight [get]
	GetRYGLight() core.HandlerFunc

	// GetMonitorStatus get the service status monitored by kuma
	// @Tags API.service
	// @Router /api/service/monitor/status [get]
	GetMonitorStatus() core.HandlerFunc
}

func New

func New(logger *zap.Logger, chRepo clickhouse.Repo, promClient prometheus.Repo, dbRepo database.Repo, k8sRepo kubernetes.Repo) Handler

Jump to

Keyboard shortcuts

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