Documentation
¶
Overview ¶
Package resourcehandlers provides handler functions for Azure resource tools.
Index ¶
- func GetAzNetworkResourcesHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func GetLoadBalancersInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func GetNSGInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func GetPrivateEndpointInfoHandler(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 GetSupportedNetworkResourceTypes() []string
- func GetVNetInfoHandler(client *azureclient.AzureClient, cfg *config.ConfigData) tools.ResourceHandler
- func RegisterAzNetworkResources() mcp.Tool
- func ValidateNetworkResourceType(resourceType string) bool
- type NetworkResourceType
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
RegisterAzNetworkResources registers the network resources tool
func ValidateNetworkResourceType ¶ added in v0.0.3
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. |