Documentation
¶
Index ¶
- func AttachToMountPoint(ctx context.Context, fileSystem afero.Fs, device Entry, ...) error
- func CleanUp(ctx context.Context, fileSystem afero.Fs, device Entry) error
- func CompressImage(ctx context.Context, fileSystem afero.Fs, client *storage.Client) (string, error)
- func DownloadAndVerifyMedia(ctx context.Context, fileSystem afero.Fs, forceOverwrite bool) error
- func DownloadFile(ctx context.Context, fileSystem afero.Fs, fileName string, url string) error
- func ExpandSize(ctx context.Context) error
- func ExtractImage(ctx context.Context) (string, error)
- func FileSystemExpansion(ctx context.Context, device Entry) error
- func Flash(ctx context.Context, device string, entry Entry) error
- func MountMedia(ctx context.Context, fileSystem afero.Fs, device string) error
- func UploadImage(ctx context.Context, fileSystem afero.Fs, fileName string, ...) error
- func ValidateHashes(ctx context.Context, fileName string, mediaBytes []byte, checksumBytes []byte) error
- type DeviceOutput
- type Entry
- type PartitionEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachToMountPoint ¶
func CompressImage ¶
func DownloadAndVerifyMedia ¶
func DownloadFile ¶
func ExpandSize ¶
func UploadImage ¶
Types ¶
type DeviceOutput ¶
type DeviceOutput struct {
Loopdevices []Entry `json:"loopdevices"`
}
func (DeviceOutput) ToMap ¶
func (o DeviceOutput) ToMap() map[string]Entry
Click to show internal directories.
Click to hide internal directories.