Versions in this module Expand all Collapse all v0 v0.1.1 Apr 19, 2026 v0.1.0 Apr 19, 2026 Changes in this version + const ChannelStable + const DebianVersion + const DefaultDownloadURL + const DefaultRepoFile + const DefaultTimeout + const DeprecationDelay + const DistroDebian + const DistroOSMC + const DistroRaspbian + const DistroUbuntu + const DockerBinPath1 + const DockerBinPath2 + const DockerBinPath3 + const DockerSocket + const ExistingDockerDelay + const OSReleaseFile + const PkgContainerd + const PkgDockerBuildx + const PkgDockerCE + const PkgDockerCECLI + const PkgDockerCompose + const PkgDockerRootlessExtras + const PkgDockerScan + const ProcVersionFile + const RetryDelay + const ShellEcho + const WSLWarningDelay + func BuildPackageList(version, pkgVersion, cliPkgVersion string, extraPkgs ...string) string + func Install(stdout, stderr io.Writer) (string, error) + type DebianInstaller struct + func NewDebianInstaller(distro *Distro, opts *InstallOptions) *DebianInstaller + func (i *DebianInstaller) Install(shC string) error + type Detector struct + func NewDetector() *Detector + func (d *Detector) CheckForked(distro *Distro) *Distro + func (d *Detector) DetectDistro() *Distro + func (d *Detector) DetectOS() string + func (d *Detector) IsWSL() bool + type Distro struct + ID string + Version string + func (d *Distro) HasCodename() bool + type Executor struct + func NewExecutor(opts *InstallOptions) *Executor + func (e *Executor) Run(shC, cmdStr string) error + func (e *Executor) RunCommands(shC string, cmds []string) error + func (e *Executor) RunCommandsWithRetry(shC string, cmds []string, timeout time.Duration) error + func (e *Executor) RunWithRetry(shC, cmdStr string, timeout time.Duration) error + type InstallOptions struct + type Installer interface + Install func(shC string) error + type Validator struct + func NewValidator(opts *InstallOptions) *Validator + func (v *Validator) CheckDeprecation(distro *Distro) + func (v *Validator) CheckExistingDocker() + func (v *Validator) CheckWSL(isWSL bool) + func (v *Validator) ValidateDistro(distro *Distro) error + func (v *Validator) ValidateOS(os string) error