Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommandExecutorFunc ¶
func CreateCommandExecutorFunc(cmd string) tools.CommandExecutorFunc
CreateCommandExecutorFunc creates a CommandExecutor for a specific az command
Types ¶
type AzExecutor ¶
type AzExecutor struct{}
AzExecutor implements the CommandExecutor interface for az commands
func (*AzExecutor) Execute ¶
func (e *AzExecutor) Execute(params map[string]interface{}, cfg *config.ConfigData) (string, error)
Execute handles general az command execution
func (*AzExecutor) ExecuteSpecificCommand ¶
func (e *AzExecutor) ExecuteSpecificCommand(cmd string, params map[string]interface{}, cfg *config.ConfigData) (string, error)
ExecuteSpecificCommand executes a specific az command with the given arguments
type FleetExecutor ¶ added in v0.0.3
type FleetExecutor struct {
*AzExecutor
// contains filtered or unexported fields
}
FleetExecutor handles structured fleet command execution
func NewFleetExecutor ¶ added in v0.0.3
func NewFleetExecutor() *FleetExecutor
NewFleetExecutor creates a new fleet command executor
func (*FleetExecutor) Execute ¶ added in v0.0.3
func (e *FleetExecutor) Execute(params map[string]interface{}, cfg *config.ConfigData) (string, error)
Execute processes structured fleet commands
func (*FleetExecutor) GetCommandForValidation ¶ added in v0.0.3
func (e *FleetExecutor) GetCommandForValidation(operation, resource, args string) string
GetCommandForValidation returns the constructed command for security validation
Click to show internal directories.
Click to hide internal directories.