Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeyringPath ¶
GetKeyringPath returns the keyring path for a PPA
func GetSourcesPath ¶
GetSourcesPath returns the sources.list.d path for a PPA
Types ¶
type PPAConfig ¶
type PPAConfig struct {
Name string // PPA identifier (e.g., "mise")
KeyURL string // GPG public key URL
RepoURL string // Repository base URL
Distribution string // Distribution codename or version (e.g., "stable")
Component string // Repository component (e.g., "main")
Architecture string // Target architecture (auto-detected if empty)
}
PPAConfig defines the configuration for a Debian/Ubuntu PPA (Personal Package Archive)
type PPAManager ¶
type PPAManager struct {
}
PPAManager handles PPA installation and management
func NewPPAManager ¶
func NewPPAManager() *PPAManager
NewPPAManager creates a new PPA manager instance
func (*PPAManager) AddPPA ¶
func (pm *PPAManager) AddPPA(config PPAConfig) error
AddPPA adds a PPA repository to the system This function is idempotent - it checks if the PPA is already configured before making changes
Click to show internal directories.
Click to hide internal directories.