package
0.0.0-20240625190017-a0fef5fe53bc
Repository: https://github.com/clearlinux/clr-installer.git
Documentation: pkg.go.dev
# Functions
CopyConfigurations transfer the swupd override files to the target installation media.
CreateConfig create swupd config file in the targets /etc directory to allow http for URLs.
GetHostMirror executes the "swupd mirror" to find the Host's mirror.
IsCoreBundle checks if bundle is in the list of core bundles.
IsOfflineContent checks that the offline content dir is valid for swupd to consume.
LoadBundleList loads the bundle definitions.
New creates a new instance of SoftwareUpdater with the rootDir properly adjusted.
OfflineIsUsable ensures that we have offline content, and that based on our desired version and command line options, that it should be used for the installation.
SetHostMirror executes the "swupd mirror" to set the Host's mirror.
UnSetHostMirror executes the "swupd mirror" to unset the Host's mirror.
# Constants
AutoUpdateCommand specifies auto updates enable command.
AutoUpdateDesc1 specifies line 1 of auto updates desc.
AutoUpdateDesc2 specifies line 2 of auto updates desc.
AutoUpdateDesc3 specifies line 3 of auto updates desc.
AutoUpdateDesc4 specifies line 4 of auto updates desc.
AutoUpdateLabel specifies label of auto updates.
AutoUpdateLink specifies document link of auto updates.
AutoUpdateTitle specifies title of auto updates.
AutoUpdateWarning1 specifies part 1 of auto updates warning.
AutoUpdateWarning2 specifies part 2 of auto updates desc.
IncorrectMirror specifies incorrect mirror error message.
InvalidURL specifies invalid url error message.
No description provided by the author
MirrorAllowInsecure specifies allow test regarding enable insecure installs.
MirrorDesc1 specifies line 1 of swupd mirror desc.
MirrorDesc2 specifies line 2 of swupd mirror desc.
MirrorTitle specifies title of swupd mirror.
No description provided by the author
No description provided by the author
# Variables
CoreBundles represents the core bundles installed in the Verify() operation.
# Structs
Bundle maps a map name and description with the actual checkbox.
Message represents data parsed from a JSON message sent by a swupd command.
SoftwareUpdater abstracts the swupd executable, environment and operations.