Documentation ¶
Index ¶
- type ConfigImage
- func (a *ConfigImage) Dependencies() []asset.Asset
- func (a *ConfigImage) Files() []*asset.File
- func (a *ConfigImage) Generate(_ context.Context, dependencies asset.Parents) error
- func (a *ConfigImage) Load(f asset.FileFetcher) (bool, error)
- func (a *ConfigImage) Name() string
- func (a *ConfigImage) PersistToFile(directory string) error
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) 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.
Click to show internal directories.
Click to hide internal directories.