configimage

package
v1.14.16-dcf8320c8c4e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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