components

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsComponentEnabled

func IsComponentEnabled(componentName string, enabledComponents []string) bool

IsComponentEnabled checks if a component is enabled based on the configuration If enabledComponents is empty, all components are enabled by default

func ValidateComponents

func ValidateComponents(componentNames []string) (valid []string, invalid []string, err error)

ValidateComponents validates a list of component names Returns valid components, invalid component names, and an error if validation fails Requirements: - All component names must be recognized - At least one component must be enabled

Types

type Component

type Component struct {
	Name        string
	Description string
}

Component represents a registrable component

func GetAllComponents

func GetAllComponents() []Component

GetAllComponents returns all available components

func GetComponentByName

func GetComponentByName(name string) (*Component, error)

GetComponentByName returns a component by its name

Directories

Path Synopsis
Package common provides shared utility functions for AKS MCP components.
Package common provides shared utility functions for AKS MCP components.
Package compute provides handler functions for Azure compute resource tools.
Package compute provides handler functions for Azure compute resource tools.
Package resourcehandlers provides handler functions for Azure resource tools.
Package resourcehandlers provides handler functions for Azure resource tools.
resourcehelpers
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