network

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package resourcehandlers provides handler functions for Azure resource tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAzNetworkResourcesHandler added in v0.0.3

func GetAzNetworkResourcesHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler

GetAzNetworkResourcesHandler returns a handler for the az_network_resources command

func GetLoadBalancersInfoHandler

func GetLoadBalancersInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler

GetLoadBalancersInfoHandler returns a handler for the get_load_balancers_info command

func GetNSGInfoHandler

func GetNSGInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler

GetNSGInfoHandler returns a handler for the get_nsg_info command

func GetPrivateEndpointInfoHandler added in v0.0.3

func GetPrivateEndpointInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler

GetPrivateEndpointInfoHandler returns a handler for the get_private_endpoint_info command

func GetRouteTableInfoHandler

func GetRouteTableInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler

GetRouteTableInfoHandler returns a handler for the get_route_table_info command

func GetSubnetInfoHandler

func GetSubnetInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler

GetSubnetInfoHandler returns a handler for the get_subnet_info command

func GetSupportedNetworkResourceTypes added in v0.0.3

func GetSupportedNetworkResourceTypes() []string

GetSupportedNetworkResourceTypes returns all supported resource types

func GetVNetInfoHandler

func GetVNetInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler

GetVNetInfoHandler returns a handler for the get_vnet_info command

func RegisterAzNetworkResources added in v0.0.3

func RegisterAzNetworkResources() mcp.Tool

RegisterAzNetworkResources registers the network resources tool

func ValidateNetworkResourceType added in v0.0.3

func ValidateNetworkResourceType(resourceType string) bool

ValidateNetworkResourceType checks if the resource type is supported

Types

type NetworkResourceType added in v0.0.3

type NetworkResourceType string

NetworkResourceType defines the type of network resource

const (
	ResourceTypeAll             NetworkResourceType = "all"
	ResourceTypeVNet            NetworkResourceType = "vnet"
	ResourceTypeNSG             NetworkResourceType = "nsg"
	ResourceTypeRouteTable      NetworkResourceType = "route_table"
	ResourceTypeSubnet          NetworkResourceType = "subnet"
	ResourceTypeLoadBalancer    NetworkResourceType = "load_balancer"
	ResourceTypePrivateEndpoint NetworkResourceType = "private_endpoint"
)

Directories

Path Synopsis
Package resourcehelpers provides helper functions for working with Azure resources in AKS MCP server.
Package resourcehelpers provides helper functions for working with Azure resources in AKS MCP server.

Jump to

Keyboard shortcuts

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