Documentation ¶
Index ¶
- func GetCacheImageList(cloudconfig string, oldcfg *config.CloudConfig) []string
- func GetDefaultPartition(device string) string
- func GetStatePartition() string
- func MountDevice(baseName, device, partition string, raw bool) (string, string, error)
- func PvGrubConfig(menu BootVars) error
- func ReadGlobalCfg(globalCfg string) (string, error)
- func ReadSyslinuxCfg(currentCfg string) (string, string, error)
- func RunCacheScript(partition string, images []string) error
- func RunGrub(baseName, device string) error
- type BootVars
- type ImageConfig
- type MenuEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCacheImageList ¶ added in v1.5.2
func GetCacheImageList(cloudconfig string, oldcfg *config.CloudConfig) []string
func GetDefaultPartition ¶ added in v1.5.2
func GetStatePartition ¶ added in v1.4.2
func GetStatePartition() string
func MountDevice ¶ added in v1.0.4
func PvGrubConfig ¶
func ReadGlobalCfg ¶ added in v1.0.4
func ReadSyslinuxCfg ¶ added in v1.0.4
func RunCacheScript ¶ added in v1.5.2
Types ¶
type ImageConfig ¶ added in v1.5.2
type ImageConfig struct {
Image string `yaml:"image,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.