Documentation
¶
Overview ¶
Package cache provides methods to install an image cache
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallOptions ¶
type InstallOptions struct {
// The disk where cache partition is present.
CacheDisk string
// Source of the cache from where it will be copied.
CachePath string
// Optional: blkid probe result.
BlkidInfo *blkid.Info
}
InstallOptions contains the options for installing the cache.
func (*InstallOptions) Install ¶
func (i *InstallOptions) Install() error
Install installs the cache to the given disk.
Click to show internal directories.
Click to hide internal directories.