monitor

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMonitorCommand

func RegisterMonitorCommand(cmd MonitorCommand) mcp.Tool

RegisterMonitorCommand registers a specific az monitor command as an MCP tool

Types

type MonitorCommand

type MonitorCommand struct {
	Name        string
	Description string
	ArgsExample string // Example of command arguments
	Category    string // Category for the command (e.g., "metrics", "logs")
}

MonitorCommand defines a specific az monitor command to be registered as a tool

func GetAdminMonitorCommands

func GetAdminMonitorCommands() []MonitorCommand

GetAdminMonitorCommands returns all admin az monitor commands

func GetReadOnlyMonitorCommands

func GetReadOnlyMonitorCommands() []MonitorCommand

GetReadOnlyMonitorCommands returns all read-only az monitor commands

func GetReadWriteMonitorCommands

func GetReadWriteMonitorCommands() []MonitorCommand

GetReadWriteMonitorCommands returns all read-write az monitor commands

Jump to

Keyboard shortcuts

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