network

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: 10 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 ExtractAKSParameters

func ExtractAKSParameters(params map[string]interface{}) (subscriptionID, resourceGroup, clusterName string, err error)

ExtractAKSParameters extracts and validates the common AKS parameters from the params map

func GetClusterDetails

func GetClusterDetails(ctx context.Context, client *azureclient.AzureClient, subscriptionID, resourceGroup, clusterName string) (*armcontainerservice.ManagedCluster, error)

GetClusterDetails gets the details of an AKS cluster

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 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 GetVNetInfoHandler

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

GetVNetInfoHandler returns a handler for the get_vnet_info command

func RegisterLoadBalancersInfoTool

func RegisterLoadBalancersInfoTool() mcp.Tool

RegisterLoadBalancersInfoTool registers the get_load_balancers_info tool

func RegisterNSGInfoTool

func RegisterNSGInfoTool() mcp.Tool

RegisterNSGInfoTool registers the get_nsg_info tool

func RegisterRouteTableInfoTool

func RegisterRouteTableInfoTool() mcp.Tool

RegisterRouteTableInfoTool registers the get_route_table_info tool

func RegisterSubnetInfoTool

func RegisterSubnetInfoTool() mcp.Tool

RegisterSubnetInfoTool registers the get_subnet_info tool

func RegisterVNetInfoTool

func RegisterVNetInfoTool() mcp.Tool

RegisterVNetInfoTool registers the get_vnet_info tool

Types

This section is empty.

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