Versions in this module Expand all Collapse all v1 v1.23.14 Apr 4, 2026 v1.23.13 Mar 26, 2026 Changes in this version + var ErrDebuggerAborted = errors.New("debugger attach aborted") + func IsChildAction(ctx context.Context) bool + func WithChildAction(ctx context.Context) context.Context + type CurrentUserAuthManager interface + Cloud func() *cloud.Cloud + CredentialForCurrentUser func(ctx context.Context, options *auth.CredentialForCurrentUserOptions) (azcore.TokenCredential, error) + Mode func() (auth.AuthSource, error) + type DebugMiddleware struct + func (m *DebugMiddleware) Run(ctx context.Context, next NextFn) (*actions.ActionResult, error) + type ErrorCategory int + const AzureContextAndOtherError + const MachineContextError + const UserContextError + type ErrorMiddleware struct + func (e *ErrorMiddleware) Run(ctx context.Context, next NextFn) (*actions.ActionResult, error) + type ExperimentationMiddleware struct + func (m *ExperimentationMiddleware) Run(ctx context.Context, next NextFn) (*actions.ActionResult, error) + type ExtensionsMiddleware struct + func (m *ExtensionsMiddleware) Run(ctx context.Context, next NextFn) (*actions.ActionResult, error) + type HooksMiddleware struct + func (m *HooksMiddleware) Run(ctx context.Context, next NextFn) (*actions.ActionResult, error) + type LoginGuardMiddleware struct + func (l *LoginGuardMiddleware) Run(ctx context.Context, next NextFn) (*actions.ActionResult, error) + type Middleware interface + Run func(ctx context.Context, nextFn NextFn) (*actions.ActionResult, error) + func NewDebugMiddleware(options *Options, console input.Console) Middleware + func NewErrorMiddleware(options *Options, console input.Console, agentFactory agent.AgentFactory, ...) Middleware + func NewExperimentationMiddleware() Middleware + func NewExtensionsMiddleware(options *Options, serviceLocator ioc.ServiceLocator, ...) Middleware + func NewHooksMiddleware(envManager environment.Manager, env *environment.Environment, ...) Middleware + func NewLoginGuardMiddleware(console input.Console, authManager CurrentUserAuthManager, ...) Middleware + func NewTelemetryMiddleware(options *Options, lazyPlatformConfig *lazy.Lazy[*platform.Config], ...) Middleware + func NewUxMiddleware(options *Options, console input.Console, featuresManager *alpha.FeatureManager) Middleware + type MiddlewareRunner struct + func NewMiddlewareRunner(container *ioc.NestedContainer) *MiddlewareRunner + func (r *MiddlewareRunner) RunAction(ctx context.Context, runOptions *Options, actionName string) (*actions.ActionResult, error) + func (r *MiddlewareRunner) Use(name string, resolveFn any) error + type NextFn func(ctx context.Context) (*actions.ActionResult, error) + type Options struct + Aliases []string + Annotations map[string]string + Args []string + CommandPath string + Flags *pflag.FlagSet + Name string + func (o *Options) WithContainer(container *ioc.NestedContainer) + type ResolveFn func() Middleware + type TelemetryMiddleware struct + func (m *TelemetryMiddleware) Run(ctx context.Context, next NextFn) (*actions.ActionResult, error) + type UxMiddleware struct + func (m *UxMiddleware) Run(ctx context.Context, next NextFn) (*actions.ActionResult, error)