commands

package
v0.73.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package commands contains the installer subcommands

Index

Constants

View Source
const (
	// ReturnCodeIsInstalledFalse is the return code when a package is not installed
	ReturnCodeIsInstalledFalse = 10
)

Variables

View Source
var (
	// MockInstaller is used for testing
	MockInstaller installer.Installer
)

Functions

func NewInstallerMock

func NewInstallerMock() installer.Installer

NewInstallerMock returns a new installerMock.

func RootCommands

func RootCommands() []*cobra.Command

RootCommands returns the root commands

func UnprivilegedCommands

func UnprivilegedCommands() []*cobra.Command

UnprivilegedCommands returns the unprivileged commands

Types

This section is empty.

Jump to

Keyboard shortcuts

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