Documentation
¶
Overview ¶
Package resourcehandlers provides handler functions for Azure resource tools.
Index ¶
- func ExtractAKSParameters(params map[string]interface{}) (subscriptionID, resourceGroup, clusterName string, err error)
- func GetClusterDetails(ctx context.Context, client *azureclient.AzureClient, ...) (*armcontainerservice.ManagedCluster, error)
- func GetLoadBalancersInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func GetNSGInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func GetRouteTableInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func GetSubnetInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func GetVNetInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func RegisterLoadBalancersInfoTool() mcp.Tool
- func RegisterNSGInfoTool() mcp.Tool
- func RegisterRouteTableInfoTool() mcp.Tool
- func RegisterSubnetInfoTool() mcp.Tool
- func RegisterVNetInfoTool() mcp.Tool
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 ¶
RegisterLoadBalancersInfoTool registers the get_load_balancers_info tool
func RegisterNSGInfoTool ¶
RegisterNSGInfoTool registers the get_nsg_info tool
func RegisterRouteTableInfoTool ¶
RegisterRouteTableInfoTool registers the get_route_table_info tool
func RegisterSubnetInfoTool ¶
RegisterSubnetInfoTool registers the get_subnet_info tool
func RegisterVNetInfoTool ¶
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. |