cache

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL