monitor

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package monitor implements the Azure microsoft.insights metric-alerts resource against a CloudEmu monitoring driver. Real armmonitor clients hit this handler the same way they hit management.azure.com.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler serves microsoft.insights ARM resources.

func New

New returns a monitor handler.

func (*Handler) Matches

func (*Handler) Matches(r *http.Request) bool

Matches returns true for ARM URLs targeting microsoft.insights/metricAlerts.

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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