overlay

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package overlay provides an interface for overlay installers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtraOptions

type ExtraOptions map[string]any

ExtraOptions for the overlay installer.

type InstallOptions

type InstallOptions[T any] struct {
	InstallDisk   string `yaml:"installDisk"`
	MountPrefix   string `yaml:"mountPrefix"`
	ArtifactsPath string `yaml:"artifactsPath"`
	ExtraOptions  T      `yaml:"extraOptions,omitempty"`
}

InstallOptions for the overlay installer.

type Installer

type Installer[T any] interface {
	GetOptions(extra T) (Options, error)
	Install(options InstallOptions[T]) error
}

Installer is an interface for overlay installers.

type Options

type Options struct {
	Name             string           `yaml:"name"`
	KernelArgs       []string         `yaml:"kernelArgs,omitempty"`
	PartitionOptions PartitionOptions `yaml:"partitionOptions,omitempty"`
}

Options for the overlay installer.

type PartitionOptions

type PartitionOptions struct {
	Offset uint64 `yaml:"offset,omitempty"`
}

PartitionOptions for the overlay installer.

Directories

Path Synopsis
Package adapter provides an adapter for the overlay installer.
Package adapter provides an adapter for the overlay installer.

Jump to

Keyboard shortcuts

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