azcli

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: MIT Imports: 7 Imported by: 0

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 NewExecutor

func NewExecutor() *AzExecutor

NewExecutor creates a new AzExecutor instance

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL