Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents the AKS MCP service
func NewService ¶
func NewService(cfg *config.ConfigData, opts ...ServiceOption) *Service
NewService creates a new AKS MCP service with the provided configuration and options. Options can be used to inject dependencies like azcli execution factories.
func (*Service) Initialize ¶
Initialize initializes the service
type ServiceOption ¶ added in v0.0.7
type ServiceOption func(*Service)
ServiceOption defines a function that configures the AKS MCP service
func WithAzCliProcFactory ¶ added in v0.0.7
func WithAzCliProcFactory(f func(timeout int) azcli.Proc) ServiceOption
WithAzCliProcFactory allows callers to inject a Proc factory for azcli execution. The factory returns an azcli.Proc which can be faked in tests.
Click to show internal directories.
Click to hide internal directories.