configimage

package
v0.91.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigImage

type ConfigImage struct {
	// contains filtered or unexported fields
}

ConfigImage is an asset that generates a configuration ISO that can be used configure hosts.

func (*ConfigImage) Dependencies

func (a *ConfigImage) Dependencies() []asset.Asset

Dependencies returns the assets on which the Config asset depends.

func (*ConfigImage) Files

func (a *ConfigImage) Files() []*asset.File

Files returns the files generated by the asset.

func (*ConfigImage) Generate

func (a *ConfigImage) Generate(_ context.Context, dependencies asset.Parents) error

Generate generates the configuration image file.

func (*ConfigImage) Load

func (a *ConfigImage) Load(f asset.FileFetcher) (bool, error)

Load returns the ISO from disk.

func (*ConfigImage) Name

func (a *ConfigImage) Name() string

Name returns the human-friendly name of the asset.

func (*ConfigImage) PersistToFile

func (a *ConfigImage) PersistToFile(directory string) error

PersistToFile writes the iso image in the assets folder.

Jump to

Keyboard shortcuts

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