Documentation ¶
Index ¶
- func BuildISORun(cfg *v1.BuildConfig) (err error)
- func ChrootHook(config *v1.RunConfig, hook string, chrootDir string, ...) (err error)
- func Hook(config *v1.RunConfig, hook string) error
- func InstallImagesSetup(config *v1.RunConfig) error
- func InstallRun(config *v1.RunConfig) (err error)
- func InstallSetup(config *v1.RunConfig) error
- func ResetImagesSetup(config *v1.RunConfig) error
- func ResetRun(config *v1.RunConfig) (err error)
- func ResetSetup(config *v1.RunConfig) error
- func SetPartitionsFromScratch(config *v1.RunConfig)
- func SetupLuet(config *v1.RunConfig)
- type UpgradeAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildISORun ¶ added in v0.0.14
func BuildISORun(cfg *v1.BuildConfig) (err error)
BuildISORun will install the system from a given configuration
func ChrootHook ¶ added in v0.0.14
func ChrootHook(config *v1.RunConfig, hook string, chrootDir string, bindMounts map[string]string) (err error)
ChrootHook executes Hook inside a chroot environment
func Hook ¶ added in v0.0.14
Hook is RunStage wrapper that only adds logic to ignore errors in case v1.RunConfig.Strict is set to false
func InstallImagesSetup ¶
InstallImagesSetup defines the parameters of active, passive and recovery images of an installation
func InstallRun ¶
InstallRun will install the system from a given configuration
func InstallSetup ¶
InstallSetup will set installation parameters according to the given configuration flags
func ResetImagesSetup ¶
ResetImagesSetup defines the parameters of active and passive images as they are used during the reset.
func ResetSetup ¶
ResetSetup will set installation parameters according to the given configuration flags
func SetPartitionsFromScratch ¶
SetPartitionsFromScratch initiates all defaults partitions in order is they would be on a fresh installation. It does not run any kind of block device analysis it only populates partitions from defaults or configurations.
Types ¶
type UpgradeAction ¶
UpgradeAction represents the struct that will run the upgrade from start to finish
func NewUpgradeAction ¶
func NewUpgradeAction(config *v1.RunConfig) *UpgradeAction
func (*UpgradeAction) Debug ¶
func (u *UpgradeAction) Debug(s string, args ...interface{})
func (*UpgradeAction) Error ¶
func (u *UpgradeAction) Error(s string, args ...interface{})
func (*UpgradeAction) Info ¶
func (u *UpgradeAction) Info(s string, args ...interface{})
func (*UpgradeAction) Run ¶
func (u *UpgradeAction) Run() (err error)