tools

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultRateInterval is the default rate interval for fetching error rates and metrics.
	// This value is used when rateInterval is not explicitly provided in API calls.
	DefaultRateInterval    = "10m"
	DefaultGraphType       = "versionedApp"
	DefaultStep            = "15"
	DefaultDirection       = "outbound"
	DefaultReporter        = "source"
	DefaultQuantiles       = "0.5,0.95,0.99,0.999"
	DefaultLimit           = 10
	DefaultTail            = 50
	DefaultLookbackSeconds = 600
	DefaultErrorOnly       = false
)

Default values for Kiali API parameters shared across this package.

View Source
const (
	KialiMCPPath = "/api/chat/mcp"

	KialiGetMeshTrafficGraphEndpoint   = KialiMCPPath + "/get_mesh_traffic_graph"
	KialiGetMeshStatusEndpoint         = KialiMCPPath + "/get_mesh_status"
	KialiGetMetricsEndpoint            = KialiMCPPath + "/get_metrics"
	KialiListOrGetResourcesEndpoint    = KialiMCPPath + "/list_or_get_resources"
	KialiListTracesEndpoint            = KialiMCPPath + "/list_traces"
	KialiGetTraceDetailsEndpoint       = KialiMCPPath + "/get_trace_details"
	KialiGetLogsEndpoint               = KialiMCPPath + "/get_logs"
	KialiManageIstioConfigEndpoint     = KialiMCPPath + "/manage_istio_config"
	KialiManageIstioConfigReadEndpoint = KialiMCPPath + "/manage_istio_config_read"
	KialiGetPodPerformanceEndpoint     = KialiMCPPath + "/get_pod_performance"
)

Kiali API endpoint paths shared across this package.

Variables

This section is empty.

Functions

func InitGetLogs added in v0.0.61

func InitGetLogs() []api.ServerTool

func InitGetMeshStatus added in v0.0.61

func InitGetMeshStatus() []api.ServerTool

func InitGetMeshTrafficGraph added in v0.0.61

func InitGetMeshTrafficGraph() []api.ServerTool

func InitGetMetrics

func InitGetMetrics() []api.ServerTool

func InitGetPodPerformance added in v0.0.61

func InitGetPodPerformance() []api.ServerTool

func InitGetTraceDetails added in v0.0.61

func InitGetTraceDetails() []api.ServerTool

func InitListOrGetResources added in v0.0.61

func InitListOrGetResources() []api.ServerTool

func InitListTraces added in v0.0.61

func InitListTraces() []api.ServerTool

func InitManageIstioConfig

func InitManageIstioConfig() []api.ServerTool

func InitManageIstioConfigRead added in v0.0.57

func InitManageIstioConfigRead() []api.ServerTool

Types

This section is empty.

Jump to

Keyboard shortcuts

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