Documentation
¶
Overview ¶
Package ova provides an extractor for extracting software inventories from OVA archives
Index ¶
Constants ¶
View Source
const (
// Name is the unique identifier for the ova extractor.
Name = "embeddedfs/ova"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extractor ¶
type Extractor struct{}
Extractor implements the filesystem.Extractor interface for ova.
func (*Extractor) Extract ¶
func (e *Extractor) Extract(ctx context.Context, input *filesystem.ScanInput) (inventory.Inventory, error)
Extract returns an Inventory with embedded filesystems which contains a mount function for the filesystem in the .ova file.
func (*Extractor) FileRequired ¶
func (e *Extractor) FileRequired(api filesystem.FileAPI) bool
FileRequired checks if the file is a .ova file based on its extension.
func (*Extractor) Requirements ¶
func (e *Extractor) Requirements() *plugin.Capabilities
Requirements returns the requirements for the extractor.
Click to show internal directories.
Click to hide internal directories.