controller

package
v2.57.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 47 Imported by: 1

Documentation

Overview

Package controller contains the main business logic controllers for aqua operations. Each subpackage represents a specific aqua command or operation such as install, update, exec, which, and updatechecksum. Controllers coordinate between different components like configuration, registry, download, and installation to implement the core functionality of aqua's declarative CLI version management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeAllowPolicyCommandController added in v2.3.0

func InitializeAllowPolicyCommandController(ctx context.Context, param *config.Param) *allowpolicy.Controller

func InitializeCopyCommandController

func InitializeCopyCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*cp.Controller, error)

func InitializeDenyPolicyCommandController added in v2.3.0

func InitializeDenyPolicyCommandController(ctx context.Context, param *config.Param) *denypolicy.Controller

func InitializeExecCommandController

func InitializeExecCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*exec.Controller, error)

func InitializeGenerateCommandController

func InitializeGenerateCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *generate.Controller

func InitializeGenerateRegistryCommandController

func InitializeGenerateRegistryCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, stdout io.Writer) *genrgst.Controller

func InitializeInfoCommandController added in v2.10.0

func InitializeInfoCommandController(ctx context.Context, param *config.Param, rt *runtime.Runtime) *info.Controller

func InitializeInitCommandController

func InitializeInitCommandController(ctx context.Context, logger *slog.Logger, param *config.Param) *initcmd.Controller

func InitializeInitPolicyCommandController

func InitializeInitPolicyCommandController(ctx context.Context) *initpolicy.Controller

func InitializeInstallCommandController

func InitializeInstallCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*install.Controller, error)

func InitializeListCommandController

func InitializeListCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *list.Controller

func InitializeRemoveCommandController added in v2.11.0

func InitializeRemoveCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime, target *config.RemoveMode) *remove.Controller

func InitializeUpdateAquaCommandController

func InitializeUpdateAquaCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*updateaqua.Controller, error)

func InitializeUpdateChecksumCommandController

func InitializeUpdateChecksumCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) (*updatechecksum.Controller, error)

func InitializeUpdateCommandController added in v2.14.0

func InitializeUpdateCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *update.Controller

func InitializeVacuumCommandController added in v2.43.0

func InitializeVacuumCommandController(ctx context.Context, param *config.Param, rt *runtime.Runtime) *vacuum2.Controller

func InitializeVacuumInitCommandController added in v2.43.0

func InitializeVacuumInitCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, rt *runtime.Runtime, httpClient *http.Client) *initialize.Controller

func InitializeWhichCommandController

func InitializeWhichCommandController(ctx context.Context, logger *slog.Logger, param *config.Param, httpClient *http.Client, rt *runtime.Runtime) *which.Controller

Types

This section is empty.

Jump to

Keyboard shortcuts

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